
The STM32 USART_Pol example program shows how to configure and use the USART1 of STMicroelectronics STM32F103xx microcontroller in polling mode.
The configuration of USART1 is 9600 Baud, 8 data bits, 1 stop bit, no parity and no flow control. Retargetting is used to read a character over the serial input and to print out a string to the serial output.
The configuration of the clocks and USART is done using the Configuration Wizard in file STM32_Init.c.
Two µVision targets are available:
The example is tesed with the Keil Evaluation Board MCBSTM32.
Download File