RPMsg fails to initialise after A7 goes to suspend mode.

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

RPMsg fails to initialise after A7 goes to suspend mode.

675 Views
harish_g
Contributor III

It has been noted that unless the M4 core is put to STOP mode, IMX7 won't go to suspend mode. So we created a FreeRTOS application which gets the request from linux through RPMsg and puts M4 to STOP mode, after which the A7 core can go to suspend. 

While this has been working properly, the problem arises when we try to put the M4 to STOP again in the same boot. When A7 wakes up from suspend, M4 reboots from the beginning. As this happens, all RPMsg communications fail. So from this point on, it is impossible to take A7 to suspend mode, due to the always alive M4 core.

Is there any way to restart communication with the M4 core, after M4 reboots or is there a way to prevent M4 from rebooting entirely?

Labels (3)
0 Kudos
1 Reply

541 Views
igorpadykov
NXP Employee
NXP Employee

Hi harish

>Is there any way to restart communication with the M4 core, after M4 reboots or

>is there a way to prevent M4 from rebooting entirely?

seems linux low power driver (its sources description one can find in sect.21.1.2

Source Code Structure attached Linux Manual) stops M4 for achieving lowest power

consumption. One can try to modify sources, just gating M4 clock as described in

Table 5-5. Low Power Mode Definition i.MX7D Reference Manual. However this may

affect power consumption in suspend mode.

http://cache.nxp.com/files/32bit/doc/ref_manual/IMX7DRM.pdf

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos