Tool/software:
During the RPMSG communication process, the SOC side occasionally fails to receive data sent from the M4. This issue becomes more frequent after waking up from MCU ONLY mode sleep.
The observed phenomenon is that:
1. the SOC side can send data normally and the M4 can receive it,
2. the data sent from the M4 is not received by the SOC side.
We are using the select function to monitor the RPMSG file descriptor (fd) every 3 seconds, which consistently returns a value of 0 which means reach the timeout 3s.
The communication can be restored by executing the following commands:
echo stop > /sys/class/remoteproc/remoteproc0/state echo start > /sys/class/remoteproc/remoteproc0/state
Please help analyze the root cause of this issue.