WCH CH32V002 32-bit RISC-V MCU comes with 4KB SRAM, supports 2V to 5V DC supply voltage

WCH CH32V002 is an industrial-grade general-purpose 32-bit RISC-V microcontroller that is pin-to-pin compatible with the popular CH32V003 MCU with 4KB SRAM instead of 2KB, a wider input voltage range from 2V to 5V, and other improvements.

Earlier this month we wrote about the WCH CH32V006 RISC-V microcontroller that offers an upgrade to the CH32V003 with more I/Os, memory, and storage, requiring a new PCB layout. But now, the Chinese company has unveiled a pin-compatible alternative with the CH32V002 that adds more SRAM, uses the new V2C core with RV32EmC instruction set (also used in the CH32V006), offers a larger bootloader and configuration memories, upgrades the ADC to 12-bit, and adds support for 8-channel touch-key channel detection.

CH32V002

WCH CH32V002 specifications (highlights in bold show differences against the CH32V003):

  • CPU – 32-bit “RISC-V2C” core up to 48 MHz using RV32EmC instruction set
  • Memory – 4KB SRAM
  • Storage – 16KB flash, 3328 Bytes bootloader, 256 Bytes non-volatile system configuration memory, 256 Bytes user-defined memory
  • Peripherals
    • Up to 18x GPIO with interrupt support
    • 1x USART interface
    • 1x I2C
    • 1x SPI
    • 12-bit ADC up to 8 channels
    • 8-channel touch-key channel detection
    • 1-Wire debug interface
    • General purpose 7-channel DMA controller
    • Timers
      • 16-bit advanced timer
      • 16-bit general-purpose timer
      • 2x watchdog timers
      • 32-bit system timer
  • Misc
    • 64-bit chip unique ID
    • Built-in system clock monitoring (SCM) module
    • Power on Reset (POR), programmable voltage detector
  • Supply voltage – 2 to 5V
  • Low power modes – Sleep, standby
  • Packages – TSSOP20, QFN20, SOP16, SOP8, QFN12 (new)
CH32V002 RISC-V MCU packages
5 different packages

The CH32V002 is offered in five packages including four which are pin-to-pin compatible with the CH32V003, and a new QFN12 package with eleven GPIOs. WCH has yet to publish a product page, but the datasheet is already available in English. Software tools such as MounRiver or GCC will be compatible, but the “M” standard extension for integer multiplication and division “m” (Zmmul) multiplication subset of the M extension may need an updated toolchain.

I was unable to find a CH32V002 development board, but it’s just a question of time before those become available along sub one-dollar CH32V003 boards. There’s also a new CH32V004 whose specifications are about the same as the CH32V002 but with 6KB and 32KB of flash instead. Only 20-pin packages are available for that model.

CH32V004 packages
CH32V004 packages

Thanks to David for the tip.

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK 5 ITX RK3588 mini-ITX motherboard
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
9 Comments
oldest
newest
Brian
Brian
4 months ago

Sorry to be pedantic but the new version of the RISC-V core is “RV32EmC” (lower case ‘m’, which is the ‘zmmul’ extension) – there is now hardware-multiply (with instructions for both low and high 32-bit results), but not hardware division.

willmore
willmore
4 months ago

Cudos to you if you can understand the RISC-V spec. I tried to see what ‘m’ adds to the instruction set and slogged through a ton of very dense, poorly written documentation.

If you can provide links to specific information, that would be *wonderful*!

Brian
Brian
4 months ago

The English PDF datasheet for the new RISC-V core used is at:

https://www.wch-ic.com/downloads/QingKeV2_Processor_Manual_PDF.html

Section 1.1 talks about the instruction set having multiply-only (Zmmul).

I guess this is to be similar to the popular ARM Cortex-M0+ minimal core used in e.g. RP2040 chip. Hardware division must take up a relatively large amount of silicon so worthwhile skipping it and only offer hardware multiply.

Richard
Richard
4 months ago

There is also a CH32V007, as you can see in the CH32V00X Reference Manual:
https://www.wch.cn/downloads/CH32V00XRM_PDF.html

willmore
willmore
4 months ago
willmore
willmore
4 months ago

This was confusing in the article, but the 006 is the only member with the TouchKey peripherial. The rest of the manuals are confusing on this point.

The English data sheets are out for the 002/4/5/6. But the RM is missing in English. The Chinese versions of all the datasheets and RM are available. Interestingly, the 007/M007 has gone entirely missing from the WCH site.

The new chips haven’t shown up on the family web page, either. No word from WCH on why.

Gusman
Gusman
2 months ago

Not sure where you got the specs from but the CH32V002 series has only 2Kb of RAM

Khadas VIM4 SBC