main
Ray Publish 0.1.0 4bed067 4h ago
{
  "slug": "hk32f030mf4u6",
  "version": "0.1.0",
  "type": "component",
  "description": "HK Microcontroller Units (MCUs/MPUs/SOCs), QFN-20-EP(4x4). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "single chip microcomputer-microcontroller",
    "hk32f030mf4u6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "hk32f030mf4u6.kicad_sym",
    "hk32f030mf4u6.kicad_mod",
    "hk32f030mf4u6.glb",
    "hk32f030mf4u6.step",
    "hk32f030mf4u6.lbr",
    "docs/hero.png",
    "docs/hk32f030mf4u6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "hk32f030mf4u6-hero.glb",
    "hk32f030mf4u6-hero.overlay.json",
    "hk32f030mf4u6-etched.glb"
  ],
  "component": {
    "mpn": "HK32F030MF4U6",
    "manufacturer": "HK",
    "package": "QFN-20-EP(4x4)",
    "pin_count": 21,
    "category": "Single Chip Microcomputer/Microcontroller",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/479fdf099d1f832fc1785800a069692c.pdf",
    "parts": {
      "symbol": "hk32f030mf4u6.kicad_sym",
      "footprint": "hk32f030mf4u6.kicad_mod",
      "model_3d": "hk32f030mf4u6-hero.glb",
      "model_3d_plain": "hk32f030mf4u6-etched.glb",
      "model_3d_step": "hk32f030mf4u6-etched.step",
      "model_3d_step_plain": "hk32f030mf4u6.step",
      "lbr": "hk32f030mf4u6.lbr"
    },
    "distributor_links": {
      "lcsc": "C3009961"
    },
    "distributor_check": {
      "checked_at": "2026-10-22T21:39:15Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "quota"
      },
      "mouser": {
        "pn": null,
        "status": "quota"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "NRST",
        "type": "input",
        "description": "External reset input, active low, with internal pull-up of about 50 kΩ (VIL max 0.8 V, VIH min 2 V); default function NRST."
      },
      {
        "number": "2",
        "name": "PA1/EXTCLK1",
        "type": "bidirectional",
        "description": "GPIO PA1 or GPIO external clock input EXTCLK1 (1 to 32 MHz); default function PA1."
      },
      {
        "number": "3",
        "name": "PA2",
        "type": "bidirectional",
        "description": "GPIO PA2; default alternate function AF0 is I2C1_SMBA."
      },
      {
        "number": "4",
        "name": "VSS/VSSA",
        "type": "power_in",
        "description": "Digital and analog ground, connected together on chip."
      },
      {
        "number": "5",
        "name": "VCAP",
        "type": "output",
        "description": "Default function NC (floating); QFN20 does not provide the EXTCLK2 function."
      },
      {
        "number": "6",
        "name": "VDD/VDDA",
        "type": "power_in",
        "description": "Digital and analog supply, connected together on chip, operating range 1.8 V to 3.6 V."
      },
      {
        "number": "7",
        "name": "PA3",
        "type": "bidirectional",
        "description": "GPIO PA3; default function PA3."
      },
      {
        "number": "8",
        "name": "PB5/SWCLK/EXTCLK3",
        "type": "bidirectional",
        "description": "GPIO PB5, default SWCLK debug clock, or external clock input EXTCLK3; AF0 is SWCLK or I2C1_SDA selected by an extra register."
      },
      {
        "number": "9",
        "name": "PB4",
        "type": "bidirectional",
        "description": "GPIO PB4; default alternate function AF0 is I2C1_SCL."
      },
      {
        "number": "10",
        "name": "PC3",
        "type": "bidirectional",
        "description": "GPIO PC3; default function PC3."
      },
      {
        "number": "11",
        "name": "PC4/AIN2",
        "type": "bidirectional",
        "description": "GPIO PC4 with ADC analog input AIN2; default function PC4."
      },
      {
        "number": "12",
        "name": "PC5/EXTCLK4",
        "type": "bidirectional",
        "description": "GPIO PC5 or external clock input EXTCLK4; AF0 is I2C1_SDA."
      },
      {
        "number": "13",
        "name": "PC6",
        "type": "bidirectional",
        "description": "GPIO PC6; default alternate function AF0 is I2C1_SCL."
      },
      {
        "number": "14",
        "name": "PC7",
        "type": "bidirectional",
        "description": "GPIO PC7; default function PC7."
      },
      {
        "number": "15",
        "name": "PD1",
        "type": "bidirectional",
        "description": "GPIO PD1; default alternate function AF0 is I2C1_SMBA."
      },
      {
        "number": "16",
        "name": "PD2/AIN4",
        "type": "bidirectional",
        "description": "GPIO PD2 with ADC analog input AIN4; default function PD2."
      },
      {
        "number": "17",
        "name": "PD3/AIN3",
        "type": "bidirectional",
        "description": "GPIO PD3 with ADC analog input AIN3; default function PD3."
      },
      {
        "number": "18",
        "name": "PD4",
        "type": "bidirectional",
        "description": "GPIO PD4; default alternate function AF0 is I2C1_SMBA."
      },
      {
        "number": "19",
        "name": "PD5/SWDIO/AIN0",
        "type": "bidirectional",
        "description": "GPIO PD5 with ADC analog input AIN0; default function SWDIO debug data (AF0 SWDIO)."
      },
      {
        "number": "20",
        "name": "PD6/AIN1",
        "type": "bidirectional",
        "description": "GPIO PD6 with ADC analog input AIN1; default function PD6."
      },
      {
        "number": "21",
        "name": "EP",
        "type": "passive",
        "description": "Exposed pad (from the footprint; not named in the datasheet pin table)."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-sonnet-5-5",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: Package hint says QFN-20-EP, but the pin table (Table 6-4) lists only pins 1-20 and no exposed pad p; VCAP is listed as type O with default function NC/floating. Its true electrical role is unclear, so ; Pins 18 and 20 show an extra 'GPIO' entry in the default-function column of Table 6-4. This looks li"
        ],
        "pages_sent": 36,
        "cost_usd": 0.2768,
        "at": "2026-10-22T21:39:03"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/479fdf099d1f832fc1785800a069692c.pdf",
        "pages": 45,
        "sha256": "468ed189f322dea3",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 21,
        "described": 21,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "hk32f030mf4u6.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          4.0,
          4.0,
          0.77
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "c9476a1612023de37f27b4972110ab6ac6dc0eaf5ac48957a2e1c497650082a5",
        "checked": "2026-10-22",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "hk32f030mf4u6-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          4.0,
          4.0,
          0.77
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "f8ed5f8a81e2ad4c17cc73f42e30e1d7eda14f6ced30d889e8ce5be8834fdcc1",
        "checked": "2026-10-22",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}