how to observe cycle wise current taken by assembly instruction? I am using lpc 54102

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

how to observe cycle wise current taken by assembly instruction? I am using lpc 54102

461 次查看
v_a_kulkarni
Contributor I

I am interested in finding out current taken by microcontroller in each cycle. How to do this with lpc 54102 board?

0 项奖励
1 回复

267 次查看
lpcxpresso_supp
NXP Employee
NXP Employee

For Cortex-M3 and M4 parts, the LPCXpresso IDE "Registers" view has cycle and cycledelta registers displayed in it which will give you cycle counts. And you can also access various counts within the SWO Trace functionality : https://community.nxp.com/message/630730 

But with regards to power measurement, the IDE does provide a Power Measurement view - as detailed in the supplied LPCXpresso IDE Power Measurement Guide - which will work with the LPCXpresso54102 board. However this can't measure down to the level of single cycles / assembler instructions - its much more of an average over a period of time.

Regards,

LPCXpresso Support

0 项奖励