main
Ray Publish 0.1.0 43cc3ba 6d ago
{
  "slug": "hk32f031c4t6",
  "version": "0.1.0",
  "type": "component",
  "description": "HK 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",
    "hk32f031c4t6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "hk32f031c4t6.kicad_sym",
    "hk32f031c4t6.kicad_mod",
    "hk32f031c4t6.glb",
    "hk32f031c4t6.step",
    "hk32f031c4t6.lbr",
    "docs/hero.png",
    "docs/hk32f031c4t6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "hk32f031c4t6-hero.glb",
    "hk32f031c4t6-hero.overlay.json",
    "hk32f031c4t6-etched.glb"
  ],
  "component": {
    "mpn": "HK32F031C4T6",
    "manufacturer": "HK",
    "package": "LQFP-48(7x7)",
    "pin_count": 48,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588904605745098753",
    "parts": {
      "symbol": "hk32f031c4t6.kicad_sym",
      "footprint": "hk32f031c4t6.kicad_mod",
      "model_3d": "hk32f031c4t6-hero.glb",
      "model_3d_plain": "hk32f031c4t6-etched.glb",
      "model_3d_step": "hk32f031c4t6-etched.step",
      "model_3d_step_plain": "hk32f031c4t6.step",
      "lbr": "hk32f031c4t6.lbr"
    },
    "distributor_links": {
      "lcsc": "C482574"
    },
    "distributor_check": {
      "checked_at": "2026-10-21T00:27:42Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "VBAT",
        "type": "power_in",
        "description": "Backup power supply input (1.8 V to 5.5 V) that powers the RTC, the external 32.768 kHz oscillator and the backup registers when VDD is off."
      },
      {
        "number": "2",
        "name": "PC13",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with additional functions RTC_TAMP1, RTC_TS, RTC_OUT and WKUP2."
      },
      {
        "number": "3",
        "name": "PC14",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with additional function OSC32_IN for the 32.768 kHz LSE oscillator."
      },
      {
        "number": "4",
        "name": "PC15",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with additional function OSC32_OUT for the 32.768 kHz LSE oscillator."
      },
      {
        "number": "5",
        "name": "PF0",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate function I2C1_SDA and additional function OSC_IN for the HSE oscillator."
      },
      {
        "number": "6",
        "name": "PF1",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate function I2C1_SCL and additional function OSC_OUT for the HSE oscillator."
      },
      {
        "number": "7",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Reset input and internal reset output, active low."
      },
      {
        "number": "8",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground."
      },
      {
        "number": "9",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog power supply, 2.0 V to 5.5 V, for the ADC and the temperature sensor analog parts."
      },
      {
        "number": "10",
        "name": "PA0",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions TIM2_CH1, TIM2_ETR, USART1_CTS and ADC_IN0, and additional functions RTC_TAMP2, WKUP1 and CKI_4."
      },
      {
        "number": "11",
        "name": "PA1",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions TIM2_CH2, EVENTOUT, USART1_RTS and ADC_IN1."
      },
      {
        "number": "12",
        "name": "PA2",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions TIM2_CH3, USART1_TX and ADC_IN2."
      },
      {
        "number": "13",
        "name": "PA3",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions TIM2_CH4, USART1_RX and ADC_IN3."
      },
      {
        "number": "14",
        "name": "PA4",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions SPI1_NSS/I2S1_WS, TIM14_CH1, USART1_CK and ADC_IN4, and additional function CKI_1."
      },
      {
        "number": "15",
        "name": "PA5",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions SPI1_SCK/I2S1_CK, TIM2_CH1, TIM2_ETR and ADC_IN5."
      },
      {
        "number": "16",
        "name": "PA6",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions SPI1_MISO/I2S1_MCK, TIM3_CH1, TIM1_BKIN, TIM16_CH1, EVENTOUT and ADC_IN6, and additional function WKUP10."
      },
      {
        "number": "17",
        "name": "PA7",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM14_CH1, TIM1_CH1N, TIM17_CH1, EVENTOUT, MCO and ADC_IN7, and additional function WKUP11."
      },
      {
        "number": "18",
        "name": "PB0",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions TIM3_CH3, TIM1_CH2N, EVENTOUT and ADC_IN8."
      },
      {
        "number": "19",
        "name": "PB1",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions TIM3_CH4, TIM14_CH1, TIM1_CH3N and ADC_IN9."
      },
      {
        "number": "20",
        "name": "PB2",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate function I2C1_SMBA."
      },
      {
        "number": "21",
        "name": "PB10",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions TIM2_CH3 and I2C1_SCL."
      },
      {
        "number": "22",
        "name": "PB11",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions TIM2_CH4, EVENTOUT and I2C1_SDA."
      },
      {
        "number": "23",
        "name": "VSS",
        "type": "power_in",
        "description": "Digital ground."
      },
      {
        "number": "24",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital power supply, 2.0 V to 5.5 V standard operating voltage."
      },
      {
        "number": "25",
        "name": "PB12",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions TIM1_BKIN, EVENTOUT and SPI1_NSS/I2S1_WS."
      },
      {
        "number": "26",
        "name": "PB13",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions TIM1_CH1N and SPI1_SCK/I2S1_CK."
      },
      {
        "number": "27",
        "name": "PB14",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions TIM1_CH2N and SPI1_MISO/I2S1_MCK."
      },
      {
        "number": "28",
        "name": "PB15",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions TIM1_CH3N, SPI1_MOSI/I2S1_SD and RTC_REFIN."
      },
      {
        "number": "29",
        "name": "PA8",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions USART1_CK, TIM1_CH1, EVENTOUT and MCO."
      },
      {
        "number": "30",
        "name": "PA9",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions USART1_TX, TIM1_CH2, I2C1_SCL and MCO, and additional function WKUP12."
      },
      {
        "number": "31",
        "name": "PA10",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions USART1_RX, TIM1_CH3, TIM17_BKIN and I2C1_SDA, and additional function WKUP13."
      },
      {
        "number": "32",
        "name": "PA11",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions USART1_CTS, TIM1_CH4 and EVENTOUT."
      },
      {
        "number": "33",
        "name": "PA12",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions USART1_RTS, TIM1_ETR and EVENTOUT."
      },
      {
        "number": "34",
        "name": "PA13",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions IR_OUT and SWDIO, and additional function CKI_2."
      },
      {
        "number": "35",
        "name": "PF6",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate function I2C1_SCL."
      },
      {
        "number": "36",
        "name": "PF7",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate function I2C1_SDA."
      },
      {
        "number": "37",
        "name": "PA14",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions USART1_TX and SWCLK, and additional function CKI_3."
      },
      {
        "number": "38",
        "name": "PA15",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions SPI1_NSS/I2S1_WS, TIM2_CH1, TIM2_ETR, EVENTOUT and USART1_RX."
      },
      {
        "number": "39",
        "name": "PB3",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions SPI1_SCK/I2S1_CK, TIM2_CH2 and EVENTOUT."
      },
      {
        "number": "40",
        "name": "PB4",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions SPI1_MISO/I2S1_MCK, TIM3_CH1, EVENTOUT and TIM17_BKIN."
      },
      {
        "number": "41",
        "name": "PB5",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions SPI1_MOSI/I2S1_SD, I2C1_SMBA, TIM16_BKIN and TIM3_CH2."
      },
      {
        "number": "42",
        "name": "PB6",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions I2C1_SCL, USART1_TX and TIM16_CH1N."
      },
      {
        "number": "43",
        "name": "PB7",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions I2C1_SDA, USART1_RX and TIM17_CH1N."
      },
      {
        "number": "44",
        "name": "Boot0",
        "type": "input",
        "description": "Boot memory selection input, used at startup to select user flash, system memory or internal SRAM boot."
      },
      {
        "number": "45",
        "name": "PB8",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions I2C1_SCL and TIM16_CH1."
      },
      {
        "number": "46",
        "name": "PB9",
        "type": "bidirectional",
        "description": "General-purpose I/O (floating input during and after reset) with alternate functions I2C1_SDA, IR_OUT, TIM17_CH1 and EVENTOUT."
      },
      {
        "number": "47",
        "name": "VSS",
        "type": "power_in",
        "description": "Digital ground."
      },
      {
        "number": "48",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital power supply, 2.0 V to 5.5 V standard operating voltage."
      }
    ],
    "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 ordering table lists HK32F031C4T6 but the naming-rule table that maps the 'C' suffix to a packag; The LQFP48 pin-out drawing (page 33) is an image and was not in the extracted text. All pin data com; Some alternate-function lists in the pin table wrap across page breaks. PB12's SPI1_NSS/I2S1_WS entr"
        ],
        "pages_sent": 40,
        "cost_usd": 0.1612,
        "at": "2026-10-21T00:24:58"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588904605745098753",
        "pages": 55,
        "sha256": "e942f8805062c89a",
        "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": "hk32f031c4t6.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-21",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "hk32f031c4t6-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": "c94bc6ad12f7453ae835f7218624c1698822f03fbacb484dc8038ce1eb5306ea",
        "checked": "2026-10-21",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}