Skip to main content
Graduate II
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

    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

    Graduate II
    November 26, 2020

    Great article, thank you!