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.
4MB may be not quite feasible, but 2MB is. You may find partial answer in this thread:
There is another high speed TX_UART implementation in PSoC Sensei blog, which claims to be faster: