cancel
Showing results for 
Search instead for 
Did you mean: 

What could cause a long wakeup time with FreeRTOS? (found what was breaking SWV profiling)

PCout.1
Associate

I followed the linked tutorial, implementing STOP2 with a tickless idle, toggling a GPIO pin and calling osDelay in the main task repeatedly. The processor remains awake for 15ms with a core clock of 64MHz, and increasing the core clock somehow increases that time. What could be causing this?

We have an application that just uses interrupts, no OS, and it takes microseconds to wake up and re-enter STOP2.

Thank you.

edit: previously I asked what could cause PC sampling for SWV profiling to stop working. Turns out the PB3 pin used for JTDO-SWO was being set to analog.

0 REPLIES 0