jfajardo
Hello everyone,
I want to use an Arduino Uno Q with OpenPLCv4 on the STM32 and activate the Modbus-RTU slave. I'm also using Nodered in a Docker container on the microprocessor side, to use it as both a master and a gateway. I also want to run the OpenPLCv4 runtime natively, for more complex ST codes and OPCUA server.
My question is how to establish internal serial communication, or if there's another method.
Thanks
Reply 0 0
thiagoralves
The Uno Q has an internal serial link between the STM32 and the Qualcomm CPU (running Linux). However, this link is used by the Arduino bridge protocol. To be able to use the serial port you will first need to disable Arduino bridge using systemctl stop / disable commands. Then you can upload one program to the STM32 side and another to the Linux side and make them communicate over Modbus (enable Modbus RTU on Serial1 on program running on the STM32 side and add remote device Modbus RTU on the program running on the Linux side)
Reply 0 0
Reply