Skip to main content
Visitor II
April 10, 2026
Solved

OpenAMP RPMsg data loss from M4 to M7 core

  • April 10, 2026
  • 1 reply
  • 113 views

Hi,

I am using STM32H755 where M7 and M4 runs bare-metal firmware using OpenAMP (RPMsg).

Sampling rate is set to 250 SPS. The data is sent from M4 to M7 using OPENAMP_send() function.

Observation: Data loss of approximately 10% is observed during transmission from M4 to M7. The loss does not follow a fixed pattern.

Questions:

- Is this an expected behavior with RPPMsg/OpenAMP at this rate?

- How can I ensure reliable transfer without data loss?

 

Thanks & Regards,

Bhagyashree Ghosh Roy

Best answer by mƎALLEm

Hello,

Ensure the memory shared between the cores is non cacheable from CM7 side.

Please refer to the OpenAMP examples provided in the H7 cube:

https://github.com/STMicroelectronics/STM32CubeH7/tree/master/Projects/STM32H747I-EVAL/Applications/OpenAMP

 

1 reply

mƎALLEm
mƎALLEmAnswer
Technical Moderator
April 10, 2026

Hello,

Ensure the memory shared between the cores is non cacheable from CM7 side.

Please refer to the OpenAMP examples provided in the H7 cube:

https://github.com/STMicroelectronics/STM32CubeH7/tree/master/Projects/STM32H747I-EVAL/Applications/OpenAMP

 

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.