Skip to main content
FPini.1
Associate II
November 8, 2021
Solved

How to know if the openstlinux is still running externaly when is in the sleep mode

  • November 8, 2021
  • 4 replies
  • 1680 views

Hi,

I have been working with the stm32mp157d-dk1, and im trying to keep a circuit on, waiting to a digital signal output produced by a script, but when i put the board on sleep mode, the signal automatically power off because the gpio module turns off too.

Is there any way to know, natively, if the system still running, although it is sleep mode?

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

Hi,

Please look at PWR_ON pin behavior in the Product Reference manual. This pin is VDD when the system is running and 0V when in system Standby state (even if VDDCORE is shutdown, which is put all GPIOs in high-z).

Unfortunately, the PWR_ON signal is not easily available on the DK1 board (only on R302).

Regards.

4 replies

PatrickF
PatrickFBest answer
ST Employee
November 9, 2021

Hi,

Please look at PWR_ON pin behavior in the Product Reference manual. This pin is VDD when the system is running and 0V when in system Standby state (even if VDDCORE is shutdown, which is put all GPIOs in high-z).

Unfortunately, the PWR_ON signal is not easily available on the DK1 board (only on R302).

Regards.

In order to give better visibility on the answered topics, please click on 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent
FPini.1
FPini.1Author
Associate II
November 9, 2021

what consequences does it bring if i disconnect the power source when the dk1 is on sleep mode?

PatrickF
ST Employee
November 9, 2021

Hi,

If you cut the power, the platform will loose it's state and when you reapply the power, a cold reboot is executed. Behavior is very close than pressing the reset button.

Note that as per license, development boards are intended for evaluation purpose only and cannot be used/sell in a product.

Regards.

In order to give better visibility on the answered topics, please click on 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent
PatrickF
ST Employee
November 22, 2021

In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

In order to give better visibility on the answered topics, please click on 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent