cancel
Showing results for 
Search instead for 
Did you mean: 

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

FPini.1
Associate II

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?

1 ACCEPTED SOLUTION

Accepted Solutions
PatrickF
ST Employee

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 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

4 REPLIES 4
PatrickF
ST Employee

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 'Accept as Solution' on the reply which solved your issue or answered your question.
FPini.1
Associate II

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

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 'Accept as Solution' on the reply which solved your issue or answered your question.
PatrickF
ST Employee

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 'Accept as Solution' on the reply which solved your issue or answered your question.