Skip to main content
VPuro
Visitor II
April 29, 2019
Question

How to put device into shutdown mode? STM32L4R5ZI

  • April 29, 2019
  • 1 reply
  • 679 views

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

This topic has been closed for replies.

1 reply

Mohamed Aymen HZAMI
ST Employee
May 20, 2019

Hello,

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

Best Regards,

Mohamed Aymen.