main
Ray Publish 0.1.0 1fc8135 9d ago

HC32A136K8TB-LQ64

XHSC · Microcontrollers (MCU/MPU/SOC) · LQFP-64(7x7)

HC32A136K8TB-LQ64 from XHSC, in a LQFP-64(7x7). 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 VCAP power_out LDO core-supply output for internal circuits only; requires an external decoupling capacitor of at least 1 µF.
2 PC13 bidirectional GPIO port PC13 with digital functions RTC_1HZ and TIM3_CH1B and analog LVD_IN0 low-voltage detector input.
3 XTLI/PC14 input Low-speed crystal oscillator input for a 32.768 kHz crystal (XTL); load capacitors must follow the crystal maker's guidance and a feedback resistor is integrated on-chip.
4 XTLO/PC15 output Low-speed crystal oscillator output for the 32.768 kHz crystal (XTL), paired with XTLI.
5 XTHI/PD00 input High-speed crystal oscillator input for a 4-32 MHz crystal (XTH); also digital port PD00 with I2C0_SDA and UART1_TXD.
6 XTHO/PD01 output High-speed crystal oscillator output for the 4-32 MHz crystal (XTH); also digital port PD01 with I2C0_SCL, TIM4_CHB and UART1_RXD.
7 RESETB input Active-low reset input with CMOS Schmitt-trigger; VIL max 0.8 V, VIH min 0.8×VCC, and a non-disconnectable weak pull-up of about 80 kΩ.
8 PC00/SEG27 bidirectional GPIO port PC00 with digital functions LPTIM_GATE, PCNT_S0 and UART1_CTS, analog input AIN10/VC inputs, and LCD segment output SEG27.
9 PC01/SEG26 bidirectional GPIO port PC01 with digital functions LPTIM_TOG, TIM5_CHB and UART1_RTS, analog input AIN11/VC inputs, and LCD segment output SEG26.
10 PC02/SEG25 bidirectional GPIO port PC02 with digital functions SPI1_MISO, LPTIM_TOGN and PCNT_S1, analog input AIN12/VC inputs, and LCD segment output SEG25.
11 PC03/SEG24 bidirectional GPIO port PC03 with digital functions SPI1_MOSI, LPTIM_ETR and LPTIM_TOGN, analog input AIN13/VC inputs, and LCD segment output SEG24.
12 AVSS power_in Analog ground for the ADC, OPA and other analog blocks; must be connected to the system supply per the absolute maximum rating note.
13 AVCC power_in Analog supply, 1.8-5.5 V; must be the same voltage as DVCC, with at most 300 mV difference allowed during power-up and normal operation.
14 PA00/SEG23 bidirectional GPIO port PA00 with digital functions UART1_CTS, LPUART1_TXD, TIM0_ETR, VC0_OUT, TIM1_CHA, TIM3_ETR and TIM0_CHA, analog input AIN0, and LCD segment output SEG23.
15 PA01/SEG22 bidirectional GPIO port PA01 with digital functions UART1_RTS, LPUART1_RXD, TIM0_CHB, TIM1_ETR, TIM1_CHB, HCLK_OUT and SPI1_MOSI, analog input AIN1, and LCD segment output SEG22.
16 PA02/SEG21 bidirectional GPIO port PA02 with digital functions UART1_TXD, TIM0_CHA, VC1_OUT, TIM1_CHA, TIM2_CHA, PCLK_OUT and SPI1_MISO, analog input AIN2, and LCD segment output SEG21.
17 PA03/SEG20 bidirectional GPIO port PA03 with digital functions UART1_RXD, TIM0_GATE, TIM1_CHB, TIM2_CHB, SPI1_CS, TIM3_CH1A and TIM5_CHA, analog input AIN3, and LCD segment output SEG20.
18 PD04 bidirectional GPIO port PD04; the datasheet lists no alternate digital or analog functions for this pin.
19 PD05 bidirectional GPIO port PD05; the datasheet lists no alternate digital or analog functions for this pin.
20 PA04/SEG19 bidirectional GPIO port PA04 with digital functions SPI0_CS, UART1_TXD, PCA_CH4, TIM2_ETR, TIM5_CHA, LVD_OUT and TIM3_CH2B, analog input AIN4, and LCD segment output SEG19.
21 PA05/SEG18 bidirectional GPIO port PA05 with digital functions SPI0_SCK, TIM0_ETR, PCA_ECI, TIM0_CHA, TIM5_CHB, XTL_OUT and XTH_OUT, and LCD segment output SEG18.
22 PA06/SEG17 bidirectional GPIO port PA06 with digital functions SPI0_MISO, PCA_CH0, TIM3_BK, TIM1_CHA, VC0_OUT, TIM3_GATE and LPUART0_CTS, and LCD segment output SEG17.
23 PA07/SEG16 bidirectional GPIO port PA07 with digital functions SPI0_MOSI, PCA_CH1, HCLK_OUT, TIM3_CH0B, TIM2_CHA, VC1_OUT and TIM4_CHB, and LCD segment output SEG16.
24 PC04/SEG15 bidirectional GPIO port PC04 with digital functions LPUART0_TXD, TIM2_ETR and IR_OUT, and LCD segment output SEG15.
25 PC05/SEG14 bidirectional GPIO port PC05 with digital functions LPUART0_RXD, TIM6_CHB and PCA_CH4, and LCD segment output SEG14.
26 PB00/SEG13 bidirectional GPIO port PB00 with digital functions PCA_CH2, TIM3_CH1B, LPUART0_TXD, TIM5_CHB, RCH_OUT, RCL_OUT and PLL_OUT, and LCD segment output SEG13.
27 PB01/SEG12 bidirectional GPIO port PB01 with digital functions PCA_CH3, PCLK_OUT, TIM3_CH2B, TIM6_CHB and LPUART0_RTS, and LCD segment output SEG12.
28 PB02/SEG11 bidirectional GPIO port PB02 with digital functions LPTIM_TOG, PCA_ECI, LPUART1_TXD, TIM4_CHA, TIM1_BK, TIM0_BK and TIM2_BK, and LCD segment output SEG11.
29 PB10/SEG10 bidirectional GPIO port PB10 with digital functions I2C1_SCL, SPI1_SCK, TIM1_CHA, LPUART0_TXD, TIM3_CH1A, LPUART1_RTS and UART1_RTS, and LCD segment output SEG10.
30 PB11/SEG9 bidirectional GPIO port PB11 with digital functions I2C1_SDA, TIM1_CHB, LPUART0_RXD, TIM2_GATE, TIM6_CHA, LPUART1_CTS and UART1_CTS, and LCD segment output SEG9.
31 DVSS power_in Digital ground; must be connected to the system ground supply.
32 DVCC power_in Digital supply, 1.8-5.5 V; must match AVCC, with at most 300 mV difference allowed.
33 PB12/SEG8 bidirectional GPIO port PB12 with digital functions SPI1_CS, TIM3_BK, LPUART0_TXD, TIM0_BK, LPUART0_RTS and TIM6_CHA, and LCD segment output SEG8.
34 PB13/SEG7 bidirectional GPIO port PB13 with digital functions SPI1_SCK, I2C1_SCL, TIM3_CH0B, LPUART0_CTS, TIM1_CHA, TIM1_GATE and TIM6_CHB, and LCD segment output SEG7.
35 PB14/SEG6 bidirectional GPIO port PB14 with digital functions SPI1_MISO, I2C1_SDA, TIM3_CH1B, TIM0_CHA, RTC_1HZ, LPUART0_RTS and TIM1_BK, and LCD segment output SEG6.
36 PB15/SEG5 bidirectional GPIO port PB15 with digital functions SPI1_MOSI, TIM3_CH2B, TIM0_CHB, TIM0_GATE and LPUART1_RXD, and LCD segment output SEG5.
37 PC06/SEG4 bidirectional GPIO port PC06 with digital functions PCA_CH0, TIM4_CHA and TIM2_CHA, and LCD segment output SEG4.
38 PC07/SEG3 bidirectional GPIO port PC07 with digital functions PCA_CH1, TIM5_CHA and TIM2_CHB, and LCD segment output SEG3.
39 PC08/SEG2 bidirectional GPIO port PC08 with digital functions PCA_CH2, TIM6_CHA and TIM2_ETR, and LCD segment output SEG2.
40 PC09/SEG1 bidirectional GPIO port PC09 with digital functions PCA_CH3, TIM4_CHB and TIM1_ETR, and LCD segment output SEG1.
41 PA08/SEG0 bidirectional GPIO port PA08 with digital functions UART0_TXD, TIM3_CH0A, TIM1_GATE, TIM4_CHA and TIM3_BK, and LCD segment output SEG0.
42 PA09/COM0 bidirectional GPIO port PA09 with digital functions UART0_TXD, TIM3_CH1A, TIM0_BK, I2C0_SCL, HCLK_OUT and TIM5_CHA, and LCD common output COM0.
43 PA10/COM1 bidirectional GPIO port PA10 with digital functions UART0_RXD, TIM3_CH2A, TIM2_BK, I2C0_SDA, TIM2_GATE, PCLK_OUT and TIM6_CHA, and LCD common output COM1.
44 PA11/COM2 bidirectional GPIO port PA11 with digital functions UART0_CTS, TIM3_GATE, I2C1_SCL, VC0_OUT, SPI0_MISO and TIM4_CHB, and LCD common output COM2.
45 PA12/COM3 bidirectional GPIO port PA12 with digital functions UART0_RTS, TIM3_ETR, I2C1_SDA, VC1_OUT, SPI0_MOSI and PCNT_S0, and LCD common output COM3.
46 PA13/SWDIO bidirectional GPIO port PA13 with digital functions IR_OUT, UART0_RXD, LVD_OUT, TIM3_ETR, RTC_1HZ and PCNT_S1; serves as SWD data I/O in the SWD programming/debug interface.
47 PD06 bidirectional GPIO port PD06 with digital functions I2C1_SCL, LPUART1_CTS and UART0_CTS.
48 PD07 bidirectional GPIO port PD07 with digital functions I2C1_SDA, LPUART1_RTS and UART0_RTS.
49 PA14/SWCLK bidirectional GPIO port PA14 with digital functions UART1_TXD, UART0_TXD, TIM3_CH2A, LVD_OUT, RCH_OUT, RCL_OUT and PLL_OUT; serves as SWD clock in the SWD programming/debug interface.
50 PA15 bidirectional GPIO port PA15 with digital functions SPI0_CS, UART1_RXD, LPUART1_RTS, TIM0_ETR, TIM0_CHA and TIM3_CH1A.
51 PC10/COM4/SEG39 bidirectional GPIO port PC10 with digital functions LPUART1_TXD, LPUART0_TXD and PCA_CH2, and LCD common/segment output COM4/SEG39.
52 PC11/COM5/SEG38 bidirectional GPIO port PC11 with digital functions LPUART1_RXD, LPUART0_RXD and PCA_CH3, and LCD common/segment output COM5/SEG38.
53 PC12/COM6/SEG37 bidirectional GPIO port PC12 with digital functions LPUART0_TXD, LPUART1_TXD and PCA_CH4, and LCD common/segment output COM6/SEG37.
54 PD02/COM7/SEG36 bidirectional GPIO port PD02 with digital functions PCA_ECI, LPUART0_RTS and TIM1_ETR, and LCD common/segment output COM7/SEG36.
55 PB03/SEG35/VLCDH bidirectional GPIO port PB03 with digital functions SPI0_SCK, TIM0_CHB, TIM1_GATE, TIM3_CH0A, LPTIM_GATE, XTL_OUT and XTH_OUT; LCD segment output SEG35 and VLCDH pin, used in external-resistor or external-capacitor LCD modes.
56 PB04/SEG34/VLCD3 bidirectional GPIO port PB04 with digital functions SPI0_MISO, PCA_CH0, TIM2_BK, UART0_CTS, TIM2_GATE, TIM3_CH0B and LPTIM_ETR; LCD segment output SEG34 and VLCD3 pin, used in external-resistor or external-capacitor LCD modes.
57 PB05/SEG33/VLCD2 bidirectional GPIO port PB05 with digital functions SPI0_MOSI, TIM1_BK, PCA_CH1, LPTIM_GATE, PCNT_S0 and UART0_RTS, analog inputs VC0_INP13/VC1_INP13, and LCD segment output SEG33/VLCD2.
58 PB06/SEG32/VLCD1 bidirectional GPIO port PB06 with digital functions I2C0_SCL, UART0_TXD, TIM1_CHB, TIM0_CHA, LPTIM_ETR, TIM3_CH0A and LPTIM_TOG, analog inputs VC0_INP14/VC1_INP14, and LCD segment output SEG32/VLCD1.
59 PB07/SEG31 bidirectional GPIO port PB07 with digital functions I2C0_SDA, UART0_RXD, TIM2_CHB, LPUART1_CTS, TIM0_CHB, LPTIM_TOGN and PCNT_S1, analog inputs VC0_INP15/VC1_INP15, LVD_IN2, and LCD segment output SEG31.
60 PD03/BOOT0/SEG30 bidirectional BOOT0 boot-mode pin, sampled at reset: high selects ISP programming mode, low selects user mode with SWD programming; also LCD segment output SEG30.
61 PB08/SEG29 bidirectional GPIO port PB08 with digital functions I2C0_SCL, TIM1_CHA, TIM2_CHA, TIM0_GATE, TIM3_CH2A and UART0_TXD, analog input LVD_IN1, and LCD segment output SEG29.
62 PB09/SEG28 bidirectional GPIO port PB09 with digital functions I2C0_SDA, IR_OUT, SPI1_CS, TIM2_CHA, TIM2_CHB and UART0_RXD, and LCD segment output SEG28.
63 DVSS power_in Digital ground; must be connected to the system ground supply.
64 DVCC power_in Digital supply, 1.8-5.5 V; must match AVCC, with at most 300 mV difference allowed.

