cancel
Showing results for 
Search instead for 
Did you mean: 

Calculate CPU Active % in a debug build with firmware based on STM32U575, FreeRTOS, and STM32CubeIDE

mdalal
Associate III

I have built a basic firmware for STM32U575 nucleo board with FreeRTOS with a feasibility of the CPU going into either sleep or stop modes. I want to calculate its CPU active % for a debug session.

Can you suggest how to get the active CPU % reliably and accurately in STM32CubeIDE?

3 REPLIES 3
Joe WILLIAMS
ST Employee

Hi mdalal

 

This post has been escalated to the ST Online Support Team for additional assistance.  We'll contact you directly.

Regards

Joe

STMicro Support

mdalal
Associate III

Hi, 

Thanks for the links. From the links, I understand that you have given 2 options:

- Use traceanalyzer with paid license - I do not have it

- Task execution % --> Can it give correct info when in low power mode (stop 3)? For me, the IDLE task active % is where the CPU is inactive and the remaining time is when the CPU is active. 

Can you clarify?