Skip to main content
kpele
Visitor II
July 30, 2018
Question

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?

  • July 30, 2018
  • 2 replies
  • 626 views

..

    This topic has been closed for replies.

    2 replies

    Pavel A.
    Super User
    July 30, 2018

    Define CPU usage ?

    -- pa

    Tesla DeLorean
    Guru
    July 30, 2018

    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 VenmoUp vote any posts that you find helpful, it shows what's working..