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
viewers hc32f170lata-lq52: viewers · Ray
hc32f170lata-lq52-etched.glb Publish 0.1.0 · Ray
hc32f170lata-lq52-etched.step hc32f170lata-lq52: factory component page (tier=lcsc) · Ray
hc32f170lata-lq52-hero.glb hc32f170lata-lq52: hero GLB from the etched model (keeps the MPN mark) · Ray
hc32f170lata-lq52-hero.overlay.json Publish 0.1.0 · Ray
hc32f170lata-lq52.glb Publish 0.1.0 · Ray
hc32f170lata-lq52.kicad_mod Publish 0.1.0 · Ray
hc32f170lata-lq52.kicad_sym Publish 0.1.0 · Ray
hc32f170lata-lq52.lbr Publish 0.1.0 · Ray
hc32f170lata-lq52.step Publish 0.1.0 · Ray
package.json Publish 0.1.1 · Ray
page.json Publish 0.1.1 · Ray
README.md Publish 0.1.0 · Ray
verification.json Verified: Published by the parts factory: tier lcsc, 52 pins · Ray

HC32F170LATA-LQ52

XHSC · Microcontroller Units (MCUs/MPUs/SOCs) · LQFP-52(10x10)

HC32F170LATA-LQ52 from XHSC, in a LQFP-52(10x10). 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 1uF.
2 PC13 bidirectional General-purpose I/O with alternate functions TIM3_CH1B and LVD0 (low-voltage detector input).
3 XTLI/PC14 input Low-speed external crystal oscillator input (XTLI), shared with GPIO PC14; 32.768KHz crystal per the XTL section.
4 XTLO/PC15 passive Low-speed external crystal oscillator output (XTLO), shared with GPIO PC15.
5 XTHI/PF00 input High-speed external crystal oscillator input (XTHI), shared with GPIO PF00 with alternate functions I2C0_SDA and UART1_TXD; crystal range 4-32MHz.
6 XTHO/PF01 output High-speed external crystal oscillator output (XTHO), shared with GPIO PF01 with alternate functions I2C0_SCL, TIM4_CHB and UART1_RXD.
7 RESETB input Active-low reset input with an internal weak pull-up of about 80 KOhm (VIH 0.8*VCC, VIL 0.3 V max).
8 PC02 bidirectional GPIO with alternate functions SPI1_MISO, UART2_RXD, AIN12, VC0_INP2, VC1_INN2 and SEG25.
9 PC03 bidirectional GPIO with alternate functions SPI1_MOSI, UART2_TXD, AIN13, VC0_INP3, VC1_INN3 and SEG24.
10 AVSS power_in Analog ground for the ADC, DAC, comparators and related analog circuits.
11 AVCC power_in Analog power supply, which must equal DVCC (1.8 to 5.5V operating range).
12 PA00 bidirectional GPIO with alternate functions UART1_CTS, TIM0_ETR, VC0_OUT, TIM1_CHA, TIM3_ETR, TIM0_CHA, AIN0, VC0_INP4 and SEG23.
13 PA01 bidirectional GPIO with alternate functions UART1_RTS, TIM0_CHB, TIM1_ETR, TIM1_CHB, HCLK_OUT, SPI1_MOSI, AIN1 and SEG22.
14 PA02 bidirectional GPIO with alternate functions UART1_TXD, TIM0_CHA, VC1_OUT, TIM1_CHA, TIM2_CHA, PCLK_OUT, SPI1_MISO, AIN2 and SEG21.
15 PA03 bidirectional GPIO with alternate functions UART1_RXD, TIM0_GATE, TIM1_CHB, TIM2_CHB, SPI1_CS, TIM3_CH1A, TIM5_CHA, AIN3 and SEG20.
16 PA04 bidirectional GPIO with alternate functions SPI0_CS, UART1_TXD, PCA_CH4, LVD_OUT, DAC_OUT, OPA_OUT0, AIN4 and SEG19.
17 PA05 bidirectional GPIO with alternate functions SPI0_SCK, TIM0_ETR, PCA_ECI, TIM0_CHA, TIM5_CHB, XTL_OUT and XTH_OUT.
18 PA06 bidirectional GPIO with alternate functions SPI0_MISO, PCA_CH0, TIM3_BK, TIM1_CHA, VC0_OUT and TIM3_GATE.
19 PA07 bidirectional GPIO with alternate functions SPI0_MOSI, PCA_CH1, HCLK_OUT, TIM3_CH0B, TIM2_CHA, VC1_OUT and TIM4_CHB.
20 PB00 bidirectional GPIO with alternate functions PCA_CH2, TIM3_CH1B, TIM5_CHB, RCH_OUT, RCL_OUT and PLL_OUT, and SEG13 on the LCD.
21 PB01 bidirectional GPIO with alternate functions PCA_CH3, PCLK_OUT, TIM3_CH2B, TIM6_CHB, VC2_OUT and TCLK_OUT, and SEG12 on the LCD.
22 PB02 bidirectional GPIO with alternate functions PCA_ECI, TIM4_CHA, TIM1_BK, TIM0_BK and TIM2_BK, and SEG11 on the LCD.
23 PB10 bidirectional GPIO with alternate functions I2C1_SCL, SPI1_SCK, TIM1_CHA, TIM3_CH1A and UART1_RTS, and SEG10 on the LCD.
24 PB11 bidirectional GPIO with alternate functions I2C1_SDA, TIM1_CHB, TIM2_GATE, TIM6_CHA and UART1_CTS, and SEG9 on the LCD.
25 DVSS power_in Digital ground, which must be connected to the system ground.
26 DVCC power_in Digital power supply, 1.8 to 5.5V, which must equal AVCC.
27 PB12 bidirectional GPIO with alternate functions SPI1_CS, TIM3_BK, TIM0_BK and TIM6_CHA, and SEG8 on the LCD.
28 PB13 bidirectional GPIO with alternate functions SPI1_SCK, I2C1_SCL, TIM3_CH0B, TIM1_CHA, TIM1_GATE and TIM6_CHB, and SEG7 on the LCD.
29 PB14 bidirectional GPIO with alternate functions SPI1_MISO, I2C1_SDA, TIM3_CH1B, TIM0_CHA and TIM1_BK, and SEG6 on the LCD.
30 PB15 bidirectional GPIO with alternate functions SPI1_MOSI, TIM3_CH2B, TIM0_CHB and TIM0_GATE, and SEG5 on the LCD.
31 PC06 bidirectional GPIO with alternate functions PCA_CH0, TIM4_CHA, TIM2_CHA and UART3_RXD, and SEG4 on the LCD.
32 PC07 bidirectional GPIO with alternate functions PCA_CH1, TIM5_CHA, TIM2_CHB and UART3_TXD, and SEG3 on the LCD.
33 PA08 bidirectional GPIO with alternate functions UART0_TXD, TIM3_CH0A, TIM1_GATE, TIM4_CHA and TIM3_BK, and SEG0 on the LCD.
34 PA09 bidirectional GPIO with alternate functions UART0_TXD, TIM3_CH1A, TIM0_BK, I2C0_SCL, HCLK_OUT and TIM5_CHA, and COM0 on the LCD.
35 PA10 bidirectional GPIO with alternate functions UART0_RXD, TIM3_CH2A, TIM2_BK, I2C0_SDA, TIM2_GATE, PCLK_OUT and TIM6_CHA, and COM1 on the LCD.
36 PA11 bidirectional GPIO with alternate functions UART0_CTS, TIM3_GATE, I2C1_SCL, VC0_OUT, SPI0_MISO and TIM4_CHB, and COM2 on the LCD.
37 PA12 bidirectional GPIO with alternate functions UART0_RTS, TIM3_ETR, I2C1_SDA, VC1_OUT and SPI0_MOSI, and COM3 on the LCD.
38 PA13/SWDIO bidirectional GPIO with alternate functions IR_OUT, UART0_RXD, LVD_OUT, TIM3_ETR and VC2_OUT; serves as the SWD debug data pin.
39 PF06 bidirectional GPIO with alternate functions I2C1_SCL and UART0_CTS.
40 PF07 bidirectional GPIO with alternate functions I2C1_SDA and UART0_RTS.
41 PA14/SWCLK bidirectional GPIO with alternate functions UART1_TXD, UART0_TXD, TIM3_CH2A, LVD_OUT, RCH_OUT, RCL_OUT and PLL_OUT; serves as the SWD clock pin.
42 PA15 bidirectional GPIO with alternate functions SPI0_CS, UART1_RXD, TIM0_ETR, TIM0_CHA and TIM3_CH1A.
43 PB03 bidirectional GPIO with alternate functions SPI0_SCK, TIM0_CHB, TIM1_GATE, TIM3_CH0A, XTL_OUT and XTH_OUT.
44 PB04 bidirectional GPIO with alternate functions SPI0_MISO, PCA_CH0, TIM2_BK, UART0_CTS, TIM2_GATE and TIM3_CH0B.
45 PB05 bidirectional GPIO with alternate functions SPI0_MOSI, TIM1_BK, PCA_CH1 and UART0_RTS.
46 PB06 bidirectional GPIO with alternate functions I2C0_SCL, UART0_TXD, TIM1_CHB, TIM0_CHA and TIM3_CH0A.
47 PB07 bidirectional GPIO with alternate functions I2C0_SDA, UART0_RXD, TIM2_CHB and TIM0_CHB.
48 BOOT0 input Boot mode select (PF11 per the text): high at reset enters ISP programming mode, low at reset enters user mode executing Flash code.
49 PB08 bidirectional GPIO with alternate functions I2C0_SCL, TIM1_CHA, TIM2_CHA, TIM0_GATE, TIM3_CH2A and UART0_TXD.
50 PB09 bidirectional GPIO with alternate functions I2C0_SDA, IR_OUT, SPI1_CS, TIM2_CHA, TIM2_CHB and UART0_RXD, and SEG28 on the LCD.
51 DVSS power_in Digital ground, which must be connected to the system ground.
52 DVCC power_in Digital power supply, 1.8 to 5.5V, which must equal AVCC.

