Skip to main content
IYetk
Associate III
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

Olivier GALLIEN
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

Olivier GALLIEN 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.
IYetk
IYetkAuthor
Associate III
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.

Olivier GALLIEN
Olivier GALLIENBest answer
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

Olivier GALLIEN 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.
IYetk
IYetkAuthor
Associate III
August 23, 2019

thank you, I see.

Halil