Can I check the CPU Usage in S32DS3.5?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can I check the CPU Usage in S32DS3.5?

Jump to solution
804 Views
malove
Contributor IV

Hello,

I am developing a program in the S32DS 3.5 RTD 4.0.0 environment.

I would like to compare the CPU load when using DMA vs. Interrupts. Does S32DS support such functionality?

For reference, I am working in a bare-metal environment with an S32K314 MCU and a PE Micro MULTILINK LC debugger.

Thank you.

0 Kudos
Reply
1 Solution
789 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

I am afraid there’s no such feature in S32DS and there’s no hardware support in ARM core on S32K devices.

View solution in original post

0 Kudos
Reply
2 Replies
790 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

I am afraid there’s no such feature in S32DS and there’s no hardware support in ARM core on S32K devices.

0 Kudos
Reply
777 Views
malove
Contributor IV

Thank you for answer @davidtosenovjan 

I found that the Data Watchpoint and Trace (DWT) feature in the ARM M7 architecture can be used to measure function execution cycles.

Could you provide an example of how to use DWT for cycle measurement on the S32K3XX series?

0 Kudos
Reply