Files
libopencm3-examples/examples/stm32/f4/stm32f4-discovery/usart_irq/README.md
Karl Palsson be1d296e2f stm32: serial use 115200 baud rate
115200 is a much more sane "default" than 38400.
Instead of a mix of 38400 and 115200, just use 115200 in all places.
There's no reason for modern 32bit cpus to be using such old slow
baudrates.

Tested on f1, f4, l1.  Replaced some old f1 code that predated some
library support code for this.
2019-06-02 20:51:42 +00:00

450 B

README

This example program echoes data sent in on USART2 on the ST STM32F4DISCOVERY eval board. Uses interrupts for that purpose.

The sending is done in a nonblocking way.

Board connections

Port Function Description
PA2 (USART2_TX) TTL serial output (115200,8,N,1)
PA3 (USART2_RX) TTL serial input (115200,8,N,1)