AnsweredAssumed Answered

Measuring the power consumption in a TWR K60 system

Question asked by Markus Krug on Jul 31, 2012
Latest reply on Aug 3, 2012 by Peter Goddard

Hi,

I am just thinking how I can measure the power consumption with the onboard possibilities of a TWR K60 system. Especially I am interested in the power consumption of the K60 on its own. So ideally I want to see its consumption without the consumption of any peripherals. As a method of simplifying it would be OK for me if I can compare different applications/algorithms relatively to each other. So the actual value in W is not what I am looking for.

So I was thinking if it is a possibility to count the clock cycles of the K60 and watch which module inside the K60 is turned on. Multiplying the number of ticks with a different factor for each module that represent its power consumption relatively to the other modules and add all these calculations. This might give me a rough idea about the consumption of different applications. For sure the calculation will not last very long because the clock will exceed the 32Bit integer calculation very fast. But if I restart it immediately again and accumulate the values of each run it might work again.

Any suggestions?

Best Regards

Markus

Outcomes