cancel
Showing results for 
Search instead for 
Did you mean: 

How to put device into shutdown mode? STM32L4R5ZI

VPuro
Associate

I am trying to modify the example given for neucleo - LP14R5ZI and port for my custom board.

User button in example is similar to PA0 in my code

and similarly for LED

The device does not go into shutdown mode. I have attached main.c of my modified code

1 REPLY 1
Mohamed Aymen HZAMI
ST Employee

Hello,

Try to put only the HAL_PWREx_EnterSHUTDOWNMode () function to see if it works or not !.

Best Regards,

Mohamed Aymen.