cancel
Showing results for 
Search instead for 
Did you mean: 

Hi, I have a NOCLEO of STM32l433, how can I calculate CPU usage in the real time? do you have a HAL library or something else?

kpele
Associate
 
2 REPLIES 2
Pavel A.
Evangelist III

Define CPU usage ?

-- pa

I use DWT_CYCCNT to benchmark code execution times, and idle task usage.

Driving GPIO lines can also provide insight via a scope.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..