Skip to main content
shane mattner
Senior
November 20, 2020
Solved

Faster OpenAMP communication to M4 core

  • November 20, 2020
  • 1 reply
  • 850 views

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.

This topic has been closed for replies.
Best answer by Christophe Guibout

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

1 reply

Christophe Guibout
ST Employee
November 26, 2020

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.
shane mattner
Senior
November 26, 2020

Great article, thank you!