Skip to main content

RS232

Repositories:

In this example:

  • UART1 (TX1 and RX1 pins) is configured as a receiver
  • UART2 (TX2 and RX2 pins) is configured as a transmitter

Connect the ports as in the picture.

e196f8d6-9e30-461e-a231-97859cbfbf95.png

In this way there is a possibility to do a test and adapt to working with external devices. On the developer side there is an option to configure serial port parameters.

Default settings:

  • baud rate: 115200
  • data bits: 8
  • parity bits: 0
  • stop bits: 1

After flashing, open serial port monitor and find out if the demo works properly.

280a6ba6-1229-4181-b95e-0ea9ec9c9a8f.png