Uart at 4Mbps.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi,

   

Right now, I am using fx3 uart at baud rate of 115200 for file transfer. I want to use uart at much higher baud rate 4Mbps. I change the baud uart config as given below(also changed buad rate on imx Uart to 4Mbps). But i am not able to get desired result, almost half of data packet lost.

   

uartConfig.baudRate = CY_U3P_UART_BAUDRATE_4M;

   

uartConfig.stopBit = CY_U3P_UART_ONE_STOP_BIT;

   

uartConfig.parity = CY_U3P_UART_NO_PARITY;

   

uartConfig.txEnable = CyTrue;

   

uartConfig.rxEnable = CyFalse;

   

uartConfig.flowCtrl = CyFalse;

   

uartConfig.isDma = CyFalse;

   

I even try at lower baud rate , it is working at 230400. But at baud rate higher than 230400 it is not working. Do i need to make other changes in uart configuration apart from baud rate to achieve desired rate.

   

Please help me in this regard.

0 Likes
1 Reply
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

neerajs,

   

4MB may be not quite feasible, but 2MB is. You may find partial answer in this thread:

   

http://www.cypress.com/forum/psoc-5-device-programming/undocumented-features-kitprog-cy8ckit-059

   

 

   

There is another high speed TX_UART implementation in PSoC Sensei blog, which claims to be faster:

   

http://www.cypress.com/blog/psoc-sensei-blog/high-speed-transmit-uart

0 Likes