2019-08-20 04:41 PM
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
Solved! Go to Solution.
2019-08-23 12:44 AM
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
2019-08-22 02:28 AM
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
2019-08-22 09:05 AM
I 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.
2019-08-23 12:44 AM
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
2019-08-23 01:38 AM
thank you, I see.
Halil