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.

AM5729: Serial output affects real-time performance

Part Number: AM5729

sdk:ti-processor-sdk-linux-rt-am57xx-evm-06.03.00.106

I created a 1ms real-time thread to calculate whether the timing period is correct in the thread. I found that if the serial port has information output to the console, it will have a great impact on the real-time performance. The effect disappears after disabling the serial port output. I guess that the serial port interruption will affect the real-time thread. Specifically, I want to know why and how to solve it

  • Hi,

    UART console outputs are bound to consume time. As UART is a slower peripheral & you are scheduling threads in the order of 1 milli Second.
    This is bound to affect the performance. If the intent is check the timing then I recommend storing the timestamp values to an array &
    print it after all the iterations are done so that you are not impacting the RT performance.

    Best Regards,
    Keerthy