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

460件の閲覧回数
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 返信

266件の閲覧回数
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 件の賞賛