Skip to main content
Visitor II
August 20, 2019
Solved

data exchange OpenAMP_TTY_echo

  • August 20, 2019
  • 3 replies
  • 892 views

Hello,

I am reimplementing the example application OpenAMP_TTY_echo in STM32MP157C-DK2.

I want to exchange numerical data between M4 and dual A7.

How can I do it ? which structure, channel or interface ?

thanks in advance

    This topic has been closed for replies.
    Best answer by Olivier GALLIEN

    Hi @IYetk​ 

    Thanks for sharing project details. Very interesting.

    I confirm OpenAMP_TTY_echo is the good starting point to set A7/M4 communication channel as you which.

    Formating 3 numerical values into string and send it with VIRT_UART_Transmit on periodical time might be straight forward.

    Olivier

    3 replies

    Technical Moderator
    August 22, 2019

    Hi @IYetk​ 

    Usage of Virt_Uart interface as in OpenAMP_TTY_echo exemple does not prevent to exchange numerical data.

    Could you please elaborate further your concern ?

    Olivier

    IYetkAuthor
    Visitor II
    August 22, 2019

    0690X00000AA8tEQAT.pngI want to read 3 numerical values (temp,humidity,pressure) from bosch sensor BME280 on the M4 side and send them to A7 side periodically for example every 0.5 second. Then i will print them out to the screen via a QT application on A7 side. User (me) will watch these data on the screen and will be able to send on/off command (0/1) via QT application on A7 for a 5v vantilator which is controlled by M4. M4 will receive this command and turn it on/off.

    Technical Moderator
    August 23, 2019

    Hi @IYetk​ 

    Thanks for sharing project details. Very interesting.

    I confirm OpenAMP_TTY_echo is the good starting point to set A7/M4 communication channel as you which.

    Formating 3 numerical values into string and send it with VIRT_UART_Transmit on periodical time might be straight forward.

    Olivier

    IYetkAuthor
    Visitor II
    August 23, 2019

    thank you, I see.

    Halil