← Commit history
README.mdadded+97@@ -0,0 +1,97 @@+# HC32F170JATA-LQ48++**XHSC** · Microcontrollers (MCU/MPU/SOC) · LQFP-48(7x7)++HC32F170JATA-LQ48 from XHSC, in a LQFP-48(7x7). Pinout and pin descriptions extracted from the manufacturer datasheet by ds2sf; symbol, footprint, and 3D from KiCad-official CAD.++## Pinout++| Pin | Name | Type | Function |+|---|---|---|---|+| 1 | VCAP | passive | Internal 1.5 V core LDO decoupling capacitor pin. Connect a decoupling capacitor to DVSS; do not drive. |+| 2 | PC13 | bidirectional | General-purpose I/O PC13. Alt: TIM3_CH1B (digital), LVD0 (analog). |+| 3 | PC14/XTLI | bidirectional | General-purpose I/O PC14 or 32.768 kHz low-speed crystal oscillator input (XTLI). |+| 4 | PC15/XTLO | bidirectional | General-purpose I/O PC15 or 32.768 kHz low-speed crystal oscillator output (XTLO). |+| 5 | PF00/XTHI | bidirectional | PF00 GPIO / high-speed crystal input XTHI (4-32 MHz). Alt digital: I2C0_SDA, UART1_TXD. |+| 6 | PF01/XTHO | bidirectional | PF01 GPIO / high-speed crystal output XTHO (4-32 MHz). Alt digital: I2C0_SCL, TIM4_CHB, UART1_RXD. |+| 7 | RESETB | input | Active-low external reset input. Drive low to reset the MCU; internal pull-up present. |+| 8 | AVSS | power_in | Analog ground reference for ADC/DAC/analog blocks. Tie to DVSS at a single point. |+| 9 | AVCC | power_in | Analog supply for ADC/DAC/OPA/comparators, 1.8-5.5 V. Decouple to AVSS. |+| 10 | PA00 | bidirectional | PA00 GPIO. Alt digital: UART1_CTS, TIM0_ETR, VC0_OUT, TIM1_CHA, TIM3_ETR, TIM0_CHA. Analog: AIN0, VC0_INP4, VC0_INN0, VC1_INP0, VC1_INN4, SEG23. |+| 11 | PA01 | bidirectional | PA01 GPIO. Alt digital: UART1_RTS, TIM0_CHB, TIM1_ETR, TIM1_CHB, HCLK_OUT, SPI1_MOSI. Analog: AIN1, VC0_INP5, VC0_INN1, VC1_INP1, VC1_INN5, SEG22. |+| 12 | PA02 | bidirectional | PA02 GPIO. Alt digital: UART1_TXD, TIM0_CHA, VC1_OUT, TIM1_CHA, TIM2_CHA, PCLK_OUT, SPI1_MISO. Analog: AIN2, VC0_INP6, VC0_INN2, VC1_INP2, SEG21. |+| 13 | PA03 | bidirectional | PA03 GPIO. Alt digital: UART1_RXD, TIM0_GATE, TIM1_CHB, TIM2_CHB, SPI1_CS, TIM3_CH1A, TIM5_CHA. Analog: AIN3, VC0_INP7, VC0_INN3, VC1_INP3, SEG20. |+| 14 | PA04 | bidirectional | PA04 GPIO. Alt digital: SPI0_CS, UART1_TXD, PCA_CH4, TIM2_ETR, TIM5_CHA, LVD_OUT, TIM3_CH2B. Analog: AIN4, VC0_INP8, VC0_INN4, VC1_INP4, DAC_OUT, OPA_OUT0, SEG19. |+| 15 | PA05 | bidirectional | PA05 GPIO. Alt digital: SPI0_SCK, TIM0_ETR, PCA_ECI, TIM0_CHA, TIM5_CHB, XTL_OUT, XTH_OUT. Analog: AIN5, VC0_INP9, VC0_INN5, VC1_INP5, VC2_INP0, VC2_INN0, OPA_OUT1, SEG18. |+| 16 | PA06 | bidirectional | PA06 GPIO. Alt digital: SPI0_MISO, PCA_CH0, TIM3_BK, TIM1_CHA, VC0_OUT, TIM3_GATE. Analog: AIN6, VC0_INP10, VC0_INN6, OPA_OUT2, SEG17. |+| 17 | PA07 | bidirectional | PA07 GPIO. Alt digital: SPI0_MOSI, PCA_CH1, HCLK_OUT, TIM3_CH0B, TIM2_CHA, VC1_OUT, TIM4_CHB. Analog: AIN7, VC0_INP11, VC0_INN7, OPA_OUT3, SEG16. |+| 18 | PB00 | bidirectional | PB00 GPIO. Alt digital: PCA_CH2, TIM3_CH1B, TIM5_CHB, RCH_OUT, RCL_OUT, PLL_OUT. Analog: AIN8, VC0_INN10, VC1_INN6, OPA_INP, SEG13. |+| 19 | PB01 | bidirectional | PB01 GPIO. Alt digital: PCA_CH3, PCLK_OUT, TIM3_CH2B, TIM6_CHB, VC2_OUT, TCLK_OUT. Analog: AIN9/EXVREF, VC1_INP6, VC1_INN7, VC2_INP1, VC2_INN1, SEG12. |+| 20 | PB02 | bidirectional | PB02 GPIO. Alt digital: PCA_ECI, TIM4_CHA, TIM1_BK, TIM0_BK, TIM2_BK. Analog: AIN16, VC1_INP7, VC1_INN8, SEG11. |+| 21 | PB10 | bidirectional | PB10 GPIO. Alt digital: I2C1_SCL, SPI1_SCK, TIM1_CHA, TIM3_CH1A, UART1_RTS. Analog: AIN17, VC1_INP8, SEG10. |+| 22 | PB11 | bidirectional | PB11 GPIO. Alt digital: I2C1_SDA, TIM1_CHB, TIM2_GATE, TIM6_CHA, UART1_CTS. Analog: AIN18, VC2_INP8, VC2_INN4, SEG9. |+| 23 | DVSS | power_in | Digital ground. |+| 24 | DVCC | power_in | Digital supply, 1.8-5.5 V. Decouple to DVSS. |+| 25 | PB12 | bidirectional | PB12 GPIO. Alt digital: SPI1_CS, TIM3_BK, TIM0_BK, TIM6_CHA. Analog: AIN19, VC1_INP9, SEG8. |+| 26 | PB13 | bidirectional | PB13 GPIO. Alt digital: SPI1_SCK, I2C1_SCL, TIM3_CH0B, TIM1_CHA, TIM1_GATE, TIM6_CHB. Analog: AIN20, VC1_INP10, SEG7. |+| 27 | PB14 | bidirectional | PB14 GPIO. Alt digital: SPI1_MISO, I2C1_SDA, TIM3_CH1B, TIM0_CHA, TIM1_BK. Analog: AIN21, VC1_INP11, VC2_INP9, VC2_INN5, SEG6. |+| 28 | PB15 | bidirectional | PB15 GPIO. Alt digital: SPI1_MOSI, TIM3_CH2B, TIM0_CHB, TIM0_GATE. Analog: AIN22, SEG5. |+| 29 | PA08 | bidirectional | PA08 GPIO. Alt digital: UART0_TXD, TIM3_CH0A, TIM1_GATE, TIM4_CHA, TIM3_BK. Analog: SEG0. |+| 30 | PA09 | bidirectional | PA09 GPIO. Alt digital: UART0_TXD, TIM3_CH1A, TIM0_BK, I2C0_SCL, HCLK_OUT, TIM5_CHA. Analog: COM0 (LCD). |+| 31 | PA10 | bidirectional | PA10 GPIO. Alt digital: UART0_RXD, TIM3_CH2A, TIM2_BK, I2C0_SDA, TIM2_GATE, PCLK_OUT, TIM6_CHA. Analog: COM1 (LCD). |+| 32 | PA11 | bidirectional | PA11 GPIO. Alt digital: UART0_CTS, TIM3_GATE, I2C1_SCL, VC0_OUT, SPI0_MISO, TIM4_CHB. Analog: COM2 (LCD). |+| 33 | PA12 | bidirectional | PA12 GPIO. Alt digital: UART0_RTS, TIM3_ETR, I2C1_SDA, VC1_OUT, SPI0_MOSI. Analog: COM3 (LCD). |+| 34 | PA13/SWDIO | bidirectional | PA13 GPIO / SWD data (SWDIO), default after reset. Alt digital: IR_OUT, UART0_RXD, LVD_OUT, TIM3_ETR, VC2_OUT. |+| 35 | PF06 | bidirectional | PF06 GPIO. Alt digital: I2C1_SCL, UART0_CTS. |+| 36 | PF07 | bidirectional | PF07 GPIO. Alt digital: I2C1_SDA, UART0_RTS. |+| 37 | PA14/SWCLK | bidirectional | PA14 GPIO / SWD clock (SWCLK), default after reset. Alt digital: UART1_TXD, UART0_TXD, TIM3_CH2A, LVD_OUT, RCH_OUT, RCL_OUT, PLL_OUT. |+| 38 | PA15 | bidirectional | PA15 GPIO. Alt digital: SPI0_CS, UART1_RXD, TIM0_ETR, TIM0_CHA, TIM3_CH1A. |+| 39 | PB03 | bidirectional | PB03 GPIO. Alt digital: SPI0_SCK, TIM0_CHB, TIM1_GATE, TIM3_CH0A, XTL_OUT, XTH_OUT. Analog: VC1_INN9, SEG35/VLCDH. |+| 40 | PB04 | bidirectional | PB04 GPIO. Alt digital: SPI0_MISO, PCA_CH0, TIM2_BK, UART0_CTS, TIM2_GATE, TIM3_CH0B. Analog: VC0_INP12, VC1_INP12, SEG34/VLCD3. |+| 41 | PB05 | bidirectional | PB05 GPIO. Alt digital: SPI0_MOSI, TIM1_BK, PCA_CH1, UART0_RTS. Analog: VC0_INP13, SEG33/VLCD2. |+| 42 | PB06 | bidirectional | PB06 GPIO. Alt digital: I2C0_SCL, UART0_TXD, TIM1_CHB, TIM0_CHA, TIM3_CH0A. Analog: VC0_INP14, VC1_INP14, SEG32/VLCD1. |+| 43 | PB07 | bidirectional | PB07 GPIO. Alt digital: I2C0_SDA, UART0_RXD, TIM2_CHB, TIM0_CHB. Analog: VC1_INP15, LVD2, SEG31. |+| 44 | BOOT0/PF11 | bidirectional | Boot-mode select input BOOT0 at reset (controls Flash programming entry); usable as GPIO PF11 afterward. Analog: SEG30. |+| 45 | PB08 | bidirectional | PB08 GPIO. Alt digital: I2C0_SCL, TIM1_CHA, TIM2_CHA, TIM0_GATE, TIM3_CH2A, UART0_TXD. Analog: LVD1, SEG29. |+| 46 | PB09 | bidirectional | PB09 GPIO. Alt digital: I2C0_SDA, IR_OUT, SPI1_CS, TIM2_CHA, TIM2_CHB, UART0_RXD. Analog: SEG28. |+| 47 | DVSS | power_in | Digital ground (second pair). |+| 48 | DVCC | power_in | Digital supply, 1.8-5.5 V (second pair). Decouple to DVSS. |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | XHSC |+| Package | LQFP-48(7x7) |+| Category | MCU |+| Pins | 48 |++## Ordering variants++Same part, different packaging or reel option.++- `HC32F170JATA-LQ48`+- `HC32F170JATA-LQ48JATH-LQ48`+- `HC32F170JATA-LQ48PATA-LQFP100`+- `HC32F170JATA-LQ48MATA-LQFP80`+- `HC32F170JATA-LQ48KATA-LQFP64`+- `HC32F170JATA-LQ48KATA-LQ64`+- `HC32F170JATA-LQ48LATA-LQ52`+- `HC32F170JATA-LQ48FAUA-QFN32TR`++## CAD (KiCad official)++- Symbol: `HC32F170JATA-LQ48`+- Footprint: `Package_QFP:LQFP-48_7x7mm_P0.5mm`+- 3D model: LQFP-48(7x7) (KiCad packages3D, STEP)++## Provenance++Data extracted from the manufacturer datasheet, not a distributor listing:++- **Datasheet:** [XHSC datasheet](docs/hc32f170jata-lq48-datasheet.pdf) (98 pp, sha256 `656517d253eb7a18`, retrieved 2026-08-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:** `ds2sf` (Claude). Every pin and dimension is cited to a datasheet page; it refuses to fabricate.+- **CAD:** KiCad official libraries (CC-BY-SA 4.0).++[Datasheet PDF](docs/hc32f170jata-lq48-datasheet.pdf)
page.jsonadded+34@@ -0,0 +1,34 @@+{+ "slug": "hc32f170jata-lq48",+ "version": "0.1.0",+ "type": "component",+ "description": "XHSC Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Datasheet-verified pinout, KiCad symbol/footprint/3D.",+ "tags": [+ "component",+ "mcu",+ "hc32f170jata-lq48"+ ],+ "dependencies": {},+ "hero": {+ "type": "image",+ "path": "docs/hero.png"+ },+ "files": [+ "page.json",+ "README.md",+ "hc32f170jata-lq48.kicad_sym",+ "hc32f170jata-lq48.kicad_mod",+ "hc32f170jata-lq48.glb",+ "hc32f170jata-lq48.step",+ "hc32f170jata-lq48.lbr",+ "docs/hero.png",+ "docs/hc32f170jata-lq48-datasheet.pdf",+ "viewers/symbol.html",+ "viewers/footprint.html"+ ],+ "visibility": "public",+ "author": {+ "name": "Ray",+ "email": "[email protected]"+ }+}