main
Ray Publish 0.1.0 1fc8135 9d ago
{
  "slug": "hc32a136k8tb-lq64",
  "version": "0.1.0",
  "type": "component",
  "description": "XHSC Microcontrollers (MCU/MPU/SOC), LQFP-64(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "hc32a136k8tb-lq64",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "hc32a136k8tb-lq64.kicad_sym",
    "hc32a136k8tb-lq64.kicad_mod",
    "hc32a136k8tb-lq64.glb",
    "hc32a136k8tb-lq64.step",
    "hc32a136k8tb-lq64.lbr",
    "docs/hero.png",
    "docs/hc32a136k8tb-lq64-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "hc32a136k8tb-lq64-hero.glb",
    "hc32a136k8tb-lq64-hero.overlay.json",
    "hc32a136k8tb-lq64-etched.glb"
  ],
  "component": {
    "mpn": "HC32A136K8TB-LQ64",
    "manufacturer": "XHSC",
    "package": "LQFP-64(7x7)",
    "pin_count": 64,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588907749711626240",
    "parts": {
      "symbol": "hc32a136k8tb-lq64.kicad_sym",
      "footprint": "hc32a136k8tb-lq64.kicad_mod",
      "model_3d": "hc32a136k8tb-lq64-hero.glb",
      "model_3d_plain": "hc32a136k8tb-lq64-etched.glb",
      "model_3d_step": "hc32a136k8tb-lq64-etched.step",
      "model_3d_step_plain": "hc32a136k8tb-lq64.step",
      "lbr": "hc32a136k8tb-lq64.lbr"
    },
    "distributor_links": {
      "lcsc": "C969901"
    },
    "distributor_check": {
      "checked_at": "2026-10-17T20:17:08Z",
      "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": "LDO core-supply output for internal circuits only; requires an external decoupling capacitor of at least 1 µF."
      },
      {
        "number": "2",
        "name": "PC13",
        "type": "bidirectional",
        "description": "GPIO port PC13 with digital functions RTC_1HZ and TIM3_CH1B and analog LVD_IN0 low-voltage detector input."
      },
      {
        "number": "3",
        "name": "XTLI/PC14",
        "type": "input",
        "description": "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."
      },
      {
        "number": "4",
        "name": "XTLO/PC15",
        "type": "output",
        "description": "Low-speed crystal oscillator output for the 32.768 kHz crystal (XTL), paired with XTLI."
      },
      {
        "number": "5",
        "name": "XTHI/PD00",
        "type": "input",
        "description": "High-speed crystal oscillator input for a 4-32 MHz crystal (XTH); also digital port PD00 with I2C0_SDA and UART1_TXD."
      },
      {
        "number": "6",
        "name": "XTHO/PD01",
        "type": "output",
        "description": "High-speed crystal oscillator output for the 4-32 MHz crystal (XTH); also digital port PD01 with I2C0_SCL, TIM4_CHB and UART1_RXD."
      },
      {
        "number": "7",
        "name": "RESETB",
        "type": "input",
        "description": "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Ω."
      },
      {
        "number": "8",
        "name": "PC00/SEG27",
        "type": "bidirectional",
        "description": "GPIO port PC00 with digital functions LPTIM_GATE, PCNT_S0 and UART1_CTS, analog input AIN10/VC inputs, and LCD segment output SEG27."
      },
      {
        "number": "9",
        "name": "PC01/SEG26",
        "type": "bidirectional",
        "description": "GPIO port PC01 with digital functions LPTIM_TOG, TIM5_CHB and UART1_RTS, analog input AIN11/VC inputs, and LCD segment output SEG26."
      },
      {
        "number": "10",
        "name": "PC02/SEG25",
        "type": "bidirectional",
        "description": "GPIO port PC02 with digital functions SPI1_MISO, LPTIM_TOGN and PCNT_S1, analog input AIN12/VC inputs, and LCD segment output SEG25."
      },
      {
        "number": "11",
        "name": "PC03/SEG24",
        "type": "bidirectional",
        "description": "GPIO port PC03 with digital functions SPI1_MOSI, LPTIM_ETR and LPTIM_TOGN, analog input AIN13/VC inputs, and LCD segment output SEG24."
      },
      {
        "number": "12",
        "name": "AVSS",
        "type": "power_in",
        "description": "Analog ground for the ADC, OPA and other analog blocks; must be connected to the system supply per the absolute maximum rating note."
      },
      {
        "number": "13",
        "name": "AVCC",
        "type": "power_in",
        "description": "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."
      },
      {
        "number": "14",
        "name": "PA00/SEG23",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "15",
        "name": "PA01/SEG22",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "16",
        "name": "PA02/SEG21",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "17",
        "name": "PA03/SEG20",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "18",
        "name": "PD04",
        "type": "bidirectional",
        "description": "GPIO port PD04; the datasheet lists no alternate digital or analog functions for this pin."
      },
      {
        "number": "19",
        "name": "PD05",
        "type": "bidirectional",
        "description": "GPIO port PD05; the datasheet lists no alternate digital or analog functions for this pin."
      },
      {
        "number": "20",
        "name": "PA04/SEG19",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "21",
        "name": "PA05/SEG18",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "22",
        "name": "PA06/SEG17",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "23",
        "name": "PA07/SEG16",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "24",
        "name": "PC04/SEG15",
        "type": "bidirectional",
        "description": "GPIO port PC04 with digital functions LPUART0_TXD, TIM2_ETR and IR_OUT, and LCD segment output SEG15."
      },
      {
        "number": "25",
        "name": "PC05/SEG14",
        "type": "bidirectional",
        "description": "GPIO port PC05 with digital functions LPUART0_RXD, TIM6_CHB and PCA_CH4, and LCD segment output SEG14."
      },
      {
        "number": "26",
        "name": "PB00/SEG13",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "27",
        "name": "PB01/SEG12",
        "type": "bidirectional",
        "description": "GPIO port PB01 with digital functions PCA_CH3, PCLK_OUT, TIM3_CH2B, TIM6_CHB and LPUART0_RTS, and LCD segment output SEG12."
      },
      {
        "number": "28",
        "name": "PB02/SEG11",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "29",
        "name": "PB10/SEG10",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "30",
        "name": "PB11/SEG9",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "31",
        "name": "DVSS",
        "type": "power_in",
        "description": "Digital ground; must be connected to the system ground supply."
      },
      {
        "number": "32",
        "name": "DVCC",
        "type": "power_in",
        "description": "Digital supply, 1.8-5.5 V; must match AVCC, with at most 300 mV difference allowed."
      },
      {
        "number": "33",
        "name": "PB12/SEG8",
        "type": "bidirectional",
        "description": "GPIO port PB12 with digital functions SPI1_CS, TIM3_BK, LPUART0_TXD, TIM0_BK, LPUART0_RTS and TIM6_CHA, and LCD segment output SEG8."
      },
      {
        "number": "34",
        "name": "PB13/SEG7",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "35",
        "name": "PB14/SEG6",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "36",
        "name": "PB15/SEG5",
        "type": "bidirectional",
        "description": "GPIO port PB15 with digital functions SPI1_MOSI, TIM3_CH2B, TIM0_CHB, TIM0_GATE and LPUART1_RXD, and LCD segment output SEG5."
      },
      {
        "number": "37",
        "name": "PC06/SEG4",
        "type": "bidirectional",
        "description": "GPIO port PC06 with digital functions PCA_CH0, TIM4_CHA and TIM2_CHA, and LCD segment output SEG4."
      },
      {
        "number": "38",
        "name": "PC07/SEG3",
        "type": "bidirectional",
        "description": "GPIO port PC07 with digital functions PCA_CH1, TIM5_CHA and TIM2_CHB, and LCD segment output SEG3."
      },
      {
        "number": "39",
        "name": "PC08/SEG2",
        "type": "bidirectional",
        "description": "GPIO port PC08 with digital functions PCA_CH2, TIM6_CHA and TIM2_ETR, and LCD segment output SEG2."
      },
      {
        "number": "40",
        "name": "PC09/SEG1",
        "type": "bidirectional",
        "description": "GPIO port PC09 with digital functions PCA_CH3, TIM4_CHB and TIM1_ETR, and LCD segment output SEG1."
      },
      {
        "number": "41",
        "name": "PA08/SEG0",
        "type": "bidirectional",
        "description": "GPIO port PA08 with digital functions UART0_TXD, TIM3_CH0A, TIM1_GATE, TIM4_CHA and TIM3_BK, and LCD segment output SEG0."
      },
      {
        "number": "42",
        "name": "PA09/COM0",
        "type": "bidirectional",
        "description": "GPIO port PA09 with digital functions UART0_TXD, TIM3_CH1A, TIM0_BK, I2C0_SCL, HCLK_OUT and TIM5_CHA, and LCD common output COM0."
      },
      {
        "number": "43",
        "name": "PA10/COM1",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "44",
        "name": "PA11/COM2",
        "type": "bidirectional",
        "description": "GPIO port PA11 with digital functions UART0_CTS, TIM3_GATE, I2C1_SCL, VC0_OUT, SPI0_MISO and TIM4_CHB, and LCD common output COM2."
      },
      {
        "number": "45",
        "name": "PA12/COM3",
        "type": "bidirectional",
        "description": "GPIO port PA12 with digital functions UART0_RTS, TIM3_ETR, I2C1_SDA, VC1_OUT, SPI0_MOSI and PCNT_S0, and LCD common output COM3."
      },
      {
        "number": "46",
        "name": "PA13/SWDIO",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "47",
        "name": "PD06",
        "type": "bidirectional",
        "description": "GPIO port PD06 with digital functions I2C1_SCL, LPUART1_CTS and UART0_CTS."
      },
      {
        "number": "48",
        "name": "PD07",
        "type": "bidirectional",
        "description": "GPIO port PD07 with digital functions I2C1_SDA, LPUART1_RTS and UART0_RTS."
      },
      {
        "number": "49",
        "name": "PA14/SWCLK",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "50",
        "name": "PA15",
        "type": "bidirectional",
        "description": "GPIO port PA15 with digital functions SPI0_CS, UART1_RXD, LPUART1_RTS, TIM0_ETR, TIM0_CHA and TIM3_CH1A."
      },
      {
        "number": "51",
        "name": "PC10/COM4/SEG39",
        "type": "bidirectional",
        "description": "GPIO port PC10 with digital functions LPUART1_TXD, LPUART0_TXD and PCA_CH2, and LCD common/segment output COM4/SEG39."
      },
      {
        "number": "52",
        "name": "PC11/COM5/SEG38",
        "type": "bidirectional",
        "description": "GPIO port PC11 with digital functions LPUART1_RXD, LPUART0_RXD and PCA_CH3, and LCD common/segment output COM5/SEG38."
      },
      {
        "number": "53",
        "name": "PC12/COM6/SEG37",
        "type": "bidirectional",
        "description": "GPIO port PC12 with digital functions LPUART0_TXD, LPUART1_TXD and PCA_CH4, and LCD common/segment output COM6/SEG37."
      },
      {
        "number": "54",
        "name": "PD02/COM7/SEG36",
        "type": "bidirectional",
        "description": "GPIO port PD02 with digital functions PCA_ECI, LPUART0_RTS and TIM1_ETR, and LCD common/segment output COM7/SEG36."
      },
      {
        "number": "55",
        "name": "PB03/SEG35/VLCDH",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "56",
        "name": "PB04/SEG34/VLCD3",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "57",
        "name": "PB05/SEG33/VLCD2",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "58",
        "name": "PB06/SEG32/VLCD1",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "59",
        "name": "PB07/SEG31",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "60",
        "name": "PD03/BOOT0/SEG30",
        "type": "bidirectional",
        "description": "BOOT0 boot-mode pin, sampled at reset: high selects ISP programming mode, low selects user mode with SWD programming; also LCD segment output SEG30."
      },
      {
        "number": "61",
        "name": "PB08/SEG29",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "62",
        "name": "PB09/SEG28",
        "type": "bidirectional",
        "description": "GPIO port PB09 with digital functions I2C0_SDA, IR_OUT, SPI1_CS, TIM2_CHA, TIM2_CHB and UART0_RXD, and LCD segment output SEG28."
      },
      {
        "number": "63",
        "name": "DVSS",
        "type": "power_in",
        "description": "Digital ground; must be connected to the system ground supply."
      },
      {
        "number": "64",
        "name": "DVCC",
        "type": "power_in",
        "description": "Digital supply, 1.8-5.5 V; must match AVCC, with at most 300 mV difference allowed."
      }
    ],
    "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: Pages 24-28 of the datasheet were not supplied. Pin names for pins 21-56 come from the pin diagram (; Pin 60 is labeled BOOT0 in the pin diagram and 'PD03 BOOT0 SEG30' in the table on p.29. The name PD0; The datasheet names these pins as crystal oscillator pins but does not assign an ERC direction. Type",
          "29/64 pins cited to the wrong page (name found elsewhere): ['12:AVSS@p39', '13:AVCC@p40', '21:PA05/SEG18@p30', '22:PA06/SEG17@p30']"
        ],
        "pages_sent": 38,
        "cost_usd": 0.1956,
        "at": "2026-10-17T20:14:35"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588907749711626240",
        "pages": 66,
        "sha256": "1390f1293a77d3af",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 64,
        "described": 64,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "hc32a136k8tb-lq64.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.8,
          9.8,
          1.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "f91f2eca5f19e096f53f34ee39566d329c86d3b33cb6e5711eb08566f38cd8ed",
        "checked": "2026-10-17",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "hc32a136k8tb-lq64-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.8,
          9.8,
          1.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "1d248709035f7a8c49b867ff10fa44c125e088cb8f8bdf9e824e5c52e28a7e6e",
        "checked": "2026-10-17",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}