Software › USART Hello

USART Hello

demo Open · freely redistributable

An original CC0 bare-metal STM32F103 program. It enables GPIOA, AFIO, USART1 and GPIOC in RCC, configures PA9 as the USART1_TX alternate-function output, sets the USART baud-rate register and enables the transmitter (CR1.UE/TE), then prints "Hello from the STM32F103 Blue Pill!" repeatedly — waiting on SR.TXE / SR.TC for each byte — while blinking PC13. Exercises the real USART1 transmit path onto the serial console.

Download ↓

Format: STM32F103 flash image (bare-metal, compiled C)  ·  By: emulators.org  ·  Licence: Public domain (CC0)

Runs on