Skip to main content
Visitor II
September 16, 2019
Solved

to exit low power mode - stm32mp157c

  • September 16, 2019
  • 1 reply
  • 832 views

Hello,

I read the related wiki page and low power mode document.

I can enter low power mode with the command "echo mem > /sys/power/state". Thats great.

My M4 program is still running in the background. I am reading a sensor in this program. If it reads above 30 Celcius or the user touches the touch screen, I want the MPU to exit low power mode.

What should I exactly do ?

With what should I play in m4 code ?

tnx

    This topic has been closed for replies.
    Best answer by Olivier GALLIEN

    Hi @IYetk​ 

    You might configure the source of wakeup matching your need.

    eg you can refer to Cube Package exemple "OpenAMP_TTY_echo_wakeup"

    Use case "2) System Run Mode with CA7 in CStop and CM4 in CRun" you have an example to wakeup A7 from M4 message. ( might fit your >30° use case)

    Guess it can also give you some clue to then set wakeup source for Touch Screen event.

    Olivier

    1 reply

    Technical Moderator
    September 16, 2019

    Hi @IYetk​ 

    You might configure the source of wakeup matching your need.

    eg you can refer to Cube Package exemple "OpenAMP_TTY_echo_wakeup"

    Use case "2) System Run Mode with CA7 in CStop and CM4 in CRun" you have an example to wakeup A7 from M4 message. ( might fit your >30° use case)

    Guess it can also give you some clue to then set wakeup source for Touch Screen event.

    Olivier

    IYetkAuthor
    Visitor II
    September 16, 2019

    thank you very much