Nucleo F411RE - Simple USART example

Same as the one for other boards
This commit is contained in:
Chuck McManis
2015-02-16 20:52:00 -08:00
committed by Piotr Esden-Tempski
parent 8019726f51
commit 4837775449
3 changed files with 131 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
# README
This example program sends repeating sequence of characters "0123456789" on
USART2 on the ST Nucleo F411RE eval board.
The sending is done in a blocking way.
Note that the Nucleo board exports the serial port as an ttyACM device on
Linux or a COM port on Windows. On Linux, if you can locate the correct
serial port as
/dev/serial/by-id/usb-STMicroelectronics_STM32_STLink_066CFF515056805087171825-if02
(note there will be differences based on the serial number of your board)
this may also show up as /dev/ttyACM0 if it was the first serial port
enumerated, if you have additional serial devices attached to the USB port
of your system they may show up as additional ttyACM1/ttyACM2/... etc.
Connect to the port using `screen /dev/ttyACM0 115200` where you replace
the serial port with the one for your system.