Suspend to RAM with RTC as Wakeup Source while a Program is Running on M7

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Suspend to RAM with RTC as Wakeup Source while a Program is Running on M7

684 Views
AneeshKHDR
Contributor I

Hi everyone,

I'm working on the NXP S32G274A-RDB2 board and trying to achieve Suspend to RAM (STR) while a program is running on the M7 core. The program running on M7 blinks the red and blue LEDs alternately until Inter-Processor Communication (IPC) is established.

To test STR, I am using the following command:

echo; date; echo; rtcwake -d rtc0 -m mem -s 10; echo; date

Observations:

  • When there is no program running on M7, the above command successfully puts the board to sleep and wakes it up after 10 seconds.
  • However, when the M7 program is running, the STR command does not put the board to sleep. Instead, the user space freezes, and the system does not enter the expected low-power state.

Has anyone encountered a similar issue? Is there a known dependency between the A53 suspend process and M7 execution? Any insights on handling M7 execution during STR would be appreciated.

Thanks in advance!

running a program on M7 corerunning a program on M7 coreuser space freezes on STR commanduser space freezes on STR command

0 Kudos
Reply
1 Reply

674 Views
carlos_o
NXP TechSupport
NXP TechSupport

Hi @AneeshKHDR,

I'm working on your issue, I'll come ASAP with further information.

0 Kudos
Reply