WCH CH32V006

Contents

CH32V006 Industrial-grade RISC-V MCU User Manual

Model: CH32V006 Series

Brand: WCH

1. Overview

The CH32V006 is an industrial-grade microcontroller unit (MCU) featuring the RISC-V core "Qingke" V2C, based on the RV32EmC architecture. Designed for robust performance in various applications, it operates at a core speed of up to 48MHz and includes essential memory and peripherals for embedded system development.

Key features include 8KB of SRAM and 62KB of Flash memory, along with a rich set of integrated peripherals such as UART, SPI, a 3Msps 12-bit Analog-to-Digital Converter (ADC), Operational Amplifier (OPA), TouchKey interface, and 7xDMA channels.

CH32V006 MCU overview highlighting key features
Figure 1: CH32V006 MCU overview with highlighted features.

2. Features

The CH32V006 series offers a comprehensive set of features tailored for industrial and general-purpose embedded applications:

  • Core: RISC-V core "Qingke" V2C based on RV32EmC, running up to 48MHz.
  • Memories: 8KB SRAM, 62KB Flash.
  • Timers:
    • 1 x 16-bit Advanced Timers (ADTM)
    • 1 x 16-bit General Programmable Timers (GPTM)
    • 1 x 16-bit Streamlined Timers
  • Interfaces:
    • 8 x 12-bit ADC channels
    • TouchKey interface
    • UART (Universal Asynchronous Receiver/Transmitter)
    • SPI (Serial Peripheral Interface)
    • IIC (Inter-Integrated Circuit)
    • OPA (Operational Amplifier)
  • Debug Mode: 1-wire serial debug interface (SDI).
  • Package Options: Available in QFN32, QSOP24, QFN20, TSSOP20.
  • Supply Voltage (VDD): Supports 2.5V, 3.3V, and 5V.
Block diagram of CH32V006 MCU components
Figure 2: CH32V006 MCU internal block diagram.

3. Specifications and Selection Guide

The following table provides a detailed selection guide for different part numbers within the CH32V006 series, outlining their specific configurations and features.

Table showing CH32V006 series selection guide with specifications
Figure 3: CH32V006 Series Selection Guide.
CH32V006 Series Specifications
Part NO. Freq Flash SRAM GPIO Timer ADC (12bit) TouchKey OPA U(S)ART I2C SPI VDD Package
Adv (16bit) GP (16bit) SL (16bit) WDOG SysTick (32bit) Unit/CH
CH32V006F8P6 48MHz 62K 8K 18 1 1 1 2 ✓ 1/8 8 1 2 1 1 2.5/3.3/5.0 TSSOP20
CH32V006F8U6 48MHz 62K 8K 18 1 1 1 2 ✓ 1/8 8 1 2 1 1 2.5/3.3/5.0 QFN20
CH32V006E8R6 48MHz 62K 8K 22 1 1 1 2 ✓ 1/8 8 1 2 1 1 2.5/3.3/5.0 QSOP24
CH32V006K8U6 48MHz 62K 8K 31 1 1 1 2 ✓ 1/8 8 1 2 1 1 2.5/3.3/5.0 QFN32

4. Package Information

The CH32V006 series is available in several package types to suit various design requirements. Below are the mechanical dimensions for the common packages.

4.1 QFN32 Package Dimensions

Technical drawing of QFN32 package dimensions
Figure 4: QFN32 Package Dimensions (Top, Bottom, Side Views).

4.2 QFN20 Package Dimensions

Technical drawing of QFN20 package dimensions
Figure 5: QFN20 Package Dimensions (Top, Bottom, Side Views).

4.3 TSSOP20 Package Dimensions

Technical drawing of TSSOP20 package dimensions
Figure 6: TSSOP20 Package Dimensions (Top, Side, End Views).

5. Setup and Usage

To begin development with the CH32V006 MCU, you will typically need a development board, a programmer/debugger, and a suitable Integrated Development Environment (IDE).

