This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/TMS320C6748: UART driver

Part Number: TMS320C6748
Other Parts Discussed in Thread: OMAPL138

Tool/software: TI-RTOS

Hi,

I am developing a driver for UART serial port. for the TMS320C6748 I am only using the UART 2.

I am using for debugging the TI XDS110 Debug Probe and my USB driver Works correctly during the debugging.

However when I load my .bin in NAND memory to test my driver, my driver have some problem When the application is receiving  a character,  a frame error is raised always (Receiver line status interrupt is enabled), The carácter is read correctly from the register althought the error is raised.

The transmmit of  a character works correctly.

I believe I have some problem in my UART configuration and the stop bi is not correctly detected.

My UART configuration is as follow:

#define SOC_SYSCLK_1_FREQ                    (456000000)

....

        UARTConfigSetExpClk(SOC_UART_2_REGS, SOC_UART_2_MODULE_FREQ,
                            BAUD_115200, config,
                            UART_OVER_SAMP_RATE_16);

        /*Enabling the FIFO and the Tx and Rx FIFOs*/
        UARTFIFOEnable(SOC_UART_2_REGS);

        /*Setting the UART Receiver Trigger Level*/
        UARTFIFOLevelSet(SOC_UART_2_REGS, UART_RX_TRIG_LEVEL_1);

Thank you for your help.