Software › USART Hello

USART Hello

demo Open · freely redistributable

An original CC0 bare-metal CH32V003 program. It enables GPIOD, AFIO and USART1 in RCC, configures PD5 as the USART1_TX alternate-function output, sets the USART baud register and enables the transmitter (CTLR1.UE/TE), then prints "Hello from the CH32V003!" repeatedly — waiting on STATR.TXE for each byte — while blinking PD0. Exercises the real USART1 transmit path onto the serial console.

Download ↓

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

Runs on