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.

PROCESSOR-SDK-OMAPL138: PDK CSL UART bug

Part Number: PROCESSOR-SDK-OMAPL138
Other Parts Discussed in Thread: OMAPL138, OMAP-L138

I use PROCESSOR-SDK-RTOS-OMAPL138  05_02_00_10.

In file ti/pdk_omapl138_1_0_7/packages/ti/csl/src/ip/uart/V0/priv/uart.c function UART_operatingModeSelect_v0() have argument "modeFlag" that is unused. This cause OSM_SEL bit in MDR register of UART always remains in reset state.

Thanks,

Petr

  • Hi,

    Let me take a look at that. Does this interferes with some of the examples you're trying to run on OMAP-L138? Which one?

    Best Regards,
    Yordan
  • Hi Yordan,

    it appears in UART_BasicExample_lcdkOMAPL138_c674xDMATestProject. In function UART_initConfig():

    UART_socGetInitCfg(uartTestInstance, &uart_cfg);
    //...
    uart_cfg.operMode = UART13x_OPER_MODE; //my added code
    UART_socSetInitCfg(uartTestInstance, &uart_cfg);

    Changing of "operMode" don't change MDR register during UART_open(). It also breaks some parameters of UART peripheral that is cause of wrong symbols in console.

    Thanks!

    Petr

  • Hi Petr,

    Thank you for reporting this. I will try to reproduce this on my board and then submit a bug report to the development team. I will post a reply here with any updates.

    Regards,
    Sahin