CH32V307/317
32-bit RISC-V MicrocontrollerThe CH32V307/317 is a 32-bit risc-v microcontroller from WCH. View the full CH32V307/317 datasheet below including key specifications, electrical characteristics, absolute maximum ratings.
CH32V307/317 shares its datasheet with CH32V307VCT6, whose page lists every part number it covers.
Official CH32V307/317 datasheet (PDF) — the source this page was extracted from.
Manufacturer
WCHCategory
Microcontrollers (MCU)CH32V307/317 Key Specifications
| Parameter | Value |
|---|---|
| ADC | 2x 12-bit, 16 external + 2 internal channels, 0V to VDDA input range |
| CAN | 2x CAN 2.0B |
| DAC | 2x 12-bit |
| DMA | 2 controllers, 18 channels each |
| I2C | 2 (SMBus/PMBus) |
| SPI | 3 (2 shared with I2S) |
| USB | USB2.0 full-speed OTG + USB2.0 high-speed host/device (480Mbps, built-in PHY) |
| Core | QingKe V4F 32-bit RISC-V (IMAFC) with single-precision FPU |
| GPIO | up to 80 I/O ports, 16 external interrupts |
| SRAM | up to 128KB (64KB on CH32V307/317 per series table) |
| Ethernet | Gigabit Ethernet MAC; 10M PHY (CH32V307) / 10/100M PHY (CH32V317) |
| CodeFlash | 480KB program memory (256KB per series table for CH32V307/317) |
| Touch Key | 16 channels |
| BootLoader | 28KB |
| USART/UART | 8 (5 UART) |
| Oscillators | 8MHz internal RC, ~40kHz internal RC, 3-25MHz HSE, 32.768kHz LSE |
| Basic Timers | 2 |
| OPA/Comparator | 4 groups |
| Advanced Timers | 4x 16-bit (motor PWM) |
| Debug Interface | 2-wire serial debug interface (SDI) |
| Low-Power Modes | Sleep, Stop, Standby |
| Other Interfaces | SDIO, FSMC (V307), DVP (V307/V317) |
| Available Packages | LQFP64M, LQFP100, QFN68 |
| GPIO Supply (VI/O) | 3.3V |
| Max System Frequency | 144MHz (zero wait) |
| Supply Voltage (VDD) | 3.3V |
| Operating Temperature | -40°C to 85°C (industrial grade) |
| General-Purpose Timers | 4x 16-bit |
CH32V307/317 Overview
Part: CH32V307VCT6 — WCH (WCH-IC)
Type: 32-bit RISC-V Microcontroller
Description: Industrial-grade general-purpose microcontroller based on QingKe RISC-V4F core, operating at up to 144 MHz with 480 KB CodeFlash, up to 128 KB SRAM, and extensive peripherals including USB2.0 high-speed, Gigabit Ethernet, and dual 12-bit ADCs/DACs.
Operating Conditions:
- Supply voltage: 3.3V
- Operating temperature: -40 to +85 °C
- CPU main frequency: Max 144MHz
Absolute Maximum Ratings:
Key Specs:
- Core: QingKe 32-bit RISC-V4F
- CPU main frequency: Max 144MHz
- Program memory (CodeFlash): Up to 480KB (zero-wait + non-zero-wait)
- Volatile data storage (SRAM): Up to 128KB
- ADC: 2 units, 12-bit, 16 external channels + 2 internal signals
- DAC: 2 units, 12-bit
- USB: USB2.0 full-speed host/device, USB2.0 high-speed host/device (built-in 480Mbps PHY)
- Ethernet: Gigabit Ethernet MAC controller, 10M PHY transceiver
Features:
- Single-precision floating-point unit (FPU)
- Fast programmable interrupt controller (PFIC)
- Multiple low-power modes: Sleep, Stop, Standby
- Built-in 8MHz RC oscillator and 40kHz RC oscillator
- 2 groups of 18-channel general-purpose DMA controllers
- 4 groups of 16-bit advanced timers for motor control
- 8 USART interfaces (including 5 UARTs)
- 2 I2C interfaces (support SMBus/PMBus)
- 3 SPI interfaces (SPI2, SPI3 for I2S2, I2S3)
- 2 CAN interfaces (2.0B active)
- SDIO host interface
- Digital video port (DVP)
- FSMC memory interface
- 80 GPIO ports, mapping 16 external interrupts
- CRC unit, 96-bit unique ID
- 2-wire serial debug interface (SDI)
Applications:
Package:
- LQFP100
CH32V307/317 Electrical Characteristics
Table 4-41 ADC characteristics
| Symbol | Parameter | Condition | Min. | Typ. | Max. | Unit |
|---|---|---|---|---|---|---|
| V DDA | Supply voltage | 2.4 | 3.6 | V | ||
| V REF+ | Positive reference voltage | V REF+ cannot be more thanV DDA | 2.4 | V DDA | V | |
| I VREF | Reference current | 160 | 220 | μA | ||
| I DDA | Supply current | 480 | 530 | μA | ||
| f ADC | ADC clock frequency | 14 | MHz | |||
| f S | Sampling rate | 0.05 | 1 | MHz | ||
| f TRIG | External trigger frequency | 16 | 1/f ADC | |||
| V AIN | Conversion voltage range | 0 | V REF+ | V | ||
| R AIN | External input impedance | 50 | kΩ | |||
| R ADC | Sampling switch resistance | 0.6 | 1 | kΩ | ||
| C ADC | Internal sample and capacitor | 8 | pF |
Table 4-41 ADC characteristics
V3.4 78
| CAL | Calibration time | t | 1/f ADC | ||
|---|---|---|---|---|---|
| Iat | Injected trigger conversion latency | t | 2 | 1/f ADC | |
| Iatr | Regular trigger conversion latency | t | 2 | 1/f ADC | |
| t s | Sampling time | 1.5 | 239.5 | 1/f ADC | |
| STAB | Power-on time | t | 1 | us | |
| CONV | Total conversion time (including sampling time) | t | 14 | 252 | 1/f ADC |
Note: Above parameters are guaranteed by design.
Formula: Maximum RAIN
The above formula is used to determine the maximum external impedance so that the error can be less than 1/4 LSB. Where N=12 (representing 12-bit resolution).
Table 4-42 Maximum RAIN when fADC = 14MHz
- T S (cycle) t S (us) Maximum R AIN (kΩ)
- 1.5 0.11 0.4
- 7.5 0.54 5.9
- 13.5 0.96 11.4
- 28.5 2.04 25.2
- 41.5 2.96 37.2
- 55.5 3.96 50
- 71.5 5.11 Invalid
- 239.5 17.1 Invalid
Table 4-43 ADC error
| Symbol | Parameter | Condition | Min. | Typ. | Max. | Unit |
|---|---|---|---|---|---|---|
| EO | Offset error | f PCLK2 = 56MHz, | ±4 | LSB | ||
| ED | Differential nonlinearity error | f ADC = 14MHz, | ±0.5 | ±3 | LSB | |
| EL | Integral nonlinearity error | R AIN < 10kΩ,V DDA = 3.3V | ±1 | ±4 | LSB |
Cp represents the parasitic capacitance on the PCB and the pad (about 5pF), which may be related to the quality of the pad and PCB layout. A larger Cp value will reduce the conversion accuracy, the solution is to reduce the f ADC value.
V3.4 79
Figure 4-29 ADC typical connection diagram
Figure 4-30 Analog power supply and decoupling circuit reference
CH32V307/317 Absolute Maximum Ratings
Stresses at or above the absolute maximum ratings listed in the table below may cause permanent damage to the device.
Table 4-1 Absolute maximum ratings
| Symbol | Description | Description | Min. | Max. | Unit |
|---|---|---|---|---|---|
| T A | Ambient temperature during operation | Ambient temperature during operation | -40 | 85 | °C |
| T S | Ambient temperature during storage | Ambient temperature during storage | -40 | 125 | °C |
| V DD -V SS | External main supply voltage (includingV DDA and V DD ) | External main supply voltage (includingV DDA and V DD ) | -0.3 | 4.0 | V |
| V I/O -V SS | I/O supply voltage | I/O supply voltage | -0.3 | 4.0 | V |
| V DD_ETH -V SS | Internal 10/100M Ethernet PHY supply voltage | CH32V317 | -0.3 | 4.0 | V |
| V DDK | Voltage at decoupling end of internal power supply LDO | CH32V317 | -0.2 | 1.5 | V |
| V IN | Input voltage on the FT (5V tolerance) pin | Input voltage on the FT (5V tolerance) pin | V SS -0.3 | 5.5 | V |
| V IN | 10/100M Ethernet PHY differential pin | V SS -0.3 | V DD_ETH +0.3 | V | V |
| V IN | Input voltage onPHY pin of USB and 10M Ethernet | Input voltage onPHY pin of USB and 10M Ethernet | V SS -0.3 | V DD +0.3 | V |
| V IN | Input voltage on other pins | Input voltage on other pins | V SS -0.3 | V IO +0.3 | V |
| \ | △ V DD_x \ | Variations between different main power supply pins | Variations between different main power supply pins | ||
| \ | △ V I/O_x \ | Variations between different I/O power supply pins | Variations between different I/O power supply pins | ||
| \ | △ V SS_x \ | Variations between different ground pins | Variations between different ground pins | ||
| V ESD(HBM) | Electrostatic discharge voltage (HBM, non-contact) | Electrostatic discharge voltage (HBM, non-contact) | 4K | 4K | V |
| V ESD(HBM) | USB pins (PA11, PA12) | USB pins (PA11, PA12) | 3K | 3K | V |
Table 4-1 Absolute maximum ratings
V3.4 51
| I VDD | Total current intoV DD /V DDA /V IO power lines (source) | 150 | mA |
|---|---|---|---|
| I Vss | Total current out ofV SS ground lines (sink) | 150 | mA |
| I I/O | Sink current on any I/O and control pin | 25 | mA |
| I I/O | Source current on any I/O and control pin | -25 | mA |
| I INJ(PIN) | Injected current on NRST pin | +/-5 | mA |
| I INJ(PIN) | Injected current on HSE's OSC_IN pin and LSE's OSC_IN pin | +/-5 | mA |
| I INJ(PIN) | Injected current on other pins | +/-5 | mA |
| ∑I INJ(PIN) | Total injected current on all I/Os and control pins | +/-25 | mA |
Variants on the same datasheet
These parts have exact links to the same datasheet. They are candidates to compare, not verified drop-in replacements; check package, pinout and electrical limits.
| Part Number | Manufacturer | Package |
|---|---|---|
| CH32V303 | WCH | — |
| CH32V305 | WCH | — |
| CH32V307 | WCH | TSSOP20 |
| CH32V307RCT6 | WCH | LQFP-64M(10x10) |
| CH32V307VCT6 | WCH | LQFP-100(14x14) |
| CH32V307WCU6 | WCH | QFN-68(8x8) |
| CH32V317 | WCH | — |
Other Microcontrollers (MCU)
- STM32F407VET6 – STMicroelectronics, ARM Cortex-M4 MCU
- STM32H563ZIT6 – STMicroelectronics, Arm Cortex-M33 32-bit MCU
- RP2040 – Raspberry Pi, Microcontroller
- STM32H743VIT6 – STMicroelectronics, Microcontroller Unit (MCU)
- STM32U575RIT6 – STMicroelectronics, Ultra-low-power Arm Cortex-M33 32-bit MCU
- STM32L011F4U6 – STMicroelectronics, Ultra-low-power Arm Cortex-M0+ MCU
- GD32F103C8T6 – GigaDevice, Arm Cortex-M3 32-bit MCU
- CH32H417QEU6 – WCH, Dual-Core RISC-V Microcontroller
All Microcontrollers (MCU) datasheetsAll WCH datasheets (94)
Ask your AI agent about the CH32V307/317
Connect SheetsData to Claude, Cursor, Codex or any MCP client and your agent reads this datasheet for you: pinout, limits, register maps and design checks, with the numbers taken from the PDF.
claude mcp add --transport http sheetsdata https://mcp.sheetsdata.com/mcp
Then ask: "Can the CH32V307/317 run from my 12 V rail? Check it against the datasheet limits."
Create a free account $2 of usage every month, no card needed.