5.1 Hardware Setup

  1. Mounting: Carefully mount the CH32V006 MCU onto your custom PCB or a compatible development board. Ensure correct pin orientation and soldering if applicable.
  2. Power Supply: Connect a stable power supply within the specified VDD range (2.5V/3.3V/5V) to the appropriate power pins of the MCU or development board.
  3. Programming/Debugging Connection: Connect a WCH-LinkE programmer or a compatible RISC-V debugger to the MCU's 1-wire serial debug interface (SDI) pins. Refer to the datasheet for specific pin assignments.
  4. Peripherals: Connect any external peripherals (sensors, displays, etc.) to the MCU's GPIOs and communication interfaces (UART, SPI, I2C) as required by your application.

5.2 Software Development Environment

WCH provides a dedicated IDE and SDK for the CH32V006 series:

  • IDE: MounRiver Studio (MRS) is the recommended IDE for developing applications for WCH RISC-V MCUs. It provides a complete environment for coding, compiling, and debugging.
  • SDK & HDK: The EVT (Evaluation Kit) includes the Software Development Kit (SDK) and Hardware Development Kit (HDK), offering example projects, libraries, and hardware design resources to accelerate your development.
  • Programmer Utility: Tools like WCH-LinkUtility (e.g., v2.90 in WCH-LinkRV mode) are used to interface with the WCH-LinkE programmer for flashing firmware onto the MCU.

Ensure your operating system (e.g., Windows 11) has the necessary drivers installed for your programmer/debugger.

6. User Tips

  • Programming: Users have successfully programmed these microcontrollers using the WCH-LinkE programmer without issues.
  • Development Environment: MounRiver Studio (MRS) version V240 and WCH-LinkUtility v2.90 (in WCH-LinkRV mode) on Windows 11 have been confirmed to work effectively for development and flashing.
  • Packaging: The chips are typically shipped in protective plastic boxes within a larger cardboard box, ensuring good protection during transit.

7. Maintenance

The CH32V006 MCUs are robust electronic components designed for long-term operation. Proper handling and storage are crucial for their longevity and performance:

  • Storage: Store MCUs in their original anti-static packaging in a dry, temperature-controlled environment to prevent damage from electrostatic discharge (ESD) and moisture.
  • Handling: Always use ESD-safe practices when handling the MCUs, including wearing anti-static wrist straps and working on an ESD-safe mat.
  • Cleaning: If cleaning is necessary, use isopropyl alcohol and a soft brush or lint-free cloth. Avoid harsh chemicals or abrasive materials.
  • Environmental Conditions: Ensure the operating environment for your final product adheres to the recommended temperature and humidity ranges specified in the datasheet to prevent operational issues.

8. Troubleshooting

If you encounter issues while working with the CH32V006 MCU, consider the following general troubleshooting steps:

  • Power Supply: Verify that the MCU is receiving the correct and stable supply voltage (VDD). Incorrect voltage can lead to erratic behavior or non-functionality.
  • Connections: Double-check all electrical connections, especially for programming/debugging interfaces (SDI) and critical peripherals. Ensure no short circuits or open circuits are present.
  • Programming Issues: If programming fails, ensure your programmer (e.g., WCH-LinkE) is correctly connected, powered, and recognized by your computer. Confirm that the IDE and utility software are configured for the correct MCU model and debug mode.
  • Software Configuration: Review your code and project settings in MounRiver Studio. Incorrect clock configurations, peripheral initializations, or pin assignments can cause unexpected behavior.
  • Documentation Review: Consult the official Datasheet and Reference Manual for detailed information on pin functions, electrical characteristics, and peripheral registers.
  • Development Board: If using a development board, ensure it is functioning correctly and that any jumpers or switches are set appropriately.

For persistent issues, refer to the official WCH support channels or community forums for assistance.

9. Documentation and Resources

For in-depth technical details, programming guides, and development tools, please refer to the official WCH resources:

9.1 Documentations

9.2 Tools & Software

10. Warranty and Support

For information regarding product warranty, technical support, or any inquiries not covered in this manual, please contact the manufacturer, WCH, directly through their official website or designated support channels. Always refer to the official documentation for the most up-to-date and accurate information. Source · https://manuals.plus/ae/1005008347109826

Documents and downloads

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.

Rate this product if you’ve used it

Was this page helpful?