RS232
{{@218#bkmrk-open-iot-and-iiot-ga}}
Link to repositories:
In this example:
UART1 (TX1 and RX1 pins) is configured as a receiverUART2 (TX2 and RX2 pins) is configured as a transmitter
Connection
Connect RS232_1 port to the portsRS232_2 as shownport in the picture.loopback configuration.
Description
InThis thisexample wayshows there is a possibilityhow to dohandle athe testRS232 communication via UART. After flashing both ports should send and adaptread todata workingfrom witheach externalother. devices. On the developer side there is an option to configure serial port parameters.
Default
Console settings:
baud rate: 115200
data bits: 8
parity bits: 0
stop bits: 1
output
After flashing, open serial port monitor and find out if the demo works properly.