FreeRTOS Task Runtime Statistics for NXP i.MX RT1064 @McuOnEclipse @NXP
FreeRTOS can report the CPU percentage spent in each task. Some extra work is needed to get this information though. In an MCU on Eclipse article, they show how to do this for the NXP i.MX1064.
…the RTOS needs an extra timer to measure task execution time. This timer value is checked at task context switch time and stored in the task control block information section. With little overhead, the RTOS knows how the time is spent between the tasks (this does not separate out time spent in interrupts).
In the article, the methodology is shown using the NXP i.MXRT1064 EVK board. The example project used is available on GitHub.
Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!
Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: A New Arduino MicroPython Package Manager, How-Tos and Much More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi
EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey