Skip to main content
Visitor II
November 8, 2021
Solved

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

  • November 8, 2021
  • 3 replies
  • 1633 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.

    3 replies

    PatrickFAnswer
    Technical Moderator
    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.

    FPini.1Author
    Visitor II
    November 9, 2021

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

    Technical Moderator
    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.

    Technical Moderator
    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'