1. Acabatview
The CH592 is a sophisticated 32-bit RISC microcontroller designed for a wide range of embedded applications. It features integrated Bluetooth® Low Energy (BLE) 5.4 communication, a full-speed USB host and device controller, and a segment LCD driver module. This MCU also includes essential peripherals such as SPI, four UARTs, twelve ADCs, and a touch-key detection module, providing rich resources for diverse projects.

2. Característiques
- Processador: Qingke RISC-V4C 32-bit RISC processor.
- Conjunt d’instruccions: Supports RV32IMAC instruction set and self-expanding instructions.
- Interrupcions: Fast programmable interrupt controller with hardware interrupt stack.
- Comunicació sense fils: Integrated 2.4GHz RF transceiver, baseband, and link control.
- Bluetooth: Complies with Bluetooth Low Energy 5.4 specifications, supporting 2Mbps and 1Mbps data rates.
- Rendiment de RF: Receiving sensitivity of -95dBm, programmable +4.5dBm transmission power.
- Programari: Optimized protocol stack and application layer API provided.
- Sensors: Sensor de temperatura integrat.
- Rellotge en temps real: Built-in RTC, supporting timing and trigger modes.
- USB: Integrated USB 2.0 full-speed transceiver, supporting full/low speed host and device modes.
- Convertidor d'analògic a digital (ADC): 12 external analog signal channels and 2 internal signal channels.
- Controlador de pantalla: Segment LCD driver supporting 80 dots (20*4) LCD panels.
- Perifèrics: 4 sets of UART, 12 sets of PWM, 1 SPI, and 1 IIC.
- GPIOs: 24 General Purpose Input/Output pins, with 4 supporting 5V signal input.
- Font d'alimentació: Supports a minimum of 1.7V power supply.
- Seguretat: AES-128 encryption and decryption, unique chip ID.
3. Especificacions
3.1 Valoracions màximes absolutes

3.2 Característiques elèctriques

3.3 Informació del paquet
The CH592 series is available in various Quad Flat No-lead (QFN) packages, each with specific dimensions and pin counts.
| paquet | Mida corporal | Lead pitch | Descripció | Informació de comanda |
|---|---|---|---|---|
| QFN32 | 4*4 mm | 0.4 mm | Quad no-lead 32-pin | CH592X |
| QFN28 | 4*4 mm | 0.4 mm | Quad no-lead 28-pin | CH592F |
| QFN20 | 3*3 mm | 0.4 mm | Quad no-lead 20-pin | CH591D |
CH592X (QFN32) Package Dimensions

CH592F (QFN28) Package Dimensions

CH591D (QFN20) Package Dimensions

3.4 Pinout Diagrams
CH592X Pinout

CH592F Pinout

CH591D Pinout

3.5 Functional Comparison
The table below provides a comparison of key features across the CH592 series models.

4. Aplicacions
The CH592 series microcontrollers are versatile and can be integrated into various electronic designs. Below are example application circuits for the CH592X and CH592F models, illustrating typical connections for power, USB, display, and other peripherals.
4.1 CH592X Application Circuit

4.2 CH592F Application Circuit

