Skip to main content
starlin lin
Associate
July 12, 2017
Solved

How to let STM32L476 shutdown mode optimization power consumption

  • July 12, 2017
  • 3 replies
  • 976 views
Posted on July 12, 2017 at 12:18

Dear Sir:

I am using STM32L476 and want enter shutdown mode to save power.

Right now I had call 

MX_GPIO_Init();//this is set all GPIO to Pullup and set Input, 

HAL_PWREx_EnterSHUTDOWNMode();

and now the power consumption only 98uA,

But spec write Shutdown mode is 8 nA or 260nA(with RTC)

How can I reduce my power to nA.

PS:I have try disable PVM and  __HAL_PWR_CLEAR_FLAG(PWR_FLAG_WUFx), but still same.

    This topic has been closed for replies.
    Best answer by john doe
    Posted on July 12, 2017 at 13:12

    L4 low power overview

    http://www.st.com/resource/en/application_note/dm00148033.pdf

    L4 Optimizing power and performance

    http://www.st.com/resource/en/application_note/dm00216518.pdf

    L4 reference manual

    http://www.st.com/resource/en/reference_manual/dm00083560.pdf

    L4 programming manual

    http://www.st.com/resource/en/programming_manual/dm00046982.pdf

    there's also examples in the Cube repository

    ls STM32Cube_FW_L4_V1.8.1/Projects/STM32L476RG-Nucleo/Examples/PWR/PWR_

    PWR_LPRUN/          PWR_LPSLEEP/        PWR_SHUTDOWN/       PWR_STANDBY/        PWR_STOP1/          PWR_STOP2/          

    PWR_LPRUN_SRAM1/    PWR_ModesSelection/ PWR_SLEEP/          PWR_STANDBY_RTC/    PWR_STOP1_RTC/      PWR_STOP2_RTC/  

    Basically you should search the pdf files above for terms like '_WFI' and 'SLEEPDEEP'

    3 replies

    Nesrine M_O
    Associate
    July 12, 2017
    Posted on July 12, 2017 at 12:59

    Hi

    starlin2@gmail.com

    ,

    I recommend you to have a look to ready example under the STM32L4 firmware package:

    STM32Cube_FW_L4_V1.8.0\Projects\STM32L476RG-Nucleo\Examples\PWR\PWR_SHUTDOWN

    -Nesrine-

    john doe
    john doeBest answer
    Senior III
    July 12, 2017
    Posted on July 12, 2017 at 13:12

    L4 low power overview

    http://www.st.com/resource/en/application_note/dm00148033.pdf

    L4 Optimizing power and performance

    http://www.st.com/resource/en/application_note/dm00216518.pdf

    L4 reference manual

    http://www.st.com/resource/en/reference_manual/dm00083560.pdf

    L4 programming manual

    http://www.st.com/resource/en/programming_manual/dm00046982.pdf

    there's also examples in the Cube repository

    ls STM32Cube_FW_L4_V1.8.1/Projects/STM32L476RG-Nucleo/Examples/PWR/PWR_

    PWR_LPRUN/          PWR_LPSLEEP/        PWR_SHUTDOWN/       PWR_STANDBY/        PWR_STOP1/          PWR_STOP2/          

    PWR_LPRUN_SRAM1/    PWR_ModesSelection/ PWR_SLEEP/          PWR_STANDBY_RTC/    PWR_STOP1_RTC/      PWR_STOP2_RTC/  

    Basically you should search the pdf files above for terms like '_WFI' and 'SLEEPDEEP'

    starlin lin
    Associate
    July 13, 2017
    Posted on July 13, 2017 at 08:30

    Thx a lot, after install SW4STM32 and STM32Cube_FW_L4_V1.8.0 to reference,

    Now I can see nA in my board.