Key specifications

Parameter Value
Manufacturer XHSC
Package LQFP-52(10x10)
Category Single Chip Microcomputer/Microcontroller
Pins 52

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 VCC-VSS (including AVCC and DVCC) VCC - VSS -0.3 5.5 V 47
Total current through DVCC/AVCC supply lines IVCC 300 mA 47
Total current through VSS ground line IVSS 300 mA 47
Output sink current, any I/O and control pin IIO 25 mA 47
Output source current, any I/O and control pin IIO -25 mA 47
Injection current on RESETB pin IINJ(PIN) -5 5 mA 47
Injection current on XTHI and XTLI pins IINJ(PIN) -5 5 mA 47
Injection current on other pins IINJ(PIN) -5 5 mA 47
Total injection current on all I/O and control pins ∑IINJ(PIN) -25 25 mA 47
LVD detection threshold tolerance, nominal 1.8V Vlevel -3.5 3.5 % LVD_CR.VTDS=0000 51
LVD detection threshold tolerance, nominal 1.9V Vlevel -3.5 3.5 % LVD_CR.VTDS=0001 51
LVD detection threshold tolerance, nominal 2.0V Vlevel -3.5 3.5 % LVD_CR.VTDS=0010 51
LVD detection threshold tolerance, nominal 2.1V Vlevel -3.5 3.5 % LVD_CR.VTDS=0011 51
LVD detection threshold tolerance, nominal 2.2V Vlevel -3.5 3.5 % LVD_CR.VTDS=0100 51
LVD detection threshold tolerance, nominal 2.3V Vlevel -3.5 3.5 % LVD_CR.VTDS=0101 51
LVD detection threshold tolerance, nominal 2.4V Vlevel -3.5 3.5 % LVD_CR.VTDS=0110 51
LVD detection threshold tolerance, nominal 2.5V Vlevel -3.5 3.5 % LVD_CR.VTDS=0111 51
LVD detection threshold tolerance, nominal 2.6V Vlevel -3.5 3.5 % LVD_CR.VTDS=1000 51
LVD detection threshold tolerance, nominal 2.7V Vlevel -3.5 3.5 % LVD_CR.VTDS=1001 51
LVD detection threshold tolerance, nominal 2.8V Vlevel -3.5 3.5 % LVD_CR.VTDS=1010 51
LVD detection threshold tolerance, nominal 2.9V Vlevel -3.5 3.5 % LVD_CR.VTDS=1011 51
LVD detection threshold tolerance, nominal 3.0V Vlevel -3.5 3.5 % LVD_CR.VTDS=1100 51
LVD detection threshold tolerance, nominal 3.1V Vlevel -3.5 3.5 % LVD_CR.VTDS=1101 51
LVD detection threshold tolerance, nominal 3.2V Vlevel -3.5 3.5 % LVD_CR.VTDS=1110 51
LVD detection threshold tolerance, nominal 3.3V Vlevel -3.5 3.5 % LVD_CR.VTDS=1111 51
Internal 2.5V reference voltage VREF25 2.475 2.5 2.525 V 常温25°C 3.3V 52
Internal 2.5V reference voltage VREF25 2.463 2.5 2.525 V -4085°C; 2.85.5V 52
Internal 1.5V reference voltage VREF15 1.485 1.5 1.515 V 常温25°C 3.3V 52
Internal 1.5V reference voltage VREF15 1.477 1.5 1.519 V -4085°C; 1.85.5V 52
IDD run in Flash, RCH clock source 4M IDD 1000 1440 uA All peripherals ON, Run while(1) in Flash, VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85C 52
IDD run in Flash, RCH clock source 8M IDD 1890 2710 uA All peripherals ON, Run while(1) in Flash, VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85C 52
IDD run in Flash, RCH clock source 16M IDD 3710 5160 uA All peripherals ON, Run while(1) in Flash, VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85C 52
IDD run in Flash, RCH clock source 22.12M IDD 5010 7010 uA All peripherals ON, Run while(1) in Flash, VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85C 52
IDD run in Flash, RCH clock source 24M IDD 5400 7570 uA All peripherals ON, Run while(1) in Flash, VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85C 52
IDD run in Flash, PLL from RCH4M, 16M IDD 3930 5000 uA All peripherals ON, Run while(1) in Flash, VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85C 52
IDD run in Flash, PLL from RCH4M, 24M IDD 5480 7090 uA All peripherals ON, Run while(1) in Flash, VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85C 52
IDD run in Flash, PLL from RCH4M, 32M, FlashWait=1 IDD 6590 7650 uA All peripherals ON, Run while(1) in Flash, VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85C 52
IDD run in Flash, PLL from RCH4M, 40M, FlashWait=1 IDD 8100 9470 uA All peripherals ON, Run while(1) in Flash, VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85C 52
IDD run in Flash, PLL from RCH4M, 48M, FlashWait=1 IDD 9610 11200 uA All peripherals ON, Run while(1) in Flash, VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85C 52
IDD run in Flash, PLL from RCH8M, 16M IDD 3990 5040 uA All peripherals ON, Run while(1) in Flash, VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85C 52
IDD run in Flash, PLL from RCH8M, 24M IDD 5530 7140 uA All peripherals ON, Run while(1) in Flash, VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85C 52
IDD run in Flash, PLL from RCH8M, 32M, FlashWait=1 IDD 6640 7690 uA All peripherals ON, Run while(1) in Flash, VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85C 52
IDD run in Flash, PLL from RCH8M, 40M, FlashWait=1 IDD 8160 9480 uA All peripherals ON, Run while(1) in Flash, VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85C 52
IDD run in Flash, PLL from RCH8M, 48M, FlashWait=1 IDD 9670 11250 uA All peripherals ON, Run while(1) in Flash, VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85C 52
IDD run while(1) in Flash, all peripherals OFF, RCH 4M IDD 610 1000 uA All peripherals OFF, Run while(1) in Flash, VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85C 53
IDD run while(1) in Flash, all peripherals OFF, RCH 8M IDD 1090 1840 uA All peripherals OFF, Run while(1) in Flash, VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85C 53
IDD run while(1) in Flash, all peripherals OFF, RCH 16M IDD 2080 3360 uA All peripherals OFF, Run while(1) in Flash, VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85C 53
IDD run while(1) in Flash, all peripherals OFF, RCH 22.12M IDD 2770 4480 uA All peripherals OFF, Run while(1) in Flash, VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85C 53
IDD run while(1) in Flash, all peripherals OFF, RCH 24M IDD 2970 4810 uA All peripherals OFF, Run while(1) in Flash, VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85C 53
IDD run while(1) in Flash, all peripherals OFF, PLL from RCH4M, 16M IDD 2290 3150 uA All peripherals OFF, Run while(1) in Flash, VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85C 53
IDD run while(1) in Flash, all peripherals OFF, PLL from RCH4M, 24M IDD 3060 4370 uA All peripherals OFF, Run while(1) in Flash, VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85C 53
IDD run while(1) in Flash, all peripherals OFF, PLL from RCH4M, 32M, FlashWait=1 IDD 3410 4030 uA All peripherals OFF, Run while(1) in Flash, VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85C 53
IDD run while(1) in Flash, all peripherals OFF, PLL from RCH4M, 40M, FlashWait=1 IDD 4110 4950 uA All peripherals OFF, Run while(1) in Flash, VCAP=1.5V, VCC=1.8-5.5V, TA=-40~85C 53

CAD (KiCad official)

  • Symbol: HC32F170LATA-LQ52
  • Footprint: Package_QFP:LQFP-52_10x10mm_P0.65mm
  • 3D model: LQFP-52(10x10) (KiCad packages3D, STEP)
  • 3D model files: hc32f170lata-lq52-etched.step / hc32f170lata-lq52-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); hc32f170lata-lq52.step / hc32f170lata-lq52.glb are the bare package body.

Provenance

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

  • Datasheet: XHSC datasheet (95 pp, sha256 3cd2507c5784a35b, retrieved 2026-11-02, 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