cancel
Showing results for 
Search instead for 
Did you mean: 

Faster OpenAMP communication to M4 core

shane mattner
Associate III

STM32MP157-DK2 with Buildroot image.

I'm running a Qt app on the A7 core and using QSerial to talk to the M4 core using OpenAMP to talk through ttyRPMSG0. Right now it takes ~10ms to send/receive from Qt to M4. Is there anything I can do to decrease this time to say 1ms?

The ttyRPMSG0 port has a baud rate of 38400, but I don't see a way to increase that.

Any ideas would be appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
Christophe Guibout
ST Employee

Hi @shane mattner​ ,

If you have a big amount of data to transfert, the following wiki article could help to improve performances : How to exchange large data buffers with the coprocessor - example.

BR,

Christophe

In order 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.

View solution in original post

2 REPLIES 2
Christophe Guibout
ST Employee

Hi @shane mattner​ ,

If you have a big amount of data to transfert, the following wiki article could help to improve performances : How to exchange large data buffers with the coprocessor - example.

BR,

Christophe

In order 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.

Great article, thank you!