main
Ray Publish 0.1.0 a581f73 9d ago
{
  "slug": "hc32l170jata-lq48",
  "version": "0.1.0",
  "type": "component",
  "description": "XHSC Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "hc32l170jata-lq48",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "hc32l170jata-lq48.kicad_sym",
    "hc32l170jata-lq48.kicad_mod",
    "hc32l170jata-lq48.glb",
    "hc32l170jata-lq48.step",
    "hc32l170jata-lq48.lbr",
    "docs/hero.png",
    "docs/hc32l170jata-lq48-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "hc32l170jata-lq48-hero.glb",
    "hc32l170jata-lq48-hero.overlay.json",
    "hc32l170jata-lq48-etched.glb"
  ],
  "component": {
    "mpn": "HC32L170JATA-LQ48",
    "manufacturer": "XHSC",
    "package": "LQFP-48(7x7)",
    "pin_count": 48,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588894406351339520",
    "parts": {
      "symbol": "hc32l170jata-lq48.kicad_sym",
      "footprint": "hc32l170jata-lq48.kicad_mod",
      "model_3d": "hc32l170jata-lq48-hero.glb",
      "model_3d_plain": "hc32l170jata-lq48-etched.glb",
      "model_3d_step": "hc32l170jata-lq48-etched.step",
      "model_3d_step_plain": "hc32l170jata-lq48.step",
      "lbr": "hc32l170jata-lq48.lbr"
    },
    "distributor_links": {
      "lcsc": "C493496"
    },
    "distributor_check": {
      "checked_at": "2026-10-17T22:37:57Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "quota"
      },
      "mouser": {
        "pn": null,
        "status": "quota"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "VCAP",
        "type": "power_out",
        "description": "Internal LDO core-supply output for internal circuits only, requiring an external decoupling capacitor of not less than 1 uF."
      },
      {
        "number": "2",
        "name": "PC13",
        "type": "bidirectional",
        "description": "GPIO PC13 with RTC_1HZ and TIM3_CH1B digital alternates and LVD0 as a low-voltage-detect monitor input."
      },
      {
        "number": "3",
        "name": "XTLI/PC14",
        "type": "passive",
        "description": "Low-speed crystal oscillator input (XTL, 32.768 kHz) whose load capacitance must follow the crystal maker's specification; PC14 is also a GPIO."
      },
      {
        "number": "4",
        "name": "XTLO/PC15",
        "type": "passive",
        "description": "Low-speed crystal oscillator output (XTL, 32.768 kHz) whose load capacitance must follow the crystal maker's specification; PC15 is also a GPIO."
      },
      {
        "number": "5",
        "name": "XTHI/PF00",
        "type": "passive",
        "description": "High-speed crystal oscillator input (XTH, 4-32 MHz); PF00 is also a GPIO with I2C0_SDA and UART1_TXD alternates."
      },
      {
        "number": "6",
        "name": "XTHO/PF01",
        "type": "passive",
        "description": "High-speed crystal oscillator output (XTH, 4-32 MHz); PF01 is also a GPIO with I2C0_SCL, TIM4_CHB and UART1_RXD alternates."
      },
      {
        "number": "7",
        "name": "RESETB",
        "type": "input",
        "description": "Reset input with an always-connected internal pull-up of about 80 kOhm, VIL max 0.3VCC and VIH min 0.7VCC; filter pulse 100 ns and non-filter pulse 300 ns."
      },
      {
        "number": "8",
        "name": "AVSS",
        "type": "power_in",
        "description": "Analog ground, with a VSS-to-VSS ground difference limited to 50 mV."
      },
      {
        "number": "9",
        "name": "AVCC",
        "type": "power_in",
        "description": "Analog supply, which must be at the same voltage as DVCC within the 50 mV limit and within the 1.8-5.5 V operating range."
      },
      {
        "number": "10",
        "name": "PA00",
        "type": "bidirectional",
        "description": "GPIO PA00 with digital alternates (UART1_CTS, LPUART1_TXD, TIM0_ETR, VC0_OUT, TIM1_CHA, TIM3_ETR, TIM0_CHA) and analog inputs AIN0, VC0_INP4, VC0_INN0, VC1_INP0, VC1_INN4."
      },
      {
        "number": "11",
        "name": "PA01",
        "type": "bidirectional",
        "description": "GPIO PA01 with digital alternates (UART1_RTS, LPUART1_RXD, TIM0_CHB, TIM1_ETR, TIM1_CHB, HCLK_OUT, SPI1_MOSI) and analog inputs AIN1, VC0_INP5, VC0_INN1, VC1_INP1, VC1_INN5."
      },
      {
        "number": "12",
        "name": "PA02",
        "type": "bidirectional",
        "description": "GPIO PA02 with digital alternates (UART1_TXD, TIM0_CHA, VC1_OUT, TIM1_CHA, TIM2_CHA, PCLK_OUT, SPI1_MISO) and analog inputs AIN2, VC0_INP6, VC0_INN2, VC1_INP2."
      },
      {
        "number": "13",
        "name": "PA03",
        "type": "bidirectional",
        "description": "GPIO PA03 with digital alternates (UART1_RXD, TIM0_GATE, TIM1_CHB, TIM2_CHB, SPI1_CS, TIM3_CH1A, TIM5_CHA) and analog inputs AIN3, VC0_INP7, VC0_INN3, VC1_INP3."
      },
      {
        "number": "14",
        "name": "PA04",
        "type": "bidirectional",
        "description": "GPIO PA04 with digital alternates (SPI0_CS, UART1_TXD, PCA_CH4, TIM2_ETR, TIM5_CHA, LVD_OUT, TIM3_CH2B) and analog inputs AIN4, VC0_INP8, VC0_INN4, VC1_INP4, DAC_OUT and OPA_OUT0."
      },
      {
        "number": "15",
        "name": "PA05",
        "type": "bidirectional",
        "description": "GPIO PA05 with digital alternates SPI0_SCK, TIM0_ETR, PCA_ECI, TIM0_CHA, TIM5_CHB, XTL_OUT and XTH_OUT."
      },
      {
        "number": "16",
        "name": "PA06",
        "type": "bidirectional",
        "description": "GPIO PA06 with digital alternates SPI0_MISO, PCA_CH0, TIM3_BK, TIM1_CHA, VC0_OUT, TIM3_GATE and LPUART0_CTS."
      },
      {
        "number": "17",
        "name": "PA07",
        "type": "bidirectional",
        "description": "GPIO PA07 with digital alternates SPI0_MOSI, PCA_CH1, HCLK_OUT, TIM3_CH0B, TIM2_CHA, VC1_OUT and TIM4_CHB."
      },
      {
        "number": "18",
        "name": "PB00",
        "type": "bidirectional",
        "description": "GPIO PB00 with digital alternates PCA_CH2, TIM3_CH1B, LPUART0_TXD, TIM5_CHB, RCH_OUT, RCL_OUT and PLL_OUT."
      },
      {
        "number": "19",
        "name": "PB01",
        "type": "bidirectional",
        "description": "GPIO PB01 with digital alternates PCA_CH3, PCLK_OUT, TIM3_CH2B, TIM6_CHB, LPUART0_RTS, VC2_OUT and TCLK_OUT."
      },
      {
        "number": "20",
        "name": "PB02",
        "type": "bidirectional",
        "description": "GPIO PB02 with digital alternates LPTIM_TOG, PCA_ECI, LPUART1_TXD, TIM4_CHA, TIM1_BK, TIM0_BK and TIM2_BK."
      },
      {
        "number": "21",
        "name": "PB10",
        "type": "bidirectional",
        "description": "GPIO PB10 with digital alternates I2C1_SCL, SPI1_SCK, TIM1_CHA, LPUART0_TXD, TIM3_CH1A, LPUART1_RTS and UART1_RTS."
      },
      {
        "number": "22",
        "name": "PB11",
        "type": "bidirectional",
        "description": "GPIO PB11 with digital alternates I2C1_SDA, TIM1_CHB, LPUART0_RXD, TIM2_GATE, TIM6_CHA, LPUART1_CTS and UART1_CTS."
      },
      {
        "number": "23",
        "name": "DVSS",
        "type": "power_in",
        "description": "Digital ground, which must be connected to the system ground."
      },
      {
        "number": "24",
        "name": "DVCC",
        "type": "power_in",
        "description": "Digital supply, 1.8-5.5 V, which must be at the same voltage as AVCC."
      },
      {
        "number": "25",
        "name": "PB12",
        "type": "bidirectional",
        "description": "GPIO PB12 with digital alternates SPI1_CS, TIM3_BK, LPUART0_TXD, TIM0_BK, LPUART0_RTS and TIM6_CHA."
      },
      {
        "number": "26",
        "name": "PB13",
        "type": "bidirectional",
        "description": "GPIO PB13 with digital alternates SPI1_SCK, I2C1_SCL, TIM3_CH0B, LPUART0_CTS, TIM1_CHA, TIM1_GATE and TIM6_CHB."
      },
      {
        "number": "27",
        "name": "PB14",
        "type": "bidirectional",
        "description": "GPIO PB14 with digital alternates SPI1_MISO, I2C1_SDA, TIM3_CH1B, TIM0_CHA, RTC_1HZ, LPUART0_RTS and TIM1_BK."
      },
      {
        "number": "28",
        "name": "PB15",
        "type": "bidirectional",
        "description": "GPIO PB15 with digital alternates SPI1_MOSI, TIM3_CH2B, TIM0_CHB, TIM0_GATE and LPUART1_RXD."
      },
      {
        "number": "29",
        "name": "PA08",
        "type": "bidirectional",
        "description": "GPIO PA08 with digital alternates UART0_TXD, TIM3_CH0A, TIM1_GATE, TIM4_CHA and TIM3_BK."
      },
      {
        "number": "30",
        "name": "PA09",
        "type": "bidirectional",
        "description": "GPIO PA09 with digital alternates UART0_TXD, TIM3_CH1A, TIM0_BK, I2C0_SCL, HCLK_OUT and TIM5_CHA."
      },
      {
        "number": "31",
        "name": "PA10",
        "type": "bidirectional",
        "description": "GPIO PA10 with digital alternates UART0_RXD, TIM3_CH2A, TIM2_BK, I2C0_SDA, TIM2_GATE, PCLK_OUT and TIM6_CHA."
      },
      {
        "number": "32",
        "name": "PA11",
        "type": "bidirectional",
        "description": "GPIO PA11 with digital alternates UART0_CTS, TIM3_GATE, I2C1_SCL, VC0_OUT, SPI0_MISO and TIM4_CHB."
      },
      {
        "number": "33",
        "name": "PA12",
        "type": "bidirectional",
        "description": "GPIO PA12 with digital alternates UART0_RTS, TIM3_ETR, I2C1_SDA, VC1_OUT, SPI0_MOSI and PCNT_S0."
      },
      {
        "number": "34",
        "name": "PA13/SWDIO",
        "type": "bidirectional",
        "description": "SWD debug data I/O (SWDIO) shared with GPIO PA13, which also carries IR_OUT, UART0_RXD, LVD_OUT, TIM3_ETR, RTC_1HZ, PCNT_S1 and VC2_OUT alternates."
      },
      {
        "number": "35",
        "name": "PF06",
        "type": "bidirectional",
        "description": "GPIO PF06 with digital alternates I2C1_SCL, LPUART1_CTS and UART0_CTS."
      },
      {
        "number": "36",
        "name": "PF07",
        "type": "bidirectional",
        "description": "GPIO PF07 with digital alternates I2C1_SDA, LPUART1_RTS and UART0_RTS."
      },
      {
        "number": "37",
        "name": "PA14/SWCLK",
        "type": "input",
        "description": "SWD debug clock (SWCLK) shared with GPIO PA14, which also carries UART1_TXD, UART0_TXD, TIM3_CH2A, LVD_OUT, RCH_OUT, RCL_OUT and PLL_OUT alternates."
      },
      {
        "number": "38",
        "name": "PA15",
        "type": "bidirectional",
        "description": "GPIO PA15 with digital alternates SPI0_CS, UART1_RXD, LPUART1_RTS, TIM0_ETR, TIM0_CHA and TIM3_CH1A."
      },
      {
        "number": "39",
        "name": "PB03",
        "type": "bidirectional",
        "description": "GPIO PB03 with digital alternates SPI0_SCK, TIM0_CHB, TIM1_GATE, TIM3_CH0A, LPTIM_GATE, XTL_OUT and XTH_OUT."
      },
      {
        "number": "40",
        "name": "PB04",
        "type": "bidirectional",
        "description": "GPIO PB04 with digital alternates SPI0_MISO, PCA_CH0, TIM2_BK, UART0_CTS, TIM2_GATE, TIM3_CH0B and LPTIM_ETR."
      },
      {
        "number": "41",
        "name": "PB05",
        "type": "bidirectional",
        "description": "GPIO PB05 with digital alternates SPI0_MOSI, TIM1_BK, PCA_CH1, LPTIM_GATE, PCNT_S0 and UART0_RTS."
      },
      {
        "number": "42",
        "name": "PB06",
        "type": "bidirectional",
        "description": "GPIO PB06 with digital alternates I2C0_SCL, UART0_TXD, TIM1_CHB, TIM0_CHA, LPTIM_ETR, TIM3_CH0A and LPTIM_TOG."
      },
      {
        "number": "43",
        "name": "PB07",
        "type": "bidirectional",
        "description": "GPIO PB07 with digital alternates I2C0_SDA, UART0_RXD, TIM2_CHB, LPUART1_CTS, TIM0_CHB, LPTIM_TOGN and PCNT_S1."
      },
      {
        "number": "44",
        "name": "BOOT0",
        "type": "input",
        "description": "Boot-mode select sampled at reset (PF11): high selects ISP programming mode, low selects user mode running Flash code with SWD access."
      },
      {
        "number": "45",
        "name": "PB08",
        "type": "bidirectional",
        "description": "GPIO PB08 with digital alternates I2C0_SCL, TIM1_CHA, TIM2_CHA, TIM0_GATE, TIM3_CH2A and UART0_TXD."
      },
      {
        "number": "46",
        "name": "PB09",
        "type": "bidirectional",
        "description": "GPIO PB09 with digital alternates I2C0_SDA, IR_OUT, SPI1_CS, TIM2_CHA, TIM2_CHB and UART0_RXD."
      },
      {
        "number": "47",
        "name": "DVSS",
        "type": "power_in",
        "description": "Digital ground, which must be connected to the system ground."
      },
      {
        "number": "48",
        "name": "DVCC",
        "type": "power_in",
        "description": "Digital supply, 1.8-5.5 V, which must be at the same voltage as AVCC."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-haiku-5-5",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: The datasheet text provided jumps from page 30 to page 38; pages 31-37 (the LQFP48 pin-function rows; HC32L170JATA has no LCD, so the SEG/COM/VLCD alternates shown in the LQFP-100/80/64 drawings and on ; Analog alternates (AIN, VC, OPA, DAC) are listed only for PA00-PA04 and PB09 descriptions where the ",
          "27/48 pins cited to the wrong page (name found elsewhere): ['3:XTLI/PC14@p62', '4:XTLO/PC15@p62', '5:XTHI/PF00@p60', '6:XTHO/PF01@p60']"
        ],
        "pages_sent": 51,
        "cost_usd": 0.3046,
        "at": "2026-10-17T22:35:39"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588894406351339520",
        "pages": 98,
        "sha256": "566056c166174c9d",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 48,
        "described": 48,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "hc32l170jata-lq48.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.0,
          9.0,
          1.5
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "9dea352d93177c2904afd7d7b68ea8855ce1ab691f69f8b3e13655600514b6bf",
        "checked": "2026-10-17",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "hc32l170jata-lq48-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.0,
          9.0,
          1.5
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "30dab56f16adbef16444bcd42ddf3f55038101462d451fb5fb041922a7bae353",
        "checked": "2026-10-17",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}