Skip to main content
Associate III
November 8, 2023
Solved

Measuring current consumption of STM32L496ZG MCU on an STM32-Nucleo board

  • November 8, 2023
  • 29 replies
  • 9671 views

I'm using Nordic's Power Profiler Kit II to measure current of STM32L496ZG MCU on STM32 Nucleo board. I've tried to measure current using JP5 (IDD) as mentioned in the datasheet but current consumption is too high (163uA) considering the fact that I'm using tickless idle mode example (freertos low power).

I've been following this tutorial: https://www.youtube.com/watch?v=nSLN_WM2TOc&t=929s&ab_channel=STMicroelectronics

As far as connections are concerned, I've connected Vin of PPK II to one pin and Vout to other pin of JP5 of Nucleo board. I don't know if I'm doing anything wrong? 

This topic has been closed for replies.
Best answer by jiangfan

well, I find one old MB1312 NUCLEO-L496ZG. my brief test shows ~6uA STOP1 current at JP5.

pseudo code:

HAL_RCC_DeInit();
delay_ms(1000);
// all GPIO GPIO_MODE_ANALOG
// enter STOP1
HAL_PWREx_EnterSTOP1Mode(PWR_STOPENTRY_WFI);

 

29 replies

Tesla DeLorean
Guru
November 8, 2023

Driving LEDs and other devices? Conflicting pin usage?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
AnsAuthor
Associate III
November 8, 2023

I'm not driving any LED. Secondly, Am I doing something wrong when measuring the current? JP5 is the right way?

jiangfan
ST Employee
November 9, 2023

if I understand correctly, you are using NUCLEO-L496ZG (Nucleo-144, MB1137).

yes, correct to measure current using JP5 (IDD) as mentioned in the datasheet.

current consumption is too high (163uA) - yes 163uA is too high, STOP1 ~7uA & STOP2 ~1.xuA expected. one point needs to take care: ethernet PHY on board will output clock by default, user needs to turn it off to avoid extra Idd current.

AnsAuthor
Associate III
November 9, 2023

Thanks for replying

The nucleo board I'm using doesn't have an Ethernet port. 

jiangfan
ST Employee
November 9, 2023

Are you using NUCLEO-L496ZG (Nucleo-144, MB1137)?

if so, there is ethernet PHY on the board and ethernet PHY will output clock by default - it will lead to extra Idd current.

Piranha
Principal III
November 29, 2023