main
Download ZIP Propose a change
Generated by kicad-footprint-generator · KiCad file format 20260206
Name Last commit message Last updated
docs Publish 0.1.0 · Ray 4h ago
viewers hc32f003c4pa-tssop20tr: viewers · Ray 4h ago
hc32f003c4pa-tssop20tr-etched.glb Publish 0.1.0 · Ray 4h ago
hc32f003c4pa-tssop20tr-etched.step hc32f003c4pa-tssop20tr: factory component page (tier=lcsc) · Ray 4h ago
hc32f003c4pa-tssop20tr-hero.glb hc32f003c4pa-tssop20tr: hero GLB from the etched model (keeps the MPN mark) · Ray 4h ago
hc32f003c4pa-tssop20tr-hero.overlay.json Publish 0.1.0 · Ray 4h ago
hc32f003c4pa-tssop20tr.glb Publish 0.1.0 · Ray 4h ago
hc32f003c4pa-tssop20tr.kicad_mod Publish 0.1.0 · Ray 4h ago
hc32f003c4pa-tssop20tr.kicad_sym Publish 0.1.0 · Ray 4h ago
hc32f003c4pa-tssop20tr.lbr Publish 0.1.0 · Ray 4h ago
hc32f003c4pa-tssop20tr.step Publish 0.1.0 · Ray 4h ago
package.json Publish 0.1.0 · Ray 4h ago
page.json Set visibility: public · Ray 4h ago
README.md Publish 0.1.0 · Ray 4h ago

HC32F003C4PA-TSSOP20TR

XHSC · Microcontrollers (MCU/MPU/SOC) · TSSOP-20

HC32F003C4PA-TSSOP20TR from XHSC, in a TSSOP-20. Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model); symbol, footprint, and 3D from KiCad-official CAD.

Pinout

Pin Name Type Function
1 AIN4/VCIN4/P34 bidirectional General-purpose digital I/O P34, also analog input AIN4 / comparator input VC4, with PCA_CH0, TIM5_CHA, TIM0_EXT, TIM4_CHA and TIM1_TOG alternate functions.
2 AIN5/VCIN5/P35 bidirectional General-purpose digital I/O P35 (datasheet recommends reserving P35 and P36 as the ISP programming interface), also analog input AIN5 / VC5, with UART1_TXD, UART0_TXD, TIM6_CHB, TIM0_GATE, TIM4_CHB, SPI_MISO and I2C_SDA alternate functions.
3 AIN6/VCIN6/AVREF/P36 bidirectional General-purpose digital I/O P36 (datasheet recommends reserving P35 and P36 as the ISP programming interface), also analog input AIN6 / VC6 and AVREF external reference input, with UART1_RXD, UART0_RXD, TIM6_CHA, PCA_CH4, TIM5_CHA, SPI_MOSI and I2C_SCL alternate functions.
4 RESETB/P00 input RESETB is the active-low chip reset input with an internal pull-up that cannot be disconnected (about 80 kΩ at VIN = VSS); the pin can also be used as digital input P00.
5 XTHI/AIN7/VCIN7/P01 bidirectional General-purpose digital I/O P01, also external high-speed crystal oscillator input XTHI (4~32 MHz crystal), analog input AIN7 / VC7, with UART0_RXD, I2C_SDA, UART1_TXD, TIM0_TOG, TIM5_CHB, SPI_SCK and TIM2_EXT alternate functions.
6 XTHO/AIN8/P02 bidirectional General-purpose digital I/O P02, also external high-speed crystal oscillator output XTHO and analog input AIN8, with UART0_TXD, I2C_SCL, UART1_RXD, TIM0_TOGN, TIM6_CHA, SPI_CS and TIM2_GATE alternate functions.
7 AVSS/DVSS power_in Ground (GND) for the analog and digital supply domains; all DVSS and AVSS pins must always be connected to the external supply system.
8 VCAP power_out Output of the internal LDO core supply, for internal circuit use only; a 4.7 uF capacitor must be connected to this pin.
9 AVCC/DVCC power_in Chip power supply, 1.8 to 5.5 V for both analog and digital domains; a decoupling capacitor must be placed as close as possible to this pin.
10 LVDIN1/P03 bidirectional General-purpose digital I/O P03, also LVD monitor input LVDIN1, with PCA_CH3, SPI_CS, TIM6_CHB, PCA_ECI and VC0_OUT alternate functions.
11 P15 bidirectional General-purpose digital I/O P15, with I2C_SDA, TIM2_TOG, TIM4_CHB, SPI_SCK, UART0_RXD and LVD_OUT alternate functions.
12 P14 bidirectional General-purpose digital I/O P14, with I2C_SCL, TIM2_TOGN, PCA external clock input (ECI), ADC_RDY, SPI_CS and UART0_TXD alternate functions.
13 P23/LVDIN2/VCIN0 bidirectional General-purpose digital I/O P23, also LVD monitor input LVDIN2 / comparator input VC0, with TIM6_CHA, TIM4_CHB, TIM4_CHA, PCA_CH0, SPI_MISO, UART1_TXD and IR_OUT (38 kHz carrier output) alternate functions.
14 P24/AIN0 bidirectional General-purpose digital I/O P24, also analog input AIN0, with TIM4_CHB, TIM5_CHB, HCLK_OUT, PCA_CH1, SPI_MOSI, UART1_RXD and VC1_OUT alternate functions.
15 P25/LVDIN3/VC1 bidirectional General-purpose digital I/O P25, also LVD monitor input LVDIN3 / comparator input VC1, with SPI_SCK, PCA_CH0, TIM5_CHA, LVD_OUT, I2C_SDA and TIM1_GATE alternate functions.
16 P26/AIN1 bidirectional General-purpose digital I/O P26, also analog input AIN1, with SPI_MOSI, TIM4_CHA, TIM5_CHB, PCA_CH2, I2C_SCL and TIM1_EXT alternate functions.
17 P27/SWDIO bidirectional General-purpose digital I/O P27, also SWD debug data pin SWDIO (one of the SWD/ISP programming pin options), with SPI_MISO, TIM5_CHA, TIM6_CHA, PCA_CH3, UART0_RXD, RCH_OUT and XTH_OUT alternate functions.
18 P31/SWCLK bidirectional General-purpose digital I/O P31, also SWD debug clock pin SWCLK (one of the SWD/ISP programming pin options), with PCA_ECI, PCLK_OUT, VC0OUT, UART0_TXD, RCL_OUT and HCLK_OUT alternate functions.
19 P32/AIN2/VCIN2 bidirectional General-purpose digital I/O P32, also analog input AIN2 / VC2, with PCA_CH2, TIM6_CHB, VC1OUT, UART1_TXD and PCA_CH4 alternate functions.
20 P33/AIN3/VCIN3 bidirectional General-purpose digital I/O P33, also analog input AIN3 / VC3, with PCA_CH1, TIM5_CHB, PCA_ECI, UART1_RXD and TIM1_TOGN alternate functions.

