This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

UlinkPlus - Consumption with system analyzer

Hello,

I work on Nucleo-L496ZG board. I debug my application with Arm Ulink Plus probe, through SWD connection. I use SWD adapter and I supply it with 3.3V from my Nucleo board.

I would like to measure the consumption of the microprocessor. I based my measurement on UlinkPlus quick start guide "Power Measurement".  I connected the shunt from the UlinkPlus probe to the IDD pin of my nucleo board.

When I debug my application, I open the system analyzer, run my application. At this point, I can see the system part with "Core Clock"  and the Exceptions part with "Thread Mode" and "SysTick" running. But nothing on Consumption part with "Current" and "Voltage".

Moreover, in the UlinkPlus window, "Enable" is checked and when I stop the application a current and a power are displayed. But there is "0" in "Average Current", "Charge consumed" and "Time measured". 

When I run the command in Keil "ULINK_I_AVG" it returns 0.

Current and Voltage are not displayed  in "Energy measurement without debug" mode.

I join a screen after running and stop my application. The trace and .ini file are set up as UlinkPlus quick start guide "Power Measurement". 

Is there a configuration I missed to enable tracing of current and voltage ?

Thank you for your time