Artifacts exploring deterministic execution, hardware proximity, and modularity grounded in physical reality.
Switching the CH32V003 System Clock to 48 MHz
Switching the CH32V003 System Clock to 48 MHz The previous article, Bare Assembly Bring-Up on the CH32V003, ended with the smallest useful program: reset vector, stack, .bss, GPIO, and an LED blink loop. That program can run from the reset clock. For a first blink, that is enough. The delay loop is not precise, and it does not need to be. The next step is to put the chip on a known system clock. On a CH32V003 board with a 24 MHz HSE crystal, the usual target is 48 MHz through the PLL. ...