Can I check the CPU Usage in S32DS3.5?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Can I check the CPU Usage in S32DS3.5?

跳至解决方案
832 次查看
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 项奖励
回复
1 解答
817 次查看
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 项奖励
回复
2 回复数
818 次查看
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 项奖励
回复
805 次查看
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 项奖励
回复