AnsweredAssumed Answered

Find out the instruction address for which the current has been measured in Power Measurement Tool

Question asked by HIMANSHU DOSHI on Sep 15, 2017
Latest reply on Sep 24, 2017 by jeremyzhou

Hello to all,

 

Since we all know the power measurement tool measured the current consumption due to the instruction execution. My aim is to find out the instruction address on which it has measured the current. Or in other words, on 12MHz, and sampling rate for the tool is 200000ksps when we measure the current, the tool gives us the instances at every 5 microseconds. But, is it possible to get the instruction address location for those instances. Since I am working on the effect of instruction address over the current consumption. 

 

For better understanding, I am posting an example code and the corresponding measurement data from the power measurement tool. In the example code, we have bunch of NOP and ADD instruction. And we know their corresponding instruction address. But, how to find out on which address location we have got the peak or the minimum value from the measurement data.

example code : 

NOP

...

NOP

ADD

...

ADD

NOP

...

NOP

 

Example data measured from Power Measurement Tool

 

So, while the power measurement tool is measuring, is there any way to get the corresponding instruction address for the measured instances and I am using LPCXpresso 54114.

 

Kindly, help me out with this. Since I am new to this field.

 

Thanking you once again,

 

Regards,

Himanshu

 

Outcomes