RS232/RS485
STM32 Open IoT and IIoT Gateways (P10 - P12)
Link to repositories:
This script tests internal communication between serial ports with the possible lowest (2400) and highest (115200) baudrate.
For this example, connect each port's transceiver with the receiver:
Default settings:
- baud rate: 115200
- data bits: 8
- parity bits: 0
- stop bits: 1
- receiver timeout: 3s
If the connection is right, you should see the messages shown below for each U(S)ART:
If something goes wrong with the connection, you will see the message for a specific port like below: