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.

TDA4VM: Performance of MCU UART log is bad.

Part Number: TDA4VM

Hi , experts.

I use vision_apps on TDA4VM at following environment.

MCU1_0:RTOS (my app)
MPU1_0:Linux (vision_apps)

I want to use MCU UART log for debug , but I have one problem.

MCU UART log output too slow.

When UART_printf() called once , it took 30~35ms.

Is it limitation of perfomance? Can I improve it?

If possible , please tell me how to modify it.

SDK:

ti-processor-sdk-rtos-j721e-evm-08_00_00_12
ti-processor-sdk-linux-j7-evm-08_00_00_08

  • It was solved.

    Following delay is influenced.

    -----

    (PDK)packages\ti\drv\uart\src\v1\UART_v1.c

    static uint32_t UART_charPut_v1(UART_HwAttrs const *hwAttrs, uint8_t data, uint32_t *timeout)
    {

    ...

    #ifndef SIM_BUILD
    (void)UART_osalDelay(1U); 
    #endif

    ...

    }

    -----