main
Ray Publish 0.1.0 0ff8a8b 17d ago
{
  "slug": "hc32d391feua-tfn32tr",
  "version": "0.1.0",
  "type": "component",
  "description": "XHSC Microcontrollers (MCU/MPU/SOC), QFN-32-EP(4x4). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "hc32d391feua-tfn32tr",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "hc32d391feua-tfn32tr.kicad_sym",
    "hc32d391feua-tfn32tr.kicad_mod",
    "hc32d391feua-tfn32tr.glb",
    "hc32d391feua-tfn32tr.step",
    "hc32d391feua-tfn32tr.lbr",
    "docs/hero.png",
    "docs/hc32d391feua-tfn32tr-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "hc32d391feua-tfn32tr-hero.glb",
    "hc32d391feua-tfn32tr-hero.overlay.json"
  ],
  "component": {
    "mpn": "HC32D391FEUA-TFN32TR",
    "manufacturer": "XHSC",
    "package": "QFN-32-EP(4x4)",
    "pin_count": 33,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8589040018216398848",
    "parts": {
      "symbol": "hc32d391feua-tfn32tr.kicad_sym",
      "footprint": "hc32d391feua-tfn32tr.kicad_mod",
      "model_3d": "hc32d391feua-tfn32tr-hero.glb",
      "model_3d_plain": "hc32d391feua-tfn32tr.glb",
      "model_3d_step": "hc32d391feua-tfn32tr-etched.step",
      "model_3d_step_plain": "hc32d391feua-tfn32tr.step",
      "lbr": "hc32d391feua-tfn32tr.lbr"
    },
    "distributor_links": {
      "lcsc": "C2961592"
    },
    "distributor_check": {
      "checked_at": "2026-10-09T19:12:44Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PC14/XTAL32_OUT",
        "type": "bidirectional",
        "description": "GPIO PC14, also the 32.768 kHz low-speed oscillator output XTAL32_OUT and external interrupt EIRQ14; input voltage must not exceed 5 V when used as an input."
      },
      {
        "number": "2",
        "name": "PC15/XTAL32_IN",
        "type": "bidirectional",
        "description": "GPIO PC15, also the 32.768 kHz low-speed oscillator input XTAL32_IN and external interrupt EIRQ15; input voltage must not exceed 5 V when used as an input."
      },
      {
        "number": "3",
        "name": "PH0/XTAL_IN",
        "type": "bidirectional",
        "description": "GPIO PH0, also the high-speed crystal oscillator input XTAL_IN (4-24 MHz crystal, or 1-24 MHz external clock) and EIRQ0; input voltage must not exceed 5 V when used as an input."
      },
      {
        "number": "4",
        "name": "PH1/XTAL_OUT",
        "type": "bidirectional",
        "description": "GPIO PH1, also the high-speed crystal oscillator output XTAL_OUT and external interrupt EIRQ1; input voltage must not exceed 5 V when used as an input."
      },
      {
        "number": "5",
        "name": "NRST",
        "type": "input",
        "description": "Active-low reset pin; minimum reset pulse width is 500 ns, and it should be pulled up to VCC through a resistor when not used."
      },
      {
        "number": "6",
        "name": "AVSS/VREFL",
        "type": "power_in",
        "description": "Analog ground and low reference voltage (AVSS = VSS); tie to VSS when the analog modules are not used."
      },
      {
        "number": "7",
        "name": "AVCC/VREFH",
        "type": "power_in",
        "description": "Analog supply, same voltage as VCC (1.8-3.6 V), and ADC high reference VREFH which must not exceed AVCC; short to AVCC when the ADC is not used."
      },
      {
        "number": "8",
        "name": "PA0/ADC1_IN0",
        "type": "bidirectional",
        "description": "GPIO PA0, also ADC1 analog input ADC1_IN0, EIRQ0 and WKUP0_0; when used as analog input the voltage must not exceed VREFH/AVCC."
      },
      {
        "number": "9",
        "name": "PA4/ADC1_IN4",
        "type": "bidirectional",
        "description": "GPIO PA4, also ADC1 analog input ADC1_IN4 and EIRQ4; when used as analog input the voltage must not exceed VREFH/AVCC."
      },
      {
        "number": "10",
        "name": "PB1/ADC1_IN9",
        "type": "bidirectional",
        "description": "GPIO PB1, also ADC1 analog input ADC1_IN9 and EIRQ1/WKUP0_1; when used as analog input the voltage must not exceed VREFH/AVCC."
      },
      {
        "number": "11",
        "name": "PB2/PVD2EXINP",
        "type": "bidirectional",
        "description": "GPIO PB2, also the PVD2 external comparison voltage input PVD2EXINP and EIRQ2/WKUP0_2; input voltage must not exceed 5 V when used as an input."
      },
      {
        "number": "12",
        "name": "PB10",
        "type": "bidirectional",
        "description": "GPIO PB10, also external interrupt EIRQ10; input voltage must not exceed 5 V when used as an input."
      },
      {
        "number": "13",
        "name": "VCAP_1",
        "type": "power_out",
        "description": "Core-voltage (main regulator) pin; connect a capacitor close to VSS of 0.047 µF, 0.1 µF or 0.22 µF with ESR < 0.3 Ω."
      },
      {
        "number": "14",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground, 0 V."
      },
      {
        "number": "15",
        "name": "VCC",
        "type": "power_in",
        "description": "Main supply, 1.8 V to 3.6 V; decouple close to VSS with the capacitors given in the power-supply scheme."
      },
      {
        "number": "16",
        "name": "PB12",
        "type": "bidirectional",
        "description": "GPIO PB12, also external interrupt EIRQ12 and VCOUT1; input voltage must not exceed 5 V when used as an input."
      },
      {
        "number": "17",
        "name": "PB13",
        "type": "bidirectional",
        "description": "GPIO PB13, also external interrupt EIRQ13 and VCOUT2; input voltage must not exceed 5 V when used as an input."
      },
      {
        "number": "18",
        "name": "PB14",
        "type": "bidirectional",
        "description": "GPIO PB14, also external interrupt EIRQ14 and VCOUT3; input voltage must not exceed 5 V when used as an input."
      },
      {
        "number": "19",
        "name": "PB15",
        "type": "bidirectional",
        "description": "GPIO PB15, also external interrupt EIRQ15 and RTC_OUT (1 Hz clock output); input voltage must not exceed 5 V when used as an input."
      },
      {
        "number": "20",
        "name": "PA8",
        "type": "bidirectional",
        "description": "GPIO PA8, also external interrupt EIRQ8/WKUP2_0, MCO_1 clock output and USBFS_SOF; input voltage must not exceed 5 V when used as an input."
      },
      {
        "number": "21",
        "name": "PA11/USBFS_DM",
        "type": "bidirectional",
        "description": "GPIO PA11, also the USB full-speed PHY D- signal USBFS_DM and EIRQ11/WKUP2_3; this pin is not 5 V tolerant, and its input voltage must not exceed VCC+0.3 V."
      },
      {
        "number": "22",
        "name": "PA12/USBFS_DP",
        "type": "bidirectional",
        "description": "GPIO PA12, also the USB full-speed PHY D+ signal USBFS_DP and EIRQ12/WKUP3_0; this pin is not 5 V tolerant, and its input voltage must not exceed VCC+0.3 V."
      },
      {
        "number": "23",
        "name": "PA13/JTMS_SWDIO",
        "type": "bidirectional",
        "description": "SWD data I/O JTMS_SWDIO, also GPIO PA13, EIRQ13 and WKUP3_1; input voltage must not exceed 5 V when used as an input."
      },
      {
        "number": "24",
        "name": "VCC",
        "type": "power_in",
        "description": "Main supply, 1.8 V to 3.6 V; decouple close to VSS with the capacitors given in the power-supply scheme."
      },
      {
        "number": "25",
        "name": "PA14/JTCK_SWCLK",
        "type": "bidirectional",
        "description": "SWD clock JTCK_SWCLK, also GPIO PA14, EIRQ14 and WKUP3_2; input voltage must not exceed 5 V when used as an input."
      },
      {
        "number": "26",
        "name": "PA15/JTDI",
        "type": "bidirectional",
        "description": "JTAG data input JTDI, also GPIO PA15, EIRQ15 and WKUP3_3; input voltage must not exceed 5 V when used as an input."
      },
      {
        "number": "27",
        "name": "PB3/JTDO_TRACESWO",
        "type": "bidirectional",
        "description": "JTAG data output / trace SWO JTDO_TRACESWO, also GPIO PB3 and EIRQ3/WKUP0_3; input voltage must not exceed 5 V when used as an input."
      },
      {
        "number": "28",
        "name": "PB4/NJTRST",
        "type": "bidirectional",
        "description": "JTAG reset NJTRST (active low), also GPIO PB4 and EIRQ4/WKUP1_0; input voltage must not exceed 5 V when used as an input."
      },
      {
        "number": "29",
        "name": "PB5",
        "type": "bidirectional",
        "description": "GPIO PB5, also external interrupt EIRQ5/WKUP1_1 and I2S4_EXCK; input voltage must not exceed 5 V when used as an input."
      },
      {
        "number": "30",
        "name": "PB11/MD",
        "type": "input",
        "description": "Input-only pin (NMI, mode input MD); it must be held high when NRST is released, and a 4.7 kΩ pull-up to VCC is recommended; 5 V tolerant."
      },
      {
        "number": "31",
        "name": "PH2",
        "type": "bidirectional",
        "description": "GPIO PH2, also external interrupt EIRQ2, FCM reference clock input FCMREF and I2S3_EXCK; input voltage must not exceed 5 V when used as an input."
      },
      {
        "number": "32",
        "name": "PC13",
        "type": "bidirectional",
        "description": "GPIO PC13, also external interrupt EIRQ13, RTC_OUT and I2S3_MCK; input voltage must not exceed 5 V when used as an input."
      },
      {
        "number": "33",
        "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-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's package drawing (page 86) shows an exposed thermal pad, but no pad number is given i; The pin diagram (Figure 2-1, page 25) text is garbled. Pin numbers and names were taken from the pin; VCAP_1 is listed as 'IO' (core voltage) in the datasheet's pin description table; it is typed here a",
          "exposed pad 33 added from the footprint"
        ],
        "pages_sent": 62,
        "cost_usd": 0.2102,
        "at": "2026-10-09T19:10:37"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8589040018216398848",
        "pages": 91,
        "sha256": "8acad70cc52a1da9",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 33,
        "described": 33,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "hc32d391feua-tfn32tr.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          4.0,
          4.0,
          0.6
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "7b482a511cdf2cf875c31931f9fea7f745b8dac2ea6203531cd6604f40a290cb",
        "checked": "2026-10-09",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "hc32d391feua-tfn32tr-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          4.0,
          4.0,
          0.6
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "28c870b351554da8f4dc39a1797459d7ddfbaf355d128afc8aa7d2e8dc595dc2",
        "checked": "2026-10-09",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}