Key specifications

Parameter Value
Manufacturer XHSC
Package LQFP-64(7x7)
Category Embedded Processors & Controllers
Pins 64

Electrical characteristics

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

Parameter Symbol Min Typ Max Unit Conditions Page
External main supply voltage (AVCC, DVCC) to VSS VCC - VSS -0.3 5.5 V 39
Voltage difference between different supply pins /ΔVCCx/ 50 mV 39
Voltage difference between different ground pins /VSSx - VSS/ 50 mV 39
Total current through DVCC/AVCC supply lines (supply current) IVCC 300 mA 39
Total current through VSS ground lines (sink current) IVSS 300 mA 39
Output sink current on any I/O and control pin IIO 25 mA 39
Output current on any I/O and control pin IIO -25 mA 39
Injection current on RESETB pin IINJ(PIN) -5 5 mA RESETB pin 39
Injection current on XTHI and XTLI pins IINJ(PIN) -5 5 mA XTHI and XTLI pins 39
Injection current on other pins IINJ(PIN) -5 5 mA 39
Total injection current on all I/O and control pins ΣIINJ(PIN) -25 25 mA 39
Storage temperature range TSTG -60 150 ℃ 39
Maximum junction temperature TJ 105 ℃ 39
Operating supply voltage (product feature summary) VCC 1.8 5.5 V Product feature summary: operating condition 1.8~5.5V 1
External input voltage range Vex 0 V 42
LVD detection threshold Vlevel 1.7 1.8 1.9 V LVD_CR.VTDS=0000 42
LVD detection threshold Vlevel 1.8 1.9 2 V LVD_CR.VTDS=0001 42
LVD detection threshold Vlevel 1.9 2 2.1 V LVD_CR.VTDS=0010 42
LVD detection threshold Vlevel 2 2.1 2.2 V LVD_CR.VTDS=0011 42
LVD detection threshold Vlevel 2.1 2.2 2.3 V LVD_CR.VTDS=0100 42
LVD detection threshold Vlevel 2.2 2.3 2.4 V LVD_CR.VTDS=0101 42
LVD detection threshold Vlevel 2.3 2.4 2.5 V LVD_CR.VTDS=0110 42
LVD detection threshold Vlevel 2.4 2.5 2.6 V LVD_CR.VTDS=0111 42
LVD detection threshold Vlevel 2.5 2.6 2.7 V LVD_CR.VTDS=1000 42
LVD detection threshold Vlevel 2.6 2.7 2.8 V LVD_CR.VTDS=1001 42
LVD detection threshold Vlevel 2.7 2.8 2.9 V LVD_CR.VTDS=1010 42
LVD detection threshold Vlevel 2.8 2.9 3 V LVD_CR.VTDS=1011 42
LVD detection threshold Vlevel 2.9 3 3.1 V LVD_CR.VTDS=1100 42
LVD detection threshold Vlevel 3 3.1 3.2 V LVD_CR.VTDS=1101 42
LVD detection threshold Vlevel 3.1 3.2 3.3 V LVD_CR.VTDS=1110 42
LVD detection threshold Vlevel 3.2 3.3 3.4 V LVD_CR.VTDS=1111 42
Internal 2.5V reference voltage VREF25 2.475 2.5 2.525 V 常温25°C 3.3V 43
Internal 2.5V reference voltage VREF25 2.463 2.5 2.525 V -4085°C; 2.85.5V 43
Internal 1.5V reference voltage VREF15 1.485 1.5 1.515 V 常温25°C 3.3V 43
Internal 1.5V reference voltage VREF15 1.477 1.5 1.519 V -4085°C; 1.85.5V 43
Internal 2.5V/1.5V reference temperature coefficient TCoeff 120 ppm/°C -40 ~ 85°C 43
Run mode supply current, all peripherals ON, RCH clock source 4M IDD 1000 1300 uA VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85°C, run while(1) in Flash 44
Run mode supply current, all peripherals ON, RCH clock source 8M IDD 1910 2420 uA VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85°C, run while(1) in Flash 44
Run mode supply current, all peripherals ON, RCH clock source 16M IDD 3650 4590 uA VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85°C, run while(1) in Flash 44
Run mode supply current, all peripherals ON, RCH clock source 22.12M IDD 5080 6330 uA VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85°C, run while(1) in Flash 44
Run mode supply current, all peripherals ON, RCH clock source 24M IDD 5440 6820 uA VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85°C, run while(1) in Flash 44
Run mode supply current, all peripherals ON, PLL from RCH4M, 16M IDD 3960 4850 uA VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85°C, run while(1) in Flash 44
Run mode supply current, all peripherals ON, PLL from RCH4M, 24M IDD 5700 7000 uA VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85°C, run while(1) in Flash 44
Run mode supply current, all peripherals ON, PLL from RCH4M, 32M IDD 6600 7480 uA VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85°C, FlashWait=1, run while(1) in Flash 44
Run mode supply current, all peripherals ON, PLL from RCH4M, 40M IDD 8140 9190 uA VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85°C, FlashWait=1, run while(1) in Flash 44
Run mode supply current, all peripherals ON, PLL from RCH4M, 48M IDD 9550 10860 uA VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85°C, FlashWait=1, run while(1) in Flash 44
Run mode supply current, all peripherals ON, PLL from RCH8M, 16M IDD 4030 4940 uA VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85°C, run while(1) in Flash 44
Run mode supply current, all peripherals ON, PLL from RCH8M, 24M IDD 5780 7060 uA VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85°C, run while(1) in Flash 44
Run mode supply current, all peripherals ON, PLL from RCH8M, 32M IDD 6670 7560 uA VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85°C, FlashWait=1, run while(1) in Flash 44
Run mode supply current, all peripherals ON, PLL from RCH8M, 40M IDD 8240 9340 uA VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85°C, FlashWait=1, run while(1) in Flash 44
Run mode supply current, all peripherals ON, PLL from RCH8M, 48M IDD 9630 10970 uA VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85°C, FlashWait=1, run while(1) in Flash 44
Run mode supply current, all peripherals OFF, RCH clock source 4M IDD 610 875 uA VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85°C, run while(1) in Flash 44
Run mode supply current, all peripherals OFF, RCH clock source 8M IDD 1330 1570 uA VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85°C, run while(1) in Flash 44
Run mode supply current, all peripherals OFF, RCH clock source 16M IDD 2110 2900 uA VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85°C, run while(1) in Flash 44
Run mode supply current, all peripherals OFF, RCH clock source 22.12M IDD 2860 3860 uA VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85°C, run while(1) in Flash 44
Run mode supply current, all peripherals OFF, RCH clock source 24M IDD 3060 4120 uA VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85°C, run while(1) in Flash 44
Run mode supply current, all peripherals OFF, PLL from RCH4M, 16M IDD 2360 3110 uA VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85°C, run while(1) in Flash 44
Run mode supply current, all peripherals OFF, PLL from RCH4M, 24M IDD 3360 4330 uA VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85°C, run while(1) in Flash 44
Run mode supply current, all peripherals OFF, PLL from RCH4M, 32M IDD 3490 4010 uA VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85°C, FlashWait=1, run while(1) in Flash 44

CAD (KiCad official)

  • Symbol: HC32A136K8TB-LQ64
  • Footprint: Package_QFP:LQFP-64_7x7mm_P0.4mm
  • 3D model: LQFP-64(7x7) (KiCad packages3D, STEP)
  • 3D model files: hc32a136k8tb-lq64-etched.step / hc32a136k8tb-lq64-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); hc32a136k8tb-lq64.step / hc32a136k8tb-lq64.glb are the bare package body.

Provenance

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

  • Datasheet: XHSC datasheet (66 pp, sha256 1390f1293a77d3af, retrieved 2026-10-17, 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