5. Configuració
Setting up the CH592 series MCU involves hardware integration and software development. This section provides general guidelines.
5.1 Integració de maquinari
- Font d'alimentació: Connect the VDD33 pin to a stable power source within the specified voltage range (1.7V to 4.2V). Ensure proper decoupling capacitors are used near the power pins.
- Posada a terra: Connect all GND pins to a common ground plane to minimize noise.
- Font del rellotge: The MCU typically requires an external crystal oscillator for stable operation. Refer to the datasheet for recommended crystal values and connection diagrams.
- Interfície de programació: Connect the appropriate pins (e.g., SWD, UART) to a compatible programmer/debugger for flashing firmware.
- Perifèrics: Connect external components (e.g., sensors, LCD, USB devices) to the respective GPIOs and peripheral interfaces as per your application design and the pinout diagrams.
- Antena de RF: For BLE functionality, ensure a properly designed 2.4GHz antenna is connected to the ANT pin.
5.2 Software Development Environment
WCH provides development tools and resources for programming the CH592 series. It is recommended to use the official SDK and IDE for optimal compatibility and performance.
- Download and install the WCH-provided development environment (e.g., MounRiver Studio).
- Obtain the CH592 series SDK and example projects from the official WCH weblloc.
- Familiarize yourself with the provided API and documentation for BLE, USB, LCD, and other peripherals.
6. Instruccions de funcionament
Operating the CH592 MCU primarily involves programming it with your custom firmware. Once programmed, the MCU will execute the embedded application.
- Desenvolupament de firmware: Write your application code using the WCH SDK and C/C++ programming language. This includes configuring peripherals, implementing communication protocols (BLE, USB, UART, SPI, I2C), and defining application logic.
- Compilation: Compile your source code into an executable binary file (e.g., .hex, .bin) using the provided toolchain within the development environment.
- Parpellejant: Use a compatible programmer/debugger (e.g., WCH-Link) to flash the compiled firmware onto the CH592 MCU via the programming interface (e.g., SWD).
- Encès: After successful flashing, power on the MCU. The embedded application will start executing automatically.
- Interacció: Interact with the MCU through its configured interfaces, such as sending/receiving data via BLE, USB, or UART, or observing output on the Segment LCD.
7. Manteniment
Microcontrollers generally require minimal physical maintenance once integrated into a system. However, software and environmental considerations are important.
- Condicions ambientals: Ensure the MCU operates within its specified ambient temperature range (-40°C to 85°C) and avoid excessive humidity or corrosive environments.
- Estabilitat de potència: Provide a clean and stable power supply to prevent unexpected behavior or damage.
- Actualitzacions de firmware: Regularly check the WCH official website for firmware updates, bug fixes, or new features for the CH592 series.
- Protecció ESD: Handle the MCU with proper Electrostatic Discharge (ESD) precautions to prevent damage to sensitive internal components.
- Inspecció física: Periodically inspect the PCB and connections for any signs of damage, corrosion, or loose contacts, especially in harsh environments.
8. Solució De Problemes
If you encounter issues with your CH592 MCU, consider the following troubleshooting steps:
- No Power/Boot-up Failure:
- Comproveu la font d'alimentació voltage i corrent.
- Check all power and ground connections for continuity.
- Ensure the crystal oscillator is correctly connected and functioning.
- Programming/Flashing Issues:
- Confirm the programmer/debugger is correctly connected to the MCU's programming interface.
- Check driver installation for the programmer/debugger.
- Ensure the correct MCU model is selected in the development environment.
- Try a different USB port or cable for the programmer.
- Mal funcionament perifèric:
- Double-check wiring and connections to the peripheral.
- Review your code for correct peripheral initialization and configuration.
- Consult the datasheet for specific peripheral register settings and timing requirements.
- BLE Connectivity Problems:
- Ensure the antenna is properly connected and matched.
- Comproveu si hi ha interferències d'altres dispositius de 2.4 GHz.
- Verify BLE stack initialization and advertising parameters in your firmware.
- Unexpected Behavior/Crashes:
- Use a debugger to step through your code and identify the point of failure.
- Check for stack overflows or memory access violations.
- Ensure all interrupts are handled correctly.
9. Consells d'usuari
To maximize your experience with the CH592 series microcontrollers, consider the following tips:
- Comença amb Ex.amples: Begin by exploring the demo projects provided in the WCH SDK. These examples demonstrate basic peripheral usage and can serve as a foundation for your own applications.
- Refer to Datasheet: The official datasheet is your primary resource for detailed technical specifications, register descriptions, and electrical characteristics. Always consult it for precise information.
- Suport comunitari: Engage with online forums or communities dedicated to RISC-V or WCH microcontrollers. Other developers may have encountered similar issues and can offer solutions or insights.
- Modular Code: Develop your firmware in a modular fashion, separating different functionalities into distinct files or modules. This improves readability, maintainability, and reusability.
- Version Control: Use a version control system (e.g., Git) to manage your code. This allows you to track changes, revert to previous versions, and collaborate effectively.
10. Documentation & Support
For the most up-to-date and detailed information, please refer to the official WCH resources:
- Oficial Weblloc: https://www.wch-ic.com

WCH Official Weblloc web per obtenir informació i assistència sobre el producte. - Full de dades: The comprehensive datasheet for the CH592 series can be found at https://www.wch-ic.com/downloads/CH592DS1_PDF.html. This document contains detailed electrical specifications, pin descriptions, and functional block diagrams.
- Demo Code & SDK: Example projects and the Software Development Kit (SDK) are available for download at https://www.wch.cn/downloads/CH592EVT_ZIP.html. These resources are crucial for starting your development with the CH592 MCU.






