main
Ray Publish 0.1.0 a72b00b 4d ago
{
  "slug": "hc32f334jaui-zfn48tr",
  "version": "0.1.0",
  "type": "component",
  "description": "XHSC Microcontrollers (MCU/MPU/SOC), QFN-48-EP(5x5). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "hc32f334jaui-zfn48tr",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "hc32f334jaui-zfn48tr.kicad_sym",
    "hc32f334jaui-zfn48tr.kicad_mod",
    "hc32f334jaui-zfn48tr.glb",
    "hc32f334jaui-zfn48tr.step",
    "hc32f334jaui-zfn48tr.lbr",
    "docs/hero.png",
    "docs/hc32f334jaui-zfn48tr-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "hc32f334jaui-zfn48tr-hero.glb",
    "hc32f334jaui-zfn48tr-hero.overlay.json",
    "hc32f334jaui-zfn48tr-etched.glb"
  ],
  "component": {
    "mpn": "HC32F334JAUI-ZFN48TR",
    "manufacturer": "XHSC",
    "package": "QFN-48-EP(5x5)",
    "pin_count": 49,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/2cf0c466aadbdff123525c6fca00d0f9.pdf",
    "parts": {
      "symbol": "hc32f334jaui-zfn48tr.kicad_sym",
      "footprint": "hc32f334jaui-zfn48tr.kicad_mod",
      "model_3d": "hc32f334jaui-zfn48tr-hero.glb",
      "model_3d_plain": "hc32f334jaui-zfn48tr-etched.glb",
      "model_3d_step": "hc32f334jaui-zfn48tr-etched.step",
      "model_3d_step_plain": "hc32f334jaui-zfn48tr.step",
      "lbr": "hc32f334jaui-zfn48tr.lbr"
    },
    "distributor_links": {
      "lcsc": "C20071236"
    },
    "distributor_check": {
      "checked_at": "2026-10-23T05:05:05Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PF2",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO (input must not exceed 5 V, and internal pull-up/pull-down is disabled when the input exceeds VCC) also providing EIRQ2 interrupt input and EMB, USART, PLA and Timer4/Timer6/TimerA alternate functions."
      },
      {
        "number": "2",
        "name": "PC13",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO (input must not exceed 5 V; pulls disabled above VCC) also providing EIRQ13 with WKUP3_1 wake-up input, RTC_OUT, PLA and Timer4/Timer6 alternate functions."
      },
      {
        "number": "3",
        "name": "PC14/XTAL32_IN",
        "type": "input",
        "description": "External secondary (32 kHz) oscillator input, also usable as 5 V-tolerant GPIO PC14 with EIRQ14 and PLA/Timer4 alternate functions."
      },
      {
        "number": "4",
        "name": "PC15/XTAL32_OUT",
        "type": "output",
        "description": "External secondary (32 kHz) oscillator output, also usable as 5 V-tolerant GPIO PC15 with EIRQ15 and Timer4 alternate functions."
      },
      {
        "number": "5",
        "name": "PF0/XTAL_IN",
        "type": "input",
        "description": "External main oscillator (XTAL) interface input, also usable as 5 V-tolerant GPIO PF0 with EIRQ0, CMP3_OUT and Timer4/Timer6 alternate functions."
      },
      {
        "number": "6",
        "name": "PF1/XTAL_OUT",
        "type": "output",
        "description": "External main oscillator (XTAL) interface output, also usable as 5 V-tolerant GPIO PF1 with EIRQ1, CMP1_OUT and Timer4 alternate functions."
      },
      {
        "number": "7",
        "name": "NRST",
        "type": "input",
        "description": "Reset terminal, active low; if unused it should be connected to VCC through a pull-up resistor."
      },
      {
        "number": "8",
        "name": "AVSS/VREFL",
        "type": "power_in",
        "description": "Analog ground and low analog reference; tie to VSS when the analog modules are not used."
      },
      {
        "number": "9",
        "name": "AVCC/VREFH",
        "type": "power_in",
        "description": "Analog supply at the same voltage as VCC (1.8-3.63 V) and high analog reference; tie to VCC when the analog modules are not used, and analog input voltages must not exceed AVCC/VREFH."
      },
      {
        "number": "10",
        "name": "PA0",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO that, when used as analog input, must not exceed AVCC/VREFH; also ADC1_IN0 with EIRQ0/WKUP0_0, CMP1_OUT, FCMREF and Timer6/TimerA alternate functions."
      },
      {
        "number": "11",
        "name": "PA1",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO that, when used as analog input, must not exceed AVCC/VREFH; also ADC1_IN1, RTC_CLK1 input, EIRQ1, EMB, HRPWM and TimerA alternate functions."
      },
      {
        "number": "12",
        "name": "PA2",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO that, when used as analog input, must not exceed AVCC/VREFH; also ADC1_IN2, CMP1_INM2, ADTRG1, EIRQ2, CMP1/CMP2_OUT, PLA0 and TimerA alternate functions."
      },
      {
        "number": "13",
        "name": "PA3",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO that, when used as analog input, must not exceed AVCC/VREFH; also ADC1_IN3, CMP1/2/3 positive inputs, ADTRG2, EIRQ3, PLA4 and TimerA alternate functions."
      },
      {
        "number": "14",
        "name": "PA4",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO that, when used as analog input, must not exceed AVCC/VREFH; also ADC12_IN4, DAC1_OUT1, CMP1/2/3 negative inputs, EIRQ4, USART1/2 clock, PLA5 and TimerA alternate functions."
      },
      {
        "number": "15",
        "name": "PA5",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO that, when used as analog input, must not exceed AVCC/VREFH; also ADC12_IN5, DAC1_OUT2, EIRQ5, PLA6 and TimerA alternate functions."
      },
      {
        "number": "16",
        "name": "PA6",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO that, when used as analog input, must not exceed AVCC/VREFH; also ADC123_IN6, DAC2_OUT1, EIRQ6, CMP1_OUT, EMB and TimerA alternate functions."
      },
      {
        "number": "17",
        "name": "PA7",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO that, when used as analog input, must not exceed AVCC/VREFH; also ADC123_IN7, CMP1_INP1, ADTRG3, EIRQ7, CMP2_OUT, PLA1 and Timer6/TimerA alternate functions."
      },
      {
        "number": "18",
        "name": "PB0",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO that, when used as analog input, must not exceed AVCC/VREFH; also ADC123_IN8, CMP2_INP1, ADTRG1, EIRQ0, RTC_OUT, PLA1 and Timer6/TimerA alternate functions."
      },
      {
        "number": "19",
        "name": "PB1",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO that, when used as analog input, must not exceed AVCC/VREFH; also ADC123_IN9, ADTRG2, EIRQ1 with WKUP0_1, CMP1/2_OUT, HRPWM_SCOUT and MCO_1 alternate functions."
      },
      {
        "number": "20",
        "name": "PB2",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO that, when used as analog input, must not exceed AVCC/VREFH; also ADC3_IN10, CMP2_INM2, ADTRG3, EIRQ2 with WKUP0_2, USART1/4 clock, HRPWM_TRIGA and MCO_2 alternate functions."
      },
      {
        "number": "21",
        "name": "PB10",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO that, when used as analog input, must not exceed AVCC/VREFH; also ADC3_IN11, EIRQ10, HRPWM_EEV9, EMB and TimerA alternate functions."
      },
      {
        "number": "22",
        "name": "PB11",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO that, when used as analog input, must not exceed AVCC/VREFH; also CMP3_INP1, EIRQ11, HRPWM_EEV7, EMB and Timer6/TimerA alternate functions."
      },
      {
        "number": "23",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground, 0 V reference for VCC."
      },
      {
        "number": "24",
        "name": "VCC",
        "type": "power_in",
        "description": "Power supply rated 1.8-3.63 V, decoupled close to VSS with ceramic capacitors as specified in the electrical characteristics."
      },
      {
        "number": "25",
        "name": "PB12",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO that, when used as analog input, must not exceed AVCC/VREFH; also ADC3_IN0, EIRQ12, HRPWM_4_PWMA, EMB_PORT1_IN1, USART1/3 clock and PLA8 alternate functions."
      },
      {
        "number": "26",
        "name": "PB13",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO that, when used as analog input, must not exceed AVCC/VREFH; also ADC3_IN1, EIRQ13, HRPWM_4_PWMB, PLA9 and Timer6/TimerA alternate functions."
      },
      {
        "number": "27",
        "name": "PB14",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO that, when used as analog input, must not exceed AVCC/VREFH; also ADC3_IN2, EIRQ14, HRPWM_5_PWMA, PLA10, Timer4/Timer6 and TimerA alternate functions."
      },
      {
        "number": "28",
        "name": "PB15",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO that, when used as analog input, must not exceed AVCC/VREFH; also ADC3_IN3, CMP3_INM2, RTC_CLK2, EIRQ15, CMP1_OUT and HRPWM_5_PWMB alternate functions."
      },
      {
        "number": "29",
        "name": "PA8",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO also providing EXVREF external reference input, EIRQ8 with WKUP2_0, TRACED0, HRPWM_2_PWMA, USART1/2 clock, CTCREF and MCO_1 alternate functions."
      },
      {
        "number": "30",
        "name": "PA9",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO also providing EIRQ9, TRACECLK, HRPWM_2_PWMB, EMB_PORT1_IN3, TimerA, MCO_2 and EMB alternate functions."
      },
      {
        "number": "31",
        "name": "PA10",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO also providing EIRQ10 with WKUP2_2, TRACED1, HRPWM_3_PWMA, CMP3_OUT, EMB_PORT1_IN5, PLA2 and Timer4 alternate functions."
      },
      {
        "number": "32",
        "name": "PA11",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO also providing EIRQ11 with WKUP2_3, TRACED2, HRPWM_3_PWMB, CMP1_OUT, EMB_PORT1_IN2, PLA3 and Timer6 alternate functions."
      },
      {
        "number": "33",
        "name": "PA12",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO also providing EIRQ12 with WKUP3_0, TRACED3, CMP1/2_OUT, SPI_NSS1, HRPWM_EEV2, EMB and FCMREF alternate functions."
      },
      {
        "number": "34",
        "name": "PA13",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO also providing the JTMS/SWDIO debug data pin, EIRQ13, EMB_PORT1_IN5, HRPWM_EEV3, USART4 clock, PLA8, CMP3_OUT and ADTRG3 alternate functions."
      },
      {
        "number": "35",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground, 0 V reference for VCC."
      },
      {
        "number": "36",
        "name": "VCC",
        "type": "power_in",
        "description": "Power supply rated 1.8-3.63 V, decoupled close to VSS with ceramic capacitors as specified in the electrical characteristics."
      },
      {
        "number": "37",
        "name": "PA14",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO also providing the JTCK/SWCLK debug clock pin, EIRQ14 with WKUP3_2, Timer4/Timer6 and ADTRG2 alternate functions."
      },
      {
        "number": "38",
        "name": "PA15",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO also providing the JTDI debug input, EIRQ15 with WKUP3_3, HRPWM_EEV1, EMB_PORT1_IN2, PLA3 and TimerA alternate functions."
      },
      {
        "number": "39",
        "name": "PB3",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO also providing the JTDO/TRACESWO debug output, EIRQ3 with WKUP0_3, HRPWM_EEV9, HRPWM_SCOUT, PLA0 and Timer4/Timer6/TimerA alternate functions."
      },
      {
        "number": "40",
        "name": "PB4",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO also providing the NJTRST debug reset input, EIRQ4 with WKUP1_0, HRPWM_EEV7, PLA1, Timer4/Timer6, EMB and MCO_2 alternate functions."
      },
      {
        "number": "41",
        "name": "PB5",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO also providing EIRQ5 with WKUP1_1, HRPWM_EEV6, USART1/2 clock, PLA2, Timer4/Timer6, EMB and MCO_1 alternate functions."
      },
      {
        "number": "42",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO also providing EIRQ6 with WKUP1_2, SPI_NSS2, HRPWM_EEV4, HRPWM_TRIGB, CTCREF, CMP1_OUT, ADTRG1 and Timer4/Timer6 alternate functions."
      },
      {
        "number": "43",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO also providing EIRQ7 with WKUP1_3, EMB_PORT1_IN1, HRPWM_EEV3, FCMREF, CMP2_OUT, ADTRG2 and TimerA/Timer6 alternate functions."
      },
      {
        "number": "44",
        "name": "PF3/MD",
        "type": "input",
        "description": "Mode input that must be held low when NRST is released; a 4.7 kOhm pull-down to VSS is recommended."
      },
      {
        "number": "45",
        "name": "PB8",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO also providing the PVD2 external comparison input PVD2EXINP, EIRQ8, SPI_NSS3, EMB_PORT1_IN3, HRPWM_EEV8, ADTRG1 and FCMREF alternate functions."
      },
      {
        "number": "46",
        "name": "PB9",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO also providing EIRQ9 with WKUP2_1, CMP1/2_OUT, EMB_PORT1_IN4, HRPWM_EEV5, Timer4/Timer6/TimerA alternate functions."
      },
      {
        "number": "47",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground, 0 V reference for VCC."
      },
      {
        "number": "48",
        "name": "VCC",
        "type": "power_in",
        "description": "Power supply rated 1.8-3.63 V, decoupled close to VSS with ceramic capacitors as specified in the electrical characteristics."
      },
      {
        "number": "49",
        "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: QFN48 pin numbers and names were taken from the combined 'QFN/LQFP48' column of Table 2-1 (pages 33-; The package hint names QFN-48-EP, but the supplied text does not give an exposed-pad pin number or p; Pin types for multiplexed pins are a judgment call: GPIO pins were typed bidirectional, while XTAL/3",
          "exposed pad 49 added from the footprint",
          "8/49 pins cited to the wrong page (name found elsewhere): ['8:AVSS/VREFL@p41', '23:VSS@p41', '24:VCC@p41', '35:VSS@p41']"
        ],
        "pages_sent": 63,
        "cost_usd": 0.2734,
        "at": "2026-10-23T05:04:52"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/2cf0c466aadbdff123525c6fca00d0f9.pdf",
        "pages": 102,
        "sha256": "bf3aa4841b430601",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 49,
        "described": 49,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "hc32f334jaui-zfn48tr.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          5.0,
          5.0,
          1.1
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "bdef7330531c8a62fd1740be5d4ee88a2520275cd173f5de2a729248fb1c21a0",
        "checked": "2026-10-23",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "hc32f334jaui-zfn48tr-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          5.0,
          5.0,
          1.1
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "64acd03b215feec5ac2d1afd061d0317431fb17b46eee6b86d1659bd056be6df",
        "checked": "2026-10-23",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}