cancel
Showing results for 
Search instead for 
Did you mean: 

How to let STM32L476 shutdown mode optimization power consumption

starlin lin
Associate II
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.

1 ACCEPTED SOLUTION

Accepted Solutions
john doe
Lead
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'

View solution in original post

3 REPLIES 3
Nesrine M_O
Lead II
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
Lead
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'

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.