Power Consumption Calculation

Hello,

Are the traces resulting from the capturing considered power traces or voltage? I want to calculate the energy consumption. What I did was I treated the traces as voltage traces^2 divided it by 0.22(shunt resistance I assumed) then I got the area under the graph. Is that correct? I am using UFO Board and CWLITE Standalone.

Thanks

Unfortunately you can’t really do that:

Can you please explain more?

what calibration is required?

The calibration that one would do with say an oscilloscope.
In side-channel attacks we only really care about relative differences in measurements; we don’t care about absolute measurements. That’s why CW isn’t meant to be used that way.

what are differences in measurements relevant to? Like what is the first power trace that we measure the difference according to? Idle starting power=0 or power=rated?

Does that mean that the traces are voltage differences traces compared to the 3.3V? I am using STM32F3 on UFO board

Very roughly yes/maybe, but not really. Google “AC coupling vs DC coupling” to learn more. ChipWhisperer’s measurements are best considered dimensionless.
If you want to measure power/current/power properly, then there are tools for this purpose, for example https://www.joulescope.com/ (no affiliation).

OK I get you. Thanks for explaining.