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

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

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

439 Views
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 Kudos
1 Reply

245 Views
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 Kudos