1. Introduction
The TENSTAR CH32V003 Development Board is a compact, industrial-grade general-purpose microcontroller module based on the Qingke RISC-V2A core. Designed for a wide range of applications, it supports a 48MHz system frequency and offers features such as single-wire debugging, low power consumption, and an ultra-small form factor. This module integrates essential peripherals including a DMA controller, a 10-bit analog-to-digital converter (ADC), an operational amplifier comparator, multiple timers, and standard communication interfaces like USART, IIC, and SPI.
2. Safety Information
- Always handle the development board with care to prevent damage to components.
- Avoid touching the electronic components directly, especially when powered, to prevent electrostatic discharge (ESD) damage.
- Ensure proper power supply voltage (3.3V or 5V) to avoid damaging the microcontroller.
- Do not expose the board to moisture, extreme temperatures, or corrosive environments.
- Keep out of reach of children.
3. Package Contents
Your package should contain the following items:
- 1x TENSTAR CH32V003 Development Board (CH32V003F4P6 Microcontroller Module)
- Optional: Pin Headers (may be included for self-soldering)
4. Product Overview and Pinout
The CH32V003 Development Board is designed for ease of use, featuring a USB-C port for power and communication, along with clearly labeled pins for various functionalities. The board integrates the CH32V003F4P6 microcontroller, offering a robust platform for embedded development.
Pinout Description (Refer to Figure 3 for visual layout):
- USB-C Port: For power supply and serial communication.
- V (Voltage): Power supply pins (3.3V or 5V).
- G (Ground): Ground pins.
- TX/RX: UART (Universal Asynchronous Receiver/Transmitter) communication pins.
- PAx/PBx/PCx/PDx: General Purpose Input/Output (GPIO) pins. These pins can be configured for various functions including digital I/O, analog input (ADC), and peripheral interfaces.
- SWD: Single Wire Debug interface pins for programming and debugging.
- Reset Button: Resets the microcontroller.
5. Specifications
| Feature | Value |
|---|---|
| Microcontroller | CH32V003F4P6 |
| Core | Qingke 32-bit RISC-V2A processor |
| System Frequency | Up to 48MHz |
| Flash Memory | 16KB |
| SRAM | 2KB |
| GPIO Ports | 18 |
| Supply Voltage | 3.3V / 5V |
| Timers | 1x 16-bit Advanced Timer, 1x 16-bit General-Purpose Timer, 2x Watchdog Timers, 1x 32-bit SysTick Timer |
| ADC | 10-bit, 8 channels |
| Operational Amplifier Comparator | 1 |
| Communication Interfaces | 1x USART, 1x IIC, 1x SPI |
| Debugging Interface | Serial Single-Wire Debug (SWD) |
| Low-Power Modes | Sleep, Standby |
| Operating Temperature | -30°C to +50°C |
| Dimensions (L x W) | 31mm x 17.8mm |
| Package Type | QFN20 (on board) |
6. Setup Guide
- Prepare Pin Headers (if necessary): If your board did not come with pre-soldered pin headers, you will need to solder them onto the designated pads to easily connect to breadboards or other peripherals.
- Connect to Computer: Use a standard USB-C cable to connect the development board to your computer. The board should power on.
- Install Drivers: Depending on your operating system and development environment, you may need to install specific USB-to-serial drivers or the WCH-Link utility for the CH32V003 series. Refer to the official WCH (manufacturer) documentation for the latest drivers and installation instructions.
- Install Development Environment:
- Download and install a suitable Integrated Development Environment (IDE) that supports RISC-V microcontrollers, such as MounRiver Studio (MRS) or PlatformIO with the appropriate RISC-V toolchain.
- Ensure the RISC-V GCC toolchain is correctly installed and configured within your chosen IDE.
- First Program (Blinky): Load a simple