cancel
Showing results for 
Search instead for 
Did you mean: 

OpenAMP RPMsg data loss from M4 to M7 core

BGhoshRoy
Associate

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

1 REPLY 1
mƎALLEm
ST Employee

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 on "Accept as Solution" on the reply which solved your issue or answered your question.