Key specifications

Parameter Value
Manufacturer XHSC
Package TSSOP-20
Category Embedded Processors & Controllers
Pins 20

Electrical characteristics

Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).

Parameter Symbol Min Typ Max Unit Conditions Page
Supply voltage VCC-VSS (external main supply incl. AVCC/DVCC) VCC - VSS -0.3 5.5 V 27
Voltage difference between supply pins / ΔVCCx / 50 mV 27
Voltage difference between ground pins / VSSx - VSS / 50 mV 27
Total supply current through DVCC/AVCC IVCC 300 mA 27
Total ground current through VSS IVSS 300 mA 27
Output sink current, any I/O and control pin IIO 25 mA 27
Output current, any I/O and control pin IIO -25 mA 27
RESETB pin injection current IINJ(PIN) -5 5 mA 27
XTHI and XTLI pin injection current IINJ(PIN) -5 5 mA 27
Injection current, other pins IINJ(PIN) -5 5 mA 27
Sum of injection current, all I/O and control pins ∑IINJ(PIN) -25 25 mA 27
Storage temperature range TSTG -60 150 ℃ 27
Operating voltage (TSSOP20, -40~85℃ grade) 1.8 5.5 V 63
Operating temperature (-40~85℃ grade) -40 85 ℃ 63
External input voltage range Vex 0 V 31
Internal 2.5V Reference Voltage VREF25 2.475 2.5 2.525 V 常温25°C 3.3V 32
Internal 2.5V Reference Voltage VREF25 2.463 2.5 2.525 V -4085°C 2.85.5V 32
Internal 1.5V Reference Voltage VREF15 1.485 1.5 1.515 V 常温25°C 3.3V 32
Internal 1.5V Reference Voltage VREF15 1.477 1.5 1.519 V -4085°C 1.85.5V 32
IDD (Run mode) 4M IDD 700 970 μA All peripherals clock ON, Run while(1) in Flash, VCAP=1.55V, VDD=1.8-5.5V, RCH clock source, 4M 32
IDD (Run mode) 8M IDD 1350 1770 μA All peripherals clock ON, Run while(1) in Flash, VCAP=1.55V, VDD=1.8-5.5V, RCH clock source, 8M 32
IDD (Run mode) 16M IDD 2500 3310 μA All peripherals clock ON, Run while(1) in Flash, VCAP=1.55V, VDD=1.8-5.5V, RCH clock source, 16M 32
IDD (Run mode) 24M IDD 3600 4740 μA All peripherals clock ON, Run while(1) in Flash, VCAP=1.55V, VDD=1.8-5.5V, RCH clock source, 24M 32
IDD (Run mode, all peripheral clock OFF) 4M IDD 550 830 μA All peripheral clock OFF, Run while(1) in Flash, VCAP=1.55V, VDD=1.8-5.5V, RCH clock source, 4M 33
IDD (Run mode, all peripheral clock OFF) 8M IDD 1050 1440 μA All peripheral clock OFF, Run while(1) in Flash, VCAP=1.55V, VDD=1.8-5.5V, RCH clock source, 8M 33
IDD (Run mode, all peripheral clock OFF) 16M IDD 1900 2650 μA All peripheral clock OFF, Run while(1) in Flash, VCAP=1.55V, VDD=1.8-5.5V, RCH clock source, 16M 33
IDD (Run mode, all peripheral clock OFF) 24M IDD 2700 3640 μA All peripheral clock OFF, Run while(1) in Flash, VCAP=1.55V, VDD=1.8-5.5V, RCH clock source, 24M 33
IDD (Sleep mode, all peripheral clock ON) 4M IDD 260 310 μA All peripheral clock ON, VCAP=1.55V, VDD=1.8-5.5V, RCH clock source, 4M 33
IDD (Sleep mode, all peripheral clock ON) 8M IDD 500 580 μA All peripheral clock ON, VCAP=1.55V, VDD=1.8-5.5V, RCH clock source, 8M 33
IDD (Sleep mode, all peripheral clock ON) 16M IDD 950 1070 μA All peripheral clock ON, VCAP=1.55V, VDD=1.8-5.5V, RCH clock source, 16M 33
IDD (Sleep mode, all peripheral clock ON) 24M IDD 1400 1570 μA All peripheral clock ON, VCAP=1.55V, VDD=1.8-5.5V, RCH clock source, 24M 33
IDD (Sleep mode, all peripheral clock OFF) 4M IDD 110 140 μA All peripheral clock OFF, VCAP=1.55V, VDD=1.8-5.5V, RCH clock source, 4M 33
IDD (Sleep mode, all peripheral clock OFF) 8M IDD 190 240 μA All peripheral clock OFF, VCAP=1.55V, VDD=1.8-5.5V, RCH clock source, 8M 33
IDD (Sleep mode, all peripheral clock OFF) 16M IDD 330 400 μA All peripheral clock OFF, VCAP=1.55V, VDD=1.8-5.5V, RCH clock source, 16M 33
IDD (Sleep mode, all peripheral clock OFF) 24M IDD 470 560 μA All peripheral clock OFF, VCAP=1.55V, VDD=1.8-5.5V, RCH clock source, 24M 33
IDD (DeepSleep, all peripherals clock OFF except WDT) IDD 1.32 1.5 μA All peripherals clock OFF except WDT, VCAP=1.55V, VDD=1.8-5.5V, TA = −40~25℃ 33
IDD (DeepSleep, all peripherals clock OFF except WDT) IDD 1.65 2 μA All peripherals clock OFF except WDT, VCAP=1.55V, VDD=1.8-5.5V, TA = 50℃ 33
IDD (DeepSleep, all peripherals clock OFF except WDT) IDD 3.41 4.1 μA All peripherals clock OFF except WDT, VCAP=1.55V, VDD=1.8-5.5V, TA = 85℃ 33
IDD (DeepSleep, all peripherals clock OFF) IDD 0.46 0.7 μA All peripherals clock OFF, VCAP=1.55V, VDD=1.8-5.5V, TA = −40~25℃ 33
IDD (DeepSleep, all peripherals clock OFF) IDD 0.83 1.1 μA All peripherals clock OFF, VCAP=1.55V, VDD=1.8-5.5V, TA = 50℃ 33
IDD (DeepSleep, all peripherals clock OFF) IDD 2.42 3 μA All peripherals clock OFF, VCAP=1.55V, VDD=1.8-5.5V, TA = 85℃ 33

CAD (KiCad official)

  • Symbol: HC32F003C4PA-TSSOP20TR
  • Footprint: Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm
  • 3D model: TSSOP-20 (KiCad packages3D, STEP)
  • 3D model files: hc32f003c4pa-tssop20tr-etched.step / hc32f003c4pa-tssop20tr-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); hc32f003c4pa-tssop20tr.step / hc32f003c4pa-tssop20tr.glb are the bare package body.

Provenance

Data extracted from the manufacturer datasheet, not a distributor listing:

  • Datasheet: XHSC datasheet (65 pp, sha256 74fd2ff9aa2d5d16, retrieved 2026-10-18, tier: lcsc)
  • Datasheet language: Chinese. Pin names, descriptions, and specs on this page were extracted and translated to English by ds2sf; the linked PDF is the manufacturer original.
  • Extractor: parts-factory 2.0.0 / extract_pins 0.3, primary claude-haiku-5-5 (text), consensus claude-sonnet-5-5 (agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish.
  • CAD: KiCad official libraries (CC-BY-SA 4.0).

Datasheet PDF