[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-720420-105":59,"doc-detail-720420-en":130,"doc-similar-720420":166},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","ch32v004-datasheet-version-17","CH32V004 Datasheet - Version 1.7","","CH32V004 is a general-purpose microcontroller based on the QingKe RISC-V core, designed for 48 MHz operation with wide supply voltage support and low-power modes. It offers a 12-bit ADC with up to 3 Msps sampling rate, a 7-channel DMA controller, multi-group timers for PWM, capture/compare, and pulse counting, and standard serial peripherals including USART, I2C, and SPI. The device includes factory-trimmed oscillators, clock/reset supervision, security via a unique chip ID, and a 1-wire SDI debug interface.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/ch32v004-datasheet-version-17/720420/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/ch32v004-datasheet-version-17/720420.png","ImageObject",300,407,{"name":92,"@type":93},"naya.afterrain","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-29","2026-11-18",true,{"@type":102,"interactionType":103,"userInteractionCount":24},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What core and operating frequency does CH32V004 use?","Question",{"text":112,"@type":113},"CH32V004 uses the QingKe 32-bit RISC-V core (RV32EmC instruction set) and supports a system main frequency up to 48 MHz.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What analog capabilities and sampling rate are available?",{"text":117,"@type":113},"The chip integrates a 12-bit ADC with an analog input range of VSS~VDD and supports sampling rates up to 3 Msps, including 8 external and 3 internal signals.",{"name":119,"@type":110,"acceptedAnswer":120},"Which key peripherals and controllers does CH32V004 provide?",{"text":121,"@type":113},"It includes a 7-channel general-purpose DMA controller supporting ring buffers, multi-group timers (advanced-control and general-purpose), and serial interfaces such as USART, I2C, and SPI.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},720420,1795037164,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":24,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":24,"preview_urls":145},962094248482,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","| | CH32V004 Datasheet\u003Cbr>V1.7 |\n| --- | --- |\n\nOverview  \nCH32V004 is a general-purpose microcontroller designed based on QingKe RISC-V core, supporting 48MHz system main frequency, with wide voltage, low-power consumption, 1-wire SDI and other features. Its pins and functions are compatible with CH32V003 . CH32V004 has a built-in 12-bit ADC, with a sampling rate of up to 3Msps; it provides rich peripheral resources, such as 7-channel DMA controller, multi-group timer, USART, I2C, SPI and so on.  \nFeatures  \n􀀠 Core  \n-QingKe 32-bit RISC-V core, RV32EmC instruction set  \n-Fast programmable interrupt controller + hardware interrupt stack  \n-Support 2-level interrupt nesting  \n-Support system main frequency 48MHz  \n􀀠 Memory  \n-6KB volatile data storage area SRAM  \n-32KB program memory CodeFlash  \n-3328B BootLoader  \n-256B non-volatile system configuration  \nmemory  \n-256B user-defined memory  \n􀀠 Power management and low-power consumption  \n-System power supply VDD: 2.7~5V  \n-Low-power mode: Sleep, Standby  \n􀀠 Clock & Reset  \n-Built-in factory-trimmed 24MHz RC oscillator  \n-Built-in 128KHz RC oscillator  \n-High-speed external 3~25MHz oscillator  \n-Built-in system clock monitoring (SCM)  \nmodule  \n-Power on/down reset, programmable voltage detector  \n􀀠 7-channel general-purpose DMA controller  \n-7 channels, support ring buffer  \n-Support TIMx/ADC/USART/I2C/SPI  \n􀀠 12-bit ADC  \n-Analog input range: VSS~VDD  \n-8 external signals + 3 internal signals  \n-Support 3M sampling rate  \n􀀠 Multiple timers  \n-16-bit advanced-control timer, with dead zone control and emergency brake; can offer PWM complementary output for motor control  \n-16-bit general-purpose timer, provide input capture/output comparison/PWM/pulse counting/incremental encoder input  \n-2 watchdog timers (independent watchdog and window watchdog)  \n-SysTick: 32-bit counter  \n􀀠 1 set ofUSART  \n-Support LIN, support multiple pin mapping  \n􀀠 I2C interface  \n􀀠 SPI interface  \n􀀠 GPIO port  \n-3 sets of GPIO ports, 18 I/O ports  \n-Mapping 1 external interrupt  \n􀀠 Security features: Chip unique ID  \n􀀠 Debug mode: 1-wire serial debug interface (SDI)  \n􀀠 Package: QFN, TSSOP  \n\n| Model | Code\u003Cbr>FLASH | RAM | GPIO | ADTM | GPTM | Watchdog | ADC | Serial\u003Cbr>port | I2C | SPI | Package form |\n| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |\n| CH32V004F6P1 | 32K | 6K | 18 | 1 | 1 | 2 | 8+3 | 1 | 1 | 1 | TSSOP20 |\n| CH32V004F6U1 | 32K | 6K | 18 | 1 | 1 | 2 | 8+3 | 1 | 1 | 1 | QFN20 |\n\nChapter 1 Specification Information  \n1.1 System Structure  \nThe microcontroller is based on the RISC-V instruction set design, its architecture will be QingKe microprocessor core, arbitration unit, DMA module, SRAM storage and other components through multiple buses to achieve interaction. The design integrates a general-purpose DMA controller to reduce the burden on the CPU, improve access efficiency. Multi-level clock management mechanism is applied to reduce the power consumption of peripherals, while both data protection mechanisms, automatic clock switching protection and other measures to increase system stability. The following diagram shows the overall architecture.  \nFigure 1-1 System block diagram  \n\n| \u003Cbr>\u003Cbr>\u003Cbr>\u003Cbr>SWIO \u003Cbr>\u003Cbr>I-code Bus\u003Cbr>\u003Cbr>\u003Cbr>\u003Cbr>IN0~IN7\u003Cbr>\u003Cbr>\u003Cbr>4 channels\u003Cbr>3 complementary channels  ETR, BKIN  \u003Cbr>\u003Cbr>4 channels ETR ~~ ~~\u003Cbr>IN8(VREF+,VREF- )， IN10(VCAL)\u003Cbr>\u003Cbr>\u003Cbr>\u003Cbr>\u003Cbr>\u003Cbr>\u003Cbr> TIM2 \u003Cbr>\u003Cbr>\u003Cbr>\u003Cbr>VDD\u003Cbr>\u003Cbr>TX, RX, CTS, RTS\u003Cbr>NSS, SCK, MISO, MOSI\u003Cbr>SCL, SDA\u003Cbr>PA1 ~ PA2, PA4\u003Cbr>PC0 ~ PC7\u003Cbr>PD0 ~ PD7\u003Cbr>\u003Cbr>\u003Cbr>FLASH CTRL\u003Cbr>Flash Memory\u003Cbr>RISC-V (V2C)\u003Cbr>PFIC RV32EmC 1-wire SDI\u003Cbr>DMA Channels\u003Cbr>SRAM\u003Cbr>\u003Cbr>\u003Cbr>AFIO\u003Cbr>I2C\u003Cbr>GPIOA\u003Cbr>@VDD\u003Cbr>\u003Cbr>SPI\u003Cbr>USART1\u003Cbr>GPIOC\u003Cbr>GPIOD\u003Cbr>TIM1\u003Cbr>\u003Cbr>ADC\u003Cbr>WWDG\u003Cbr>IWWG\u003Cbr>EXTEN\u003Cbr>PWR\u003Cbr>\u003Cbr>\u003Cbr>EXTI\u003Cbr>MUX\u003Cbr>MUX\u003Cbr>HB F max = 48 MHz\u003Cbr>System Bus\u003Cbr>| XI\u003Cbr>XO |\n| --- | --- |\n\n1.2 Memory Map  \nFigure 1-2 Memory address map  \n\n| 0x1FFF FFFF\u003Cbr>0x1FFF F900\u003Cbr>0x1FFF F800\u003Cbr>0x1FFF F700\u003Cbr>0","cbCaipcu7hJrhvBF","https://ap.wps.com/l/cbCaipcu7hJrhvBF","pdf",670312,42,"English","# Overview\n# Features\n# Chapter 1 Specification Information\n## 1.1 System Structure\n## 1.2 Memory Map\n## 1.3 Clock Tree","[{\"question\":\"What core and operating frequency does CH32V004 use?\",\"answer\":\"CH32V004 uses the QingKe 32-bit RISC-V core (RV32EmC instruction set) and supports a system main frequency up to 48 MHz.\"},{\"question\":\"What analog capabilities and sampling rate are available?\",\"answer\":\"The chip integrates a 12-bit ADC with an analog input range of VSS~VDD and supports sampling rates up to 3 Msps, including 8 external and 3 internal signals.\"},{\"question\":\"Which key peripherals and controllers does CH32V004 provide?\",\"answer\":\"It includes a 7-channel general-purpose DMA controller supporting ring buffers, multi-group timers (advanced-control and general-purpose), and serial interfaces such as USART, I2C, and SPI.\"}]","CH32V004 Datasheet - Version 1.7 | PDF",106,[146,150,154,158,162],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/86a46e05845c57e93d10244800abc1d4.webp",983,1390,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/499a59bf4fa95a581a797591bbc2bbb1.webp",982,1388,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/ce987bfc18ae9ff57d89d8d687049585.webp",981,1387,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/de1aaed20ee8f042cf308fd7c5a4a7ef.webp",980,1385,{"page_no":24,"url":163,"width":164,"height":165},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/9dd8191e5c7cdc531a790da3df507704.webp",979,1384,{"list":167,"token":66},[168,174,180,186,192,198,204,210,216,222],{"doc_id":169,"doc_title":170,"file_type":137,"home_preview_img_url":171,"slug":172,"view_count":19,"category_name":30,"create_tm":173},720413,"CH32V003 Datasheet - V1.3","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024394605/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=2qbgsvrKjF8M0LJknbaJtJbTxb8%3D","ch32v003-datasheet-v13",1795037154,{"doc_id":175,"doc_title":176,"file_type":137,"home_preview_img_url":177,"slug":178,"view_count":24,"category_name":30,"create_tm":179},700234,"STM32F446xC/E - Datasheet","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011564540/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=nOHCsRyQUz5nsDzILPvRJuc5UYw%3D","stm32f446xce-datasheet",1794517488,{"doc_id":181,"doc_title":182,"file_type":137,"home_preview_img_url":183,"slug":184,"view_count":34,"category_name":30,"create_tm":185},700211,"PY32E407-B1 Datasheet - 32-bit ARM® Cortex®-M4F Microcontroller","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012017950/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=K9yK7hQC%2FsrDqQJbyd5RvqmZqEU%3D","py32e407-b1-datasheet-32-bit-arm-cortex-m4f-microcontroller",1794517035,{"doc_id":187,"doc_title":188,"file_type":137,"home_preview_img_url":189,"slug":190,"view_count":39,"category_name":30,"create_tm":191},700816,"AT91SAM7S128 - ARM Thumb Microcontroller Features - Preliminary","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012037853/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=d58O12tKgaXV9%2BhHhiLUtGBublI%3D","at91sam7s128-arm-thumb-microcontroller-features-preliminary",1794521055,{"doc_id":193,"doc_title":194,"file_type":137,"home_preview_img_url":195,"slug":196,"view_count":24,"category_name":30,"create_tm":197},700202,"PY32MD310 Datasheet - Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012016736/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=uWxU4VqHWTBM6I8UeRnEly2R3fE%3D","py32md310-datasheet-overview",1794516773,{"doc_id":199,"doc_title":200,"file_type":137,"home_preview_img_url":201,"slug":202,"view_count":29,"category_name":30,"create_tm":203},720396,"ATmega32 - AVR 8-bit Microcontroller Features","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024394337/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=PL7WhW2Q%2Bs1HZe7mRlvik0BXVBw%3D","atmega32-avr-8-bit-microcontroller-features",1795037091,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":29,"category_name":30,"create_tm":209},700199,"HT32F50231/HT32F50241 Datasheet - Revision V1.50 - Technical overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012016728/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=YAna24P%2B3dOpKlUqiUqPQ4vqoi0%3D","ht32f50231ht32f50241-datasheet-revision-v150-technical-overview",1794516768,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":29,"category_name":30,"create_tm":215},720202,"ATmega328/P - Datasheet Summary - Overview - Atmel-42735A","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024387904/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=x%2FNs6dabOmCnkbknoMX464Jtz10%3D","atmega328p-datasheet-summary-overview-atmel-42735a",1795035377,{"doc_id":217,"doc_title":218,"file_type":137,"home_preview_img_url":219,"slug":220,"view_count":24,"category_name":30,"create_tm":221},720211,"ATmega48A/48PA/88A/88PA/168A/168PA/328P - 8-bit Microcontroller Features and Pin Configurations","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024388182/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=zFbpxUddyzTM0sYKQagmFc%2ByY%2Fk%3D","atmega48a48pa88a88pa168a168pa328p-8-bit-microcontroller-features-and-pin-configurations",1795035433,{"doc_id":223,"doc_title":224,"file_type":137,"home_preview_img_url":225,"slug":226,"view_count":29,"category_name":30,"create_tm":227},720212,"STM32F03C8T6","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024388467/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=aDpWmOYAAVu1g5Gzo3huDehmTD8%3D","stm32f03c8t6",1795035480]