component
HC32F4A0RGTB-LQFP144
Public Made by Adomby adom
XHSC Microcontroller Units (MCUs/MPUs/SOCs), LQFP-144(20x20). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
HC32F4A0RGTB-LQFP144
XHSC · Microcontroller Units (MCUs/MPUs/SOCs) · LQFP-144(20x20)
HC32F4A0RGTB-LQFP144 from XHSC, in a LQFP-144(20x20). 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 | PE2 | bidirectional | GPIO PE2 with EIRQ2, TRACECLK, FCMREF and FG2 serial function group; 5V tolerant. |
| 2 | PE3 | bidirectional | GPIO PE3 with EIRQ3, TRACED0 and FG2 serial function group; 5V tolerant. |
| 3 | PE4 | bidirectional | GPIO PE4 with EIRQ4, TRACED1 and FG2 serial function group; 5V tolerant. |
| 4 | PE5 | bidirectional | GPIO PE5 with EIRQ5, TRACED2, CTCREF and FG2 serial function group; 5V tolerant. |
| 5 | PE6 | bidirectional | GPIO PE6 with EIRQ6, TRACED3 and FG2 serial function group; 5V tolerant. |
| 6 | VBAT | power_in | Backup battery supply (1.65 to 3.6 V); short to VCC with a 100 nF decoupling capacitor when unused. |
| 7 | PC13 | bidirectional | GPIO PC13 with RTCIC0 timestamp input, EIRQ13/WKUP3_1 and RTC_OUT; sink/source current of PC13, PC14, PC15 and PI8 together limited to 20 mA. |
| 8 | PC14 | bidirectional | GPIO PC14 / XTAL32_OUT external 32 kHz oscillator output with EIRQ14. |
| 9 | PC15 | bidirectional | GPIO PC15 / XTAL32_IN external 32 kHz oscillator input with EIRQ15. |
| 10 | PF0 | bidirectional | GPIO PF0 with EIRQ0, MCO_1 clock output and FG3 serial function group. |
| 11 | PF1 | bidirectional | GPIO PF1 with EIRQ1 and FG3 serial function group. |
| 12 | PF2 | bidirectional | GPIO PF2 with EIRQ2 and FG3 serial function group. |
| 13 | PF3 | bidirectional | GPIO PF3 with ADC3_IN9 analog input, EIRQ3 and FG3 serial function group. |
| 14 | PF4 | bidirectional | GPIO PF4 with ADC3_IN14 analog input, EIRQ4 and FG3 serial function group. |
| 15 | PF5 | bidirectional | GPIO PF5 with ADC3_IN15 analog input, EIRQ5 and FG3 serial function group. |
| 16 | VSS | power_in | Digital ground (0 V). |
| 17 | VCC | power_in | Digital supply, 1.8 to 3.6 V, decoupled to VSS close to the pin. |
| 18 | PF6 | bidirectional | GPIO PF6 with ADC3_IN4 analog input, EIRQ6 and FG3 serial function group. |
| 19 | PF7 | bidirectional | GPIO PF7 with ADC3_IN5 analog input, EIRQ7 and FG3 serial function group. |
| 20 | PF8 | bidirectional | GPIO PF8 with ADC3_IN6 analog input, EIRQ8 and FG3 serial function group. |
| 21 | PF9 | bidirectional | GPIO PF9 with ADC3_IN7 analog input, EIRQ9 and FG3 serial function group. |
| 22 | PF10 | bidirectional | GPIO PF10 with ADC3_IN8 analog input, EIRQ10 and FG3 serial function group. |
| 23 | PH0 | bidirectional | GPIO PH0 / XTAL_IN external main (4-25 MHz) oscillator input with EIRQ0. |
| 24 | PH1 | bidirectional | GPIO PH1 / XTAL_OUT external main oscillator output with EIRQ1. |
| 25 | NRST | input | Active-low reset pin; connect a pull-up resistor to VCC when unused. |
| 26 | PC0 | bidirectional | GPIO PC0 with ADC123_IN10, CMP3_INP4, EIRQ0 and FG3 serial function group. |
| 27 | PC1 | bidirectional | GPIO PC1 with ADC123_IN11, EIRQ1 and FG3 serial function group. |
| 28 | PC2 | bidirectional | GPIO PC2 with ADC123_IN12, EIRQ2 and FG3 serial function group. |
| 29 | PC3 | bidirectional | GPIO PC3 with ADC123_IN13, CMP1_INM4, EIRQ3 and FG3 serial function group. |
| 30 | VCC | power_in | Digital supply, 1.8 to 3.6 V, decoupled to VSS close to the pin. |
| 31 | AVSS_VREFL | power_in | Analog ground and VREFL reference ground shared pin; same voltage as VSS. |
| 32 | VREFH | power_in | Analog reference voltage, must not exceed AVCC; short to AVCC when ADC is unused. |
| 33 | AVCC | power_in | Analog supply, same voltage as VCC (1.8 to 3.6 V); short to VCC if analog unused. |
| 34 | PA0 | bidirectional | GPIO PA0 with ADC123_IN0, PGA_1 input, EIRQ0/WKUP0_0; not 5V tolerant. |
| 35 | PA1 | bidirectional | GPIO PA1 with ADC123_IN1, PGA_2 input, EIRQ1; not 5V tolerant. |
| 36 | PA2 | bidirectional | GPIO PA2 with ADC123_IN2, PGA_3 input, EIRQ2; not 5V tolerant. |
| 37 | PA3 | bidirectional | GPIO PA3 with ADC123_IN3, PGA123_VSS ground input, CMP1_INP4 and EIRQ3. |
| 38 | AVSS | power_in | Analog ground, same voltage as VSS. |
| 39 | AVCC | power_in | Analog supply, same voltage as VCC (1.8 to 3.6 V). |
| 40 | PA4 | bidirectional | GPIO PA4 with ADC12_IN4, DAC1_OUT1, CMP2_INP3 and EIRQ4. |
| 41 | PA5 | bidirectional | GPIO PA5 with ADC12_IN5, DAC1_OUT2, CMP2_INP4 and EIRQ5. |
| 42 | PA6 | bidirectional | GPIO PA6 with ADC12_IN6, PGA_4 input, CMP1_INP2 and EIRQ6; not 5V tolerant. |
| 43 | PA7 | bidirectional | GPIO PA7 with ADC12_IN7, PGA4_VSS ground input, CMP123_INM3 and EIRQ7. |
| 44 | PC4 | bidirectional | GPIO PC4 with ADC12_IN14, DAC2_OUT1, CMP2_INM4 and EIRQ4. |
| 45 | PC5 | bidirectional | GPIO PC5 with ADC12_IN15, DAC2_OUT2, CMP3_INM4 and EIRQ5. |
| 46 | PB0 | bidirectional | GPIO PB0 with ADC12_IN8, CMP3_INP2 and EIRQ0. |
| 47 | PB1 | bidirectional | GPIO PB1 with ADC12_IN9, CMP3_INP3 and EIRQ1/WKUP0_1. |
| 48 | PB2 | bidirectional | GPIO PB2 with PVD2EXINP external PVD2 comparison input, EIRQ2/WKUP0_2 and VCOUT. |
| 49 | PF11 | bidirectional | GPIO PF11 with EIRQ11 and FG1 serial function group. |
| 50 | PF12 | bidirectional | GPIO PF12 with EIRQ12 and FG1 serial function group. |
| 51 | VSS | power_in | Digital ground (0 V). |
| 52 | VCC | power_in | Digital supply, 1.8 to 3.6 V, decoupled to VSS close to the pin. |
| 53 | PF13 | bidirectional | GPIO PF13 with EIRQ13 and FG2 serial function group. |
| 54 | PF14 | bidirectional | GPIO PF14 with EIRQ14 and FG2 serial function group. |
| 55 | PF15 | bidirectional | GPIO PF15 with EIRQ15 and FG2 serial function group. |
| 56 | PG0 | bidirectional | GPIO PG0 with EIRQ0 and FG2 serial function group. |
| 57 | PG1 | bidirectional | GPIO PG1 with EIRQ1 and FG2 serial function group. |
| 58 | PE7 | bidirectional | GPIO PE7 with EIRQ7, ADTRG1 external ADC1 trigger and FG2 serial function group. |
| 59 | PE8 | bidirectional | GPIO PE8 with EIRQ8, CTCREF and FG2 serial function group. |
| 60 | PE9 | bidirectional | GPIO PE9 with EIRQ9, ADTRG3 external ADC3 trigger and FG2 serial function group. |
| 61 | VSS | power_in | Digital ground (0 V). |
| 62 | VCC | power_in | Digital supply, 1.8 to 3.6 V, decoupled to VSS close to the pin. |
| 63 | PE10 | bidirectional | GPIO PE10 with CMP1_INP3, EIRQ10 and FG3 serial function group. |
| 64 | PE11 | bidirectional | GPIO PE11 with EIRQ11 and FG3 serial function group. |
| 65 | PE12 | bidirectional | GPIO PE12 with CMP4_INM3, EIRQ12 and FG3 serial function group. |
| 66 | PE13 | bidirectional | GPIO PE13 with CMP4_INM4, EIRQ13 and FG3 serial function group. |
| 67 | PE14 | bidirectional | GPIO PE14 with CMP4_INP3, EIRQ14 and FG3 serial function group. |
| 68 | PE15 | bidirectional | GPIO PE15 with CMP4_INP4, EIRQ15 and FG3 serial function group. |
| 69 | PB10 | bidirectional | GPIO PB10 with EIRQ10, ADTRG2 external ADC2 trigger and FG3 serial function group. |
| 70 | PB11 | bidirectional | GPIO PB11 with EIRQ11 and FG3 serial function group. |
| 71 | VCAP_1 | passive | Core voltage regulator capacitor pin; connect 0.047 uF or 0.1 uF (ESR < 0.3 ohm) to VSS. |
| 72 | VCC | power_in | Digital supply, 1.8 to 3.6 V, decoupled to VSS close to the pin. |
| 73 | PB12 | bidirectional | GPIO PB12 with EIRQ12, VCOUT1 and FG1 serial function group. |
| 74 | PB13 | bidirectional | GPIO PB13 with EIRQ13, VCOUT2 and FG1 serial function group. |
| 75 | PB14 | bidirectional | GPIO PB14 / USBHS_DM on-chip USB PHY D- signal with EIRQ14; not 5V tolerant. |
| 76 | PB15 | bidirectional | GPIO PB15 / USBHS_DP on-chip USB PHY D+ signal with EIRQ15; not 5V tolerant. |
| 77 | PD8 | bidirectional | GPIO PD8 with EIRQ8, VCOUT4 and FG1 serial function group. |
| 78 | PD9 | bidirectional | GPIO PD9 with EIRQ9, VCOUT3 and FG1 serial function group. |
| 79 | PD10 | bidirectional | GPIO PD10 with EIRQ10 and FG1 serial function group. |
| 80 | PD11 | bidirectional | GPIO PD11 with EIRQ11 and FG1 serial function group. |
| 81 | PD12 | bidirectional | GPIO PD12 with EIRQ12 and FG3 serial function group. |
| 82 | PD13 | bidirectional | GPIO PD13 with EIRQ13 and FG3 serial function group. |
| 83 | VSS | power_in | Digital ground (0 V). |
| 84 | VCC | power_in | Digital supply, 1.8 to 3.6 V, decoupled to VSS close to the pin. |
| 85 | PD14 | bidirectional | GPIO PD14 with EIRQ14, ADTRG1 and FG3 serial function group. |
| 86 | PD15 | bidirectional | GPIO PD15 with EIRQ15, ADTRG2 and FG3 serial function group. |
| 87 | PG2 | bidirectional | GPIO PG2 with EIRQ2, ADTRG3 and FG3 serial function group. |
| 88 | PG3 | bidirectional | GPIO PG3 with EIRQ3 and FG3 serial function group. |
| 89 | PG4 | bidirectional | GPIO PG4 with EIRQ4 and FG3 serial function group. |
| 90 | PG5 | bidirectional | GPIO PG5 with EIRQ5 and FG3 serial function group. |
| 91 | PG6 | bidirectional | GPIO PG6 with EIRQ6 and FG3 serial function group. |
| 92 | PG7 | bidirectional | GPIO PG7 with EIRQ7 and FG3 serial function group. |
| 93 | PG8 | bidirectional | GPIO PG8 with EIRQ8 and FG3 serial function group. |
| 94 | VSS | power_in | Digital ground (0 V). |
| 95 | VCC | power_in | Digital supply, 1.8 to 3.6 V, decoupled to VSS close to the pin. |
| 96 | PC6 | bidirectional | GPIO PC6 with EIRQ6, CTCREF and FG3 serial function group. |
| 97 | PC7 | bidirectional | GPIO PC7 with EIRQ7 and FG3 serial function group. |
| 98 | PC8 | bidirectional | GPIO PC8 with EIRQ8 and FG2 serial function group. |
| 99 | PC9 | bidirectional | GPIO PC9 with EIRQ9, MCO_2 clock output and FG2 serial function group. |
| 100 | PA8 | bidirectional | GPIO PA8 with EIRQ8/WKUP2_0, MCO_1 clock output and FG2 serial function group. |
| 101 | PA9 | bidirectional | GPIO PA9 with EIRQ9/WKUP2_1 and FG2 serial function group. |
| 102 | PA10 | bidirectional | GPIO PA10 with EIRQ10/WKUP2_2 and FG2 serial function group. |
| 103 | PA11 | bidirectional | GPIO PA11 / USBFS_DM on-chip USB PHY D- signal with EIRQ11/WKUP2_3; not 5V tolerant. |
| 104 | PA12 | bidirectional | GPIO PA12 / USBFS_DP on-chip USB PHY D+ signal with EIRQ12/WKUP3_0; not 5V tolerant. |
| 105 | PA13 | bidirectional | GPIO PA13 / JTMS_SWDIO debug interface data I/O with EIRQ13 and FG2 serial function group. |
| 106 | VCAP_2 | passive | Core voltage regulator capacitor pin; connect 0.047 uF or 0.1 uF (ESR < 0.3 ohm) to VSS. |
| 107 | VSS | power_in | Digital ground (0 V). |
| 108 | VCC | power_in | Digital supply, 1.8 to 3.6 V, decoupled to VSS close to the pin. |
| 109 | PA14 | bidirectional | GPIO PA14 / JTCK_SWCLK debug clock input with EIRQ14/WKUP3_2. |
| 110 | PA15 | bidirectional | GPIO PA15 / JTDI debug data input with EIRQ15/WKUP3_3. |
| 111 | PC10 | bidirectional | GPIO PC10 with EIRQ10 and FG3 serial function group. |
| 112 | PC11 | bidirectional | GPIO PC11 with EIRQ11 and FG3 serial function group. |
| 113 | PC12 | bidirectional | GPIO PC12 with EIRQ12 and FG3 serial function group. |
| 114 | PD0 | bidirectional | GPIO PD0 with EIRQ0, VCOUT and FG3 serial function group. |
| 115 | PD1 | bidirectional | GPIO PD1 with EIRQ1 and FG3 serial function group. |
| 116 | PD2 | bidirectional | GPIO PD2 with EIRQ2, VCOUT4 and FG3 serial function group. |
| 117 | PD3 | bidirectional | GPIO PD3 with EIRQ3, VCOUT1 and FG3 serial function group. |
| 118 | PD4 | bidirectional | GPIO PD4 with EIRQ4, VCOUT2 and FG2 serial function group. |
| 119 | PD5 | bidirectional | GPIO PD5 with EIRQ5, VCOUT3 and FG2 serial function group. |
| 120 | VSS | power_in | Digital ground (0 V). |
| 121 | VCC | power_in | Digital supply, 1.8 to 3.6 V, decoupled to VSS close to the pin. |
| 122 | PD6 | bidirectional | GPIO PD6 with EIRQ6, ADTRG1 and FG2 serial function group. |
| 123 | PD7 | bidirectional | GPIO PD7 with EIRQ7, ADTRG2 and FG2 serial function group. |
| 124 | PG9 | bidirectional | GPIO PG9 with EIRQ9, ADTRG3 and FG2 serial function group. |
| 125 | PG10 | bidirectional | GPIO PG10 with EIRQ10 and FG2 serial function group. |
| 126 | PG11 | bidirectional | GPIO PG11 with EIRQ11 and FG2 serial function group. |
| 127 | PG12 | bidirectional | GPIO PG12 with EIRQ12 and FG2 serial function group. |
| 128 | PG13 | bidirectional | GPIO PG13 with EIRQ13 and FG2 serial function group. |
| 129 | PG14 | bidirectional | GPIO PG14 with EIRQ14 and FG2 serial function group. |
| 130 | VSS | power_in | Digital ground (0 V). |
| 131 | VCC | power_in | Digital supply, 1.8 to 3.6 V, decoupled to VSS close to the pin. |
| 132 | PG15 | bidirectional | GPIO PG15 with EIRQ15 and FG1 serial function group. |
| 133 | PB3 | bidirectional | GPIO PB3 / JTDO_SWO debug output with EIRQ3/WKUP0_3 and FCMREF. |
| 134 | PB4 | bidirectional | GPIO PB4 / NJTRST JTAG reset input with EIRQ4/WKUP1_0. |
| 135 | PB5 | bidirectional | GPIO PB5 with EIRQ5/WKUP1_1, ADTRG3 and FG1 serial function group. |
| 136 | PB6 | bidirectional | GPIO PB6 with EIRQ6/WKUP1_2, ADTRG2 and FG1 serial function group. |
| 137 | PB7 | bidirectional | GPIO PB7 with EIRQ7/WKUP1_3, ADTRG1 and FG1 serial function group. |
| 138 | PI13/MD | input | Mode input; must be held low when NRST is released, a 4.7 kohm pull-down to VSS is recommended. |
| 139 | PB8 | bidirectional | GPIO PB8 with EIRQ8 and FG1 serial function group. |
| 140 | PB9 | bidirectional | GPIO PB9 with EIRQ9 and FG1 serial function group. |
| 141 | PE0 | bidirectional | GPIO PE0 with EIRQ0, MCO_1 clock output and FG1 serial function group. |
| 142 | PE1 | bidirectional | GPIO PE1 with EIRQ1, MCO_2 clock output and FG1 serial function group. |
| 143 | PI12 | bidirectional | GPIO PI12 with EIRQ12 and FG1 serial function group. |
| 144 | VCC | power_in | Digital supply, 1.8 to 3.6 V, decoupled to VSS close to the pin. |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | XHSC |
| Package | LQFP-144(20x20) |
| Category | Single Chip Microcomputer/Microcontroller |
| Pins | 144 |
CAD (KiCad official)
- Symbol:
HC32F4A0RGTB-LQFP144 - Footprint:
Package_QFP:LQFP-144_20x20mm_P0.5mm - 3D model: LQFP-144(20x20) (KiCad packages3D, STEP)
- 3D model files:
hc32f4a0rgtb-lqfp144-etched.step/hc32f4a0rgtb-lqfp144-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);hc32f4a0rgtb-lqfp144.step/hc32f4a0rgtb-lqfp144.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: XHSC datasheet (145 pp, sha256
c971eaaaa12f48ef, retrieved 2026-10-26, 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, primaryclaude-sonnet-5-5(text), consensusclaude-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).
# HC32F4A0RGTB-LQFP144
**XHSC** · Microcontroller Units (MCUs/MPUs/SOCs) · LQFP-144(20x20)
HC32F4A0RGTB-LQFP144 from XHSC, in a LQFP-144(20x20). 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 | PE2 | bidirectional | GPIO PE2 with EIRQ2, TRACECLK, FCMREF and FG2 serial function group; 5V tolerant. |
| 2 | PE3 | bidirectional | GPIO PE3 with EIRQ3, TRACED0 and FG2 serial function group; 5V tolerant. |
| 3 | PE4 | bidirectional | GPIO PE4 with EIRQ4, TRACED1 and FG2 serial function group; 5V tolerant. |
| 4 | PE5 | bidirectional | GPIO PE5 with EIRQ5, TRACED2, CTCREF and FG2 serial function group; 5V tolerant. |
| 5 | PE6 | bidirectional | GPIO PE6 with EIRQ6, TRACED3 and FG2 serial function group; 5V tolerant. |
| 6 | VBAT | power_in | Backup battery supply (1.65 to 3.6 V); short to VCC with a 100 nF decoupling capacitor when unused. |
| 7 | PC13 | bidirectional | GPIO PC13 with RTCIC0 timestamp input, EIRQ13/WKUP3_1 and RTC_OUT; sink/source current of PC13, PC14, PC15 and PI8 together limited to 20 mA. |
| 8 | PC14 | bidirectional | GPIO PC14 / XTAL32_OUT external 32 kHz oscillator output with EIRQ14. |
| 9 | PC15 | bidirectional | GPIO PC15 / XTAL32_IN external 32 kHz oscillator input with EIRQ15. |
| 10 | PF0 | bidirectional | GPIO PF0 with EIRQ0, MCO_1 clock output and FG3 serial function group. |
| 11 | PF1 | bidirectional | GPIO PF1 with EIRQ1 and FG3 serial function group. |
| 12 | PF2 | bidirectional | GPIO PF2 with EIRQ2 and FG3 serial function group. |
| 13 | PF3 | bidirectional | GPIO PF3 with ADC3_IN9 analog input, EIRQ3 and FG3 serial function group. |
| 14 | PF4 | bidirectional | GPIO PF4 with ADC3_IN14 analog input, EIRQ4 and FG3 serial function group. |
| 15 | PF5 | bidirectional | GPIO PF5 with ADC3_IN15 analog input, EIRQ5 and FG3 serial function group. |
| 16 | VSS | power_in | Digital ground (0 V). |
| 17 | VCC | power_in | Digital supply, 1.8 to 3.6 V, decoupled to VSS close to the pin. |
| 18 | PF6 | bidirectional | GPIO PF6 with ADC3_IN4 analog input, EIRQ6 and FG3 serial function group. |
| 19 | PF7 | bidirectional | GPIO PF7 with ADC3_IN5 analog input, EIRQ7 and FG3 serial function group. |
| 20 | PF8 | bidirectional | GPIO PF8 with ADC3_IN6 analog input, EIRQ8 and FG3 serial function group. |
| 21 | PF9 | bidirectional | GPIO PF9 with ADC3_IN7 analog input, EIRQ9 and FG3 serial function group. |
| 22 | PF10 | bidirectional | GPIO PF10 with ADC3_IN8 analog input, EIRQ10 and FG3 serial function group. |
| 23 | PH0 | bidirectional | GPIO PH0 / XTAL_IN external main (4-25 MHz) oscillator input with EIRQ0. |
| 24 | PH1 | bidirectional | GPIO PH1 / XTAL_OUT external main oscillator output with EIRQ1. |
| 25 | NRST | input | Active-low reset pin; connect a pull-up resistor to VCC when unused. |
| 26 | PC0 | bidirectional | GPIO PC0 with ADC123_IN10, CMP3_INP4, EIRQ0 and FG3 serial function group. |
| 27 | PC1 | bidirectional | GPIO PC1 with ADC123_IN11, EIRQ1 and FG3 serial function group. |
| 28 | PC2 | bidirectional | GPIO PC2 with ADC123_IN12, EIRQ2 and FG3 serial function group. |
| 29 | PC3 | bidirectional | GPIO PC3 with ADC123_IN13, CMP1_INM4, EIRQ3 and FG3 serial function group. |
| 30 | VCC | power_in | Digital supply, 1.8 to 3.6 V, decoupled to VSS close to the pin. |
| 31 | AVSS_VREFL | power_in | Analog ground and VREFL reference ground shared pin; same voltage as VSS. |
| 32 | VREFH | power_in | Analog reference voltage, must not exceed AVCC; short to AVCC when ADC is unused. |
| 33 | AVCC | power_in | Analog supply, same voltage as VCC (1.8 to 3.6 V); short to VCC if analog unused. |
| 34 | PA0 | bidirectional | GPIO PA0 with ADC123_IN0, PGA_1 input, EIRQ0/WKUP0_0; not 5V tolerant. |
| 35 | PA1 | bidirectional | GPIO PA1 with ADC123_IN1, PGA_2 input, EIRQ1; not 5V tolerant. |
| 36 | PA2 | bidirectional | GPIO PA2 with ADC123_IN2, PGA_3 input, EIRQ2; not 5V tolerant. |
| 37 | PA3 | bidirectional | GPIO PA3 with ADC123_IN3, PGA123_VSS ground input, CMP1_INP4 and EIRQ3. |
| 38 | AVSS | power_in | Analog ground, same voltage as VSS. |
| 39 | AVCC | power_in | Analog supply, same voltage as VCC (1.8 to 3.6 V). |
| 40 | PA4 | bidirectional | GPIO PA4 with ADC12_IN4, DAC1_OUT1, CMP2_INP3 and EIRQ4. |
| 41 | PA5 | bidirectional | GPIO PA5 with ADC12_IN5, DAC1_OUT2, CMP2_INP4 and EIRQ5. |
| 42 | PA6 | bidirectional | GPIO PA6 with ADC12_IN6, PGA_4 input, CMP1_INP2 and EIRQ6; not 5V tolerant. |
| 43 | PA7 | bidirectional | GPIO PA7 with ADC12_IN7, PGA4_VSS ground input, CMP123_INM3 and EIRQ7. |
| 44 | PC4 | bidirectional | GPIO PC4 with ADC12_IN14, DAC2_OUT1, CMP2_INM4 and EIRQ4. |
| 45 | PC5 | bidirectional | GPIO PC5 with ADC12_IN15, DAC2_OUT2, CMP3_INM4 and EIRQ5. |
| 46 | PB0 | bidirectional | GPIO PB0 with ADC12_IN8, CMP3_INP2 and EIRQ0. |
| 47 | PB1 | bidirectional | GPIO PB1 with ADC12_IN9, CMP3_INP3 and EIRQ1/WKUP0_1. |
| 48 | PB2 | bidirectional | GPIO PB2 with PVD2EXINP external PVD2 comparison input, EIRQ2/WKUP0_2 and VCOUT. |
| 49 | PF11 | bidirectional | GPIO PF11 with EIRQ11 and FG1 serial function group. |
| 50 | PF12 | bidirectional | GPIO PF12 with EIRQ12 and FG1 serial function group. |
| 51 | VSS | power_in | Digital ground (0 V). |
| 52 | VCC | power_in | Digital supply, 1.8 to 3.6 V, decoupled to VSS close to the pin. |
| 53 | PF13 | bidirectional | GPIO PF13 with EIRQ13 and FG2 serial function group. |
| 54 | PF14 | bidirectional | GPIO PF14 with EIRQ14 and FG2 serial function group. |
| 55 | PF15 | bidirectional | GPIO PF15 with EIRQ15 and FG2 serial function group. |
| 56 | PG0 | bidirectional | GPIO PG0 with EIRQ0 and FG2 serial function group. |
| 57 | PG1 | bidirectional | GPIO PG1 with EIRQ1 and FG2 serial function group. |
| 58 | PE7 | bidirectional | GPIO PE7 with EIRQ7, ADTRG1 external ADC1 trigger and FG2 serial function group. |
| 59 | PE8 | bidirectional | GPIO PE8 with EIRQ8, CTCREF and FG2 serial function group. |
| 60 | PE9 | bidirectional | GPIO PE9 with EIRQ9, ADTRG3 external ADC3 trigger and FG2 serial function group. |
| 61 | VSS | power_in | Digital ground (0 V). |
| 62 | VCC | power_in | Digital supply, 1.8 to 3.6 V, decoupled to VSS close to the pin. |
| 63 | PE10 | bidirectional | GPIO PE10 with CMP1_INP3, EIRQ10 and FG3 serial function group. |
| 64 | PE11 | bidirectional | GPIO PE11 with EIRQ11 and FG3 serial function group. |
| 65 | PE12 | bidirectional | GPIO PE12 with CMP4_INM3, EIRQ12 and FG3 serial function group. |
| 66 | PE13 | bidirectional | GPIO PE13 with CMP4_INM4, EIRQ13 and FG3 serial function group. |
| 67 | PE14 | bidirectional | GPIO PE14 with CMP4_INP3, EIRQ14 and FG3 serial function group. |
| 68 | PE15 | bidirectional | GPIO PE15 with CMP4_INP4, EIRQ15 and FG3 serial function group. |
| 69 | PB10 | bidirectional | GPIO PB10 with EIRQ10, ADTRG2 external ADC2 trigger and FG3 serial function group. |
| 70 | PB11 | bidirectional | GPIO PB11 with EIRQ11 and FG3 serial function group. |
| 71 | VCAP_1 | passive | Core voltage regulator capacitor pin; connect 0.047 uF or 0.1 uF (ESR < 0.3 ohm) to VSS. |
| 72 | VCC | power_in | Digital supply, 1.8 to 3.6 V, decoupled to VSS close to the pin. |
| 73 | PB12 | bidirectional | GPIO PB12 with EIRQ12, VCOUT1 and FG1 serial function group. |
| 74 | PB13 | bidirectional | GPIO PB13 with EIRQ13, VCOUT2 and FG1 serial function group. |
| 75 | PB14 | bidirectional | GPIO PB14 / USBHS_DM on-chip USB PHY D- signal with EIRQ14; not 5V tolerant. |
| 76 | PB15 | bidirectional | GPIO PB15 / USBHS_DP on-chip USB PHY D+ signal with EIRQ15; not 5V tolerant. |
| 77 | PD8 | bidirectional | GPIO PD8 with EIRQ8, VCOUT4 and FG1 serial function group. |
| 78 | PD9 | bidirectional | GPIO PD9 with EIRQ9, VCOUT3 and FG1 serial function group. |
| 79 | PD10 | bidirectional | GPIO PD10 with EIRQ10 and FG1 serial function group. |
| 80 | PD11 | bidirectional | GPIO PD11 with EIRQ11 and FG1 serial function group. |
| 81 | PD12 | bidirectional | GPIO PD12 with EIRQ12 and FG3 serial function group. |
| 82 | PD13 | bidirectional | GPIO PD13 with EIRQ13 and FG3 serial function group. |
| 83 | VSS | power_in | Digital ground (0 V). |
| 84 | VCC | power_in | Digital supply, 1.8 to 3.6 V, decoupled to VSS close to the pin. |
| 85 | PD14 | bidirectional | GPIO PD14 with EIRQ14, ADTRG1 and FG3 serial function group. |
| 86 | PD15 | bidirectional | GPIO PD15 with EIRQ15, ADTRG2 and FG3 serial function group. |
| 87 | PG2 | bidirectional | GPIO PG2 with EIRQ2, ADTRG3 and FG3 serial function group. |
| 88 | PG3 | bidirectional | GPIO PG3 with EIRQ3 and FG3 serial function group. |
| 89 | PG4 | bidirectional | GPIO PG4 with EIRQ4 and FG3 serial function group. |
| 90 | PG5 | bidirectional | GPIO PG5 with EIRQ5 and FG3 serial function group. |
| 91 | PG6 | bidirectional | GPIO PG6 with EIRQ6 and FG3 serial function group. |
| 92 | PG7 | bidirectional | GPIO PG7 with EIRQ7 and FG3 serial function group. |
| 93 | PG8 | bidirectional | GPIO PG8 with EIRQ8 and FG3 serial function group. |
| 94 | VSS | power_in | Digital ground (0 V). |
| 95 | VCC | power_in | Digital supply, 1.8 to 3.6 V, decoupled to VSS close to the pin. |
| 96 | PC6 | bidirectional | GPIO PC6 with EIRQ6, CTCREF and FG3 serial function group. |
| 97 | PC7 | bidirectional | GPIO PC7 with EIRQ7 and FG3 serial function group. |
| 98 | PC8 | bidirectional | GPIO PC8 with EIRQ8 and FG2 serial function group. |
| 99 | PC9 | bidirectional | GPIO PC9 with EIRQ9, MCO_2 clock output and FG2 serial function group. |
| 100 | PA8 | bidirectional | GPIO PA8 with EIRQ8/WKUP2_0, MCO_1 clock output and FG2 serial function group. |
| 101 | PA9 | bidirectional | GPIO PA9 with EIRQ9/WKUP2_1 and FG2 serial function group. |
| 102 | PA10 | bidirectional | GPIO PA10 with EIRQ10/WKUP2_2 and FG2 serial function group. |
| 103 | PA11 | bidirectional | GPIO PA11 / USBFS_DM on-chip USB PHY D- signal with EIRQ11/WKUP2_3; not 5V tolerant. |
| 104 | PA12 | bidirectional | GPIO PA12 / USBFS_DP on-chip USB PHY D+ signal with EIRQ12/WKUP3_0; not 5V tolerant. |
| 105 | PA13 | bidirectional | GPIO PA13 / JTMS_SWDIO debug interface data I/O with EIRQ13 and FG2 serial function group. |
| 106 | VCAP_2 | passive | Core voltage regulator capacitor pin; connect 0.047 uF or 0.1 uF (ESR < 0.3 ohm) to VSS. |
| 107 | VSS | power_in | Digital ground (0 V). |
| 108 | VCC | power_in | Digital supply, 1.8 to 3.6 V, decoupled to VSS close to the pin. |
| 109 | PA14 | bidirectional | GPIO PA14 / JTCK_SWCLK debug clock input with EIRQ14/WKUP3_2. |
| 110 | PA15 | bidirectional | GPIO PA15 / JTDI debug data input with EIRQ15/WKUP3_3. |
| 111 | PC10 | bidirectional | GPIO PC10 with EIRQ10 and FG3 serial function group. |
| 112 | PC11 | bidirectional | GPIO PC11 with EIRQ11 and FG3 serial function group. |
| 113 | PC12 | bidirectional | GPIO PC12 with EIRQ12 and FG3 serial function group. |
| 114 | PD0 | bidirectional | GPIO PD0 with EIRQ0, VCOUT and FG3 serial function group. |
| 115 | PD1 | bidirectional | GPIO PD1 with EIRQ1 and FG3 serial function group. |
| 116 | PD2 | bidirectional | GPIO PD2 with EIRQ2, VCOUT4 and FG3 serial function group. |
| 117 | PD3 | bidirectional | GPIO PD3 with EIRQ3, VCOUT1 and FG3 serial function group. |
| 118 | PD4 | bidirectional | GPIO PD4 with EIRQ4, VCOUT2 and FG2 serial function group. |
| 119 | PD5 | bidirectional | GPIO PD5 with EIRQ5, VCOUT3 and FG2 serial function group. |
| 120 | VSS | power_in | Digital ground (0 V). |
| 121 | VCC | power_in | Digital supply, 1.8 to 3.6 V, decoupled to VSS close to the pin. |
| 122 | PD6 | bidirectional | GPIO PD6 with EIRQ6, ADTRG1 and FG2 serial function group. |
| 123 | PD7 | bidirectional | GPIO PD7 with EIRQ7, ADTRG2 and FG2 serial function group. |
| 124 | PG9 | bidirectional | GPIO PG9 with EIRQ9, ADTRG3 and FG2 serial function group. |
| 125 | PG10 | bidirectional | GPIO PG10 with EIRQ10 and FG2 serial function group. |
| 126 | PG11 | bidirectional | GPIO PG11 with EIRQ11 and FG2 serial function group. |
| 127 | PG12 | bidirectional | GPIO PG12 with EIRQ12 and FG2 serial function group. |
| 128 | PG13 | bidirectional | GPIO PG13 with EIRQ13 and FG2 serial function group. |
| 129 | PG14 | bidirectional | GPIO PG14 with EIRQ14 and FG2 serial function group. |
| 130 | VSS | power_in | Digital ground (0 V). |
| 131 | VCC | power_in | Digital supply, 1.8 to 3.6 V, decoupled to VSS close to the pin. |
| 132 | PG15 | bidirectional | GPIO PG15 with EIRQ15 and FG1 serial function group. |
| 133 | PB3 | bidirectional | GPIO PB3 / JTDO_SWO debug output with EIRQ3/WKUP0_3 and FCMREF. |
| 134 | PB4 | bidirectional | GPIO PB4 / NJTRST JTAG reset input with EIRQ4/WKUP1_0. |
| 135 | PB5 | bidirectional | GPIO PB5 with EIRQ5/WKUP1_1, ADTRG3 and FG1 serial function group. |
| 136 | PB6 | bidirectional | GPIO PB6 with EIRQ6/WKUP1_2, ADTRG2 and FG1 serial function group. |
| 137 | PB7 | bidirectional | GPIO PB7 with EIRQ7/WKUP1_3, ADTRG1 and FG1 serial function group. |
| 138 | PI13/MD | input | Mode input; must be held low when NRST is released, a 4.7 kohm pull-down to VSS is recommended. |
| 139 | PB8 | bidirectional | GPIO PB8 with EIRQ8 and FG1 serial function group. |
| 140 | PB9 | bidirectional | GPIO PB9 with EIRQ9 and FG1 serial function group. |
| 141 | PE0 | bidirectional | GPIO PE0 with EIRQ0, MCO_1 clock output and FG1 serial function group. |
| 142 | PE1 | bidirectional | GPIO PE1 with EIRQ1, MCO_2 clock output and FG1 serial function group. |
| 143 | PI12 | bidirectional | GPIO PI12 with EIRQ12 and FG1 serial function group. |
| 144 | VCC | power_in | Digital supply, 1.8 to 3.6 V, decoupled to VSS close to the pin. |
## Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | XHSC |
| Package | LQFP-144(20x20) |
| Category | Single Chip Microcomputer/Microcontroller |
| Pins | 144 |
## CAD (KiCad official)
- Symbol: `HC32F4A0RGTB-LQFP144`
- Footprint: `Package_QFP:LQFP-144_20x20mm_P0.5mm`
- 3D model: LQFP-144(20x20) (KiCad packages3D, STEP)
- 3D model files: `hc32f4a0rgtb-lqfp144-etched.step` / `hc32f4a0rgtb-lqfp144-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `hc32f4a0rgtb-lqfp144.step` / `hc32f4a0rgtb-lqfp144.glb` are the bare package body.
## Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- **Datasheet:** [XHSC datasheet](docs/hc32f4a0rgtb-lqfp144-datasheet.pdf) (145 pp, sha256 `c971eaaaa12f48ef`, retrieved 2026-10-26, 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-sonnet-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](docs/hc32f4a0rgtb-lqfp144-datasheet.pdf)