Hello,
I am trying for the first time RTT_printf() function. It seems to work except one thing.
In our firmware (device STM32L451), we're going in sleep mode once the tasks (O/S FreeRTOS) are completed. I noticed that I need to wait around ~ one second to make sure all output RTT buffer is completely transferred. It's not real time! I am running with a J-Link at 4 MHz.
WHat I did is transfered a small string... "XXXXX Task" at each 2 ms during 3 or 4 seconds before going in sleep mode.
I would like to know if there's a way to make it faster and do not add any delay in my code before to go in sleep?
Thanks !
Christian
I am trying for the first time RTT_printf() function. It seems to work except one thing.
In our firmware (device STM32L451), we're going in sleep mode once the tasks (O/S FreeRTOS) are completed. I noticed that I need to wait around ~ one second to make sure all output RTT buffer is completely transferred. It's not real time! I am running with a J-Link at 4 MHz.
WHat I did is transfered a small string... "XXXXX Task" at each 2 ms during 3 or 4 seconds before going in sleep mode.
I would like to know if there's a way to make it faster and do not add any delay in my code before to go in sleep?
Thanks !
Christian
The post was edited 1 time, last by spyhabs2021 ().