Hi,
I am working on the UART in DMA mode (omap-l137 evaluation board). I have successfully run the UART sample application that comes with the pspdrivers_01_30_00_06 package (in directories pspdrivers_01_30_00_06\packages\ti\pspiom\examples\evmOMAPL137\uart\edma). The example runs fine with bitrates up to 115.2kBaud, but we want to increase this to up to 2MBaud.
In the "OMAPL137 BIOS PSP User guide" (http://downloads.ti.com/dsps/dsps_public_sw/psp/BIOSPSP/01_30_00_06/content/OMAPL137_BIOSPSP_Userguide.pdf), page 21, paragraph 2.3.3 we have:
'The UART driver does not impose a restriction configuring the UART peripheral for baudrates greater than 115200 baud. However, when configuring for higher baudrates, one needs to tweak the parameter rxThreshold and softTxThreshold.'
I have tried to tweak these parameters a bit, but have not managed to increase the baudrate yet (currently I only try to increase it to 230.4kBaud):
uartParams.baudRate = Uart_BaudRate_230_4K; //Have added this in enum Uart_BaudRate in Uart.h
uartParams.softTxFifoThreshold = x; //x can be a number >=1
uartParams.rxThreshold = Uart_RxTrigLvl_xx //xx can be 1, 4, 8, 14
I receive some garbage on the terminal, but it is not decoded correctly. Does it exist a sample program for running the UART in higher speeds? Can anyone help me out here?
Best regards,
Tarjei