Software › USART Hello
USART Hello
demo Open · freely redistributable
An original CC0 bare-metal CH32V307 program. It enables GPIOA, AFIO and USART1 in RCC, configures PA9 as the USART1_TX alternate-function output, sets the USART baud register and enables the transmitter (CTLR1.UE/TE), then prints "Hello from the CH32V307!" repeatedly — waiting on STATR.TXE for each byte — while blinking PA0. Exercises the real USART1 transmit path onto the serial console.
Format: CH32V307 flash image (bare-metal, compiled C) · By: emulators.org · Licence: Public domain (CC0)