Skip to content
A project ofgwark.dev

WCH · Microcontroller

CH32V003 RISC-V Microcontroller

A 48 MHz RISC-V part that costs about ten cents, runs from 2.7 to 5.5 V and needs one capacitor to start. Programmed over a single wire.

Cheat sheet (SVG)
Logic level
2.7-5.5 V
Package
TSSOP-20 (F4P6)

1.Pinout diagram

Highlight a signalhover to preview, click to keep

Pins 1-10

CH32V003

Pins 11-20

Pin detail

Hover a pin for its mappings and gotchas. Click to keep it here.

Logic level
2.7-5.5 V
Package
TSSOP-20 (F4P6)

Fig. 1. CH32V003 RISC-V Microcontroller, TSSOP-20 (F4P6). Hover or tap a signal to light up every pin that carries it.

2.Watch out

3.Minimum circuit to run

What has to go around the chip before it will run.

VCCGNDCH32V0030.1 uF ceramic between VDD (9) and GND0.1 uFceramic0.1 uF ceramic between PD7 (4) and GND0.1 uFceramicVSS (7) to GNDVDD (9) to VCCPD7 4VSS 7VDD 9VDD 9
Fig. 2. Minimum circuit to run, drawn from Table 1. Dashed parts are optional. Crossing wires are not connected.
Table 1. External parts, and why each one is there.
PartBetween
0.1 uF ceramicVDD (9) to GND
0.1 uF ceramicoptionalPD7 (4) to GND

There is no crystal here and no reset resistor. The oscillator is internal, the reset pull-up is internal, and programming is one wire to PD1. This is close to the smallest part count any 32-bit MCU asks for.

4.Full pin reference

Every pin, alias and mapping. This is the table that prints.

Table 2. Pin assignments.

Complete pin reference for CH32V003 RISC-V Microcontroller
PinNameFunctions

Found a wrong pin? The whole board is one file, data/boards/ch32v003.json.

Edit this file on GitHubReport it instead