main
Ray Publish 0.1.0 3ac74e9 6d ago
{
  "slug": "hc32f334j8ui-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",
    "hc32f334j8ui-zfn48tr",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "hc32f334j8ui-zfn48tr.kicad_sym",
    "hc32f334j8ui-zfn48tr.kicad_mod",
    "hc32f334j8ui-zfn48tr.glb",
    "hc32f334j8ui-zfn48tr.step",
    "hc32f334j8ui-zfn48tr.lbr",
    "docs/hero.png",
    "docs/hc32f334j8ui-zfn48tr-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "hc32f334j8ui-zfn48tr-hero.glb",
    "hc32f334j8ui-zfn48tr-hero.overlay.json",
    "hc32f334j8ui-zfn48tr-etched.glb"
  ],
  "component": {
    "mpn": "HC32F334J8UI-ZFN48TR",
    "manufacturer": "XHSC",
    "package": "QFN-48-EP(5x5)",
    "pin_count": 49,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8603406373690351616",
    "parts": {
      "symbol": "hc32f334j8ui-zfn48tr.kicad_sym",
      "footprint": "hc32f334j8ui-zfn48tr.kicad_mod",
      "model_3d": "hc32f334j8ui-zfn48tr-hero.glb",
      "model_3d_plain": "hc32f334j8ui-zfn48tr-etched.glb",
      "model_3d_step": "hc32f334j8ui-zfn48tr-etched.step",
      "model_3d_step_plain": "hc32f334j8ui-zfn48tr.step",
      "lbr": "hc32f334j8ui-zfn48tr.lbr"
    },
    "distributor_links": {
      "lcsc": "C20071238"
    },
    "distributor_check": {
      "checked_at": "2026-10-20T23:48:18Z",
      "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 with EIRQ2 external interrupt and alternate functions such as USART1_CK and TMR6_TRIGB; when used as an input the voltage must not exceed 5 V, and internal pull-up/pull-down must be disabled when the pin is above VCC."
      },
      {
        "number": "2",
        "name": "PC13",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with EIRQ13/WKUP3_1 external interrupt and Power-Down wake-up input, plus alternate RTC_OUT (1 Hz clock output); input must not exceed 5 V."
      },
      {
        "number": "3",
        "name": "PC14/XTAL32_IN",
        "type": "input",
        "description": "Low-speed 32.768 kHz crystal oscillator input (XTAL32_IN), also usable as 5 V-tolerant GPIO PC14 with EIRQ14; load capacitors must be placed as close to the pin as possible."
      },
      {
        "number": "4",
        "name": "PC15/XTAL32_OUT",
        "type": "output",
        "description": "Low-speed 32.768 kHz crystal oscillator output (XTAL32_OUT), also usable as 5 V-tolerant GPIO PC15 with EIRQ15; the resonator and load capacitors must be placed close to the pin."
      },
      {
        "number": "5",
        "name": "PF0/XTAL_IN",
        "type": "input",
        "description": "High-speed crystal/ceramic resonator input (XTAL_IN) for a 4 to 25 MHz oscillator, also usable as 5 V-tolerant GPIO PF0 with EIRQ0 and CMP3_OUT."
      },
      {
        "number": "6",
        "name": "PF1/XTAL_OUT",
        "type": "output",
        "description": "High-speed crystal/ceramic resonator output (XTAL_OUT) for a 4 to 25 MHz oscillator, also usable as 5 V-tolerant GPIO PF1 with EIRQ1 and CMP1_OUT."
      },
      {
        "number": "7",
        "name": "NRST",
        "type": "input",
        "description": "Active-low reset input; if unused it should be pulled up to VCC through a resistor, and the reset pulse must be at least 10 µs wide."
      },
      {
        "number": "8",
        "name": "AVSS/VREFL",
        "type": "power_in",
        "description": "Analog ground and low ADC/DAC reference voltage; must be shorted to VSS when the analog modules are not used."
      },
      {
        "number": "9",
        "name": "AVCC/VREFH",
        "type": "power_in",
        "description": "Analog supply and high ADC/DAC reference voltage, to be held at the same voltage as VCC (1.8 to 3.63 V); must be shorted to VCC when the analog modules are not used."
      },
      {
        "number": "10",
        "name": "PA0",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with EIRQ0/WKUP0_0 wake-up and ADC1_IN0 analog input (analog voltage must not exceed VREFH/AVCC), plus alternates such as CMP1_OUT, FCMREF and TMRA_1_PWM1/CLKA."
      },
      {
        "number": "11",
        "name": "PA1",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with ADC1_IN1 analog input (must not exceed AVCC), RTC_CLK1 external RTC clock input and EIRQ1, plus alternates such as TMR6_TRIGA and TMRA_1_PWM2/CLKB."
      },
      {
        "number": "12",
        "name": "PA2",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with ADC1_IN2 and CMP1_INM2 analog inputs (must not exceed AVCC) and EIRQ2, plus alternates such as ADTRG1, CMP2_OUT and PLA0OUT."
      },
      {
        "number": "13",
        "name": "PA3",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with ADC1_IN3, CMP1_INP2, CMP2_INP2 and CMP3_INP2 analog inputs (must not exceed AVCC) and EIRQ3, plus alternates such as ADTRG2 and TMRA_4_PWM3."
      },
      {
        "number": "14",
        "name": "PA4",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with ADC12_IN4, DAC1_OUT1 and CMP inverting-input analog functions (must not exceed AVCC) and EIRQ4, plus alternates such as USART1_CK, USART2_CK and PLA5OUT."
      },
      {
        "number": "15",
        "name": "PA5",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with ADC12_IN5 and DAC1_OUT2 analog functions (must not exceed AVCC) and EIRQ5, plus alternates such as PLA6OUT and TMRA_5_PWM3."
      },
      {
        "number": "16",
        "name": "PA6",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with ADC123_IN6 and DAC2_OUT1 analog functions (must not exceed AVCC) and EIRQ6, plus alternates such as CMP1_OUT and EMB_PORT1_IN2."
      },
      {
        "number": "17",
        "name": "PA7",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with ADC123_IN7 and CMP1_INP1 analog inputs (must not exceed AVCC) and EIRQ7, plus alternates such as ADTRG3 and CMP2_OUT."
      },
      {
        "number": "18",
        "name": "PB0",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with ADC123_IN8 and CMP2_INP1 analog inputs (must not exceed AVCC) and EIRQ0, plus alternates such as ADTRG1 and RTC_OUT."
      },
      {
        "number": "19",
        "name": "PB1",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with ADC123_IN9 analog input (must not exceed AVCC), EIRQ1/WKUP0_1 wake-up, plus alternates such as ADTRG2, CMP1_OUT and MCO_1."
      },
      {
        "number": "20",
        "name": "PB2",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with ADC3_IN10 and CMP2_INM2 analog inputs (must not exceed AVCC) and EIRQ2/WKUP0_2 wake-up, plus alternates such as ADTRG3 and MCO_2."
      },
      {
        "number": "21",
        "name": "PB10",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with ADC3_IN11 analog input (must not exceed AVCC) and EIRQ10, plus alternates such as HRPWM_EEV9 and EMB_PORT1_IN3."
      },
      {
        "number": "22",
        "name": "PB11",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with CMP3_INP1 analog input (must not exceed AVCC) and EIRQ11, plus alternates such as HRPWM_EEV7 and TMRA_1_PWM4."
      },
      {
        "number": "23",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference (0 V); the difference between any VSSx pin and VSS must not exceed 50 mV."
      },
      {
        "number": "24",
        "name": "VCC",
        "type": "power_in",
        "description": "Main supply, 1.8 V to 3.63 V, decoupled close to the pin with 0.1 µF and with a 4.7 µF ceramic capacitor on one VCC pin."
      },
      {
        "number": "25",
        "name": "PB12",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with ADC3_IN0 analog input (must not exceed AVCC) and EIRQ12, plus alternates such as HRPWM_4_PWMA, USART1_CK and EMB_PORT1_IN1."
      },
      {
        "number": "26",
        "name": "PB13",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with ADC3_IN1 analog input (must not exceed AVCC) and EIRQ13, plus alternates such as HRPWM_4_PWMB and TMRA_4_PWM4."
      },
      {
        "number": "27",
        "name": "PB14",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with ADC3_IN2 analog input (must not exceed AVCC) and EIRQ14, plus alternates such as HRPWM_5_PWMA and TMR4_OUH."
      },
      {
        "number": "28",
        "name": "PB15",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with ADC3_IN3, CMP3_INM2 and RTC_CLK2 functions (analog voltage must not exceed AVCC) and EIRQ15, plus alternates such as CMP1_OUT and HRPWM_5_PWMB."
      },
      {
        "number": "29",
        "name": "PA8",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with EXVREF analog reference input, EIRQ8/WKUP2_0 wake-up and TRACED0 trace data output, plus alternates such as USART2_CK, CTCREF and MCO_1."
      },
      {
        "number": "30",
        "name": "PA9",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with EIRQ9 external interrupt and TRACECLK trace clock output, plus alternates such as EMB_PORT1_IN3 and MCO_2."
      },
      {
        "number": "31",
        "name": "PA10",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with EIRQ10/WKUP2_2 wake-up and TRACED1 trace data output, plus alternates such as CMP3_OUT and TMR4_CLK."
      },
      {
        "number": "32",
        "name": "PA11",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with EIRQ11/WKUP2_3 wake-up and TRACED2 trace data output, plus alternates such as CMP1_OUT and EMB_PORT1_IN2."
      },
      {
        "number": "33",
        "name": "PA12",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with EIRQ12/WKUP3_0 wake-up and TRACED3 trace data output, plus alternates such as CMP2_OUT, SPI_NSS1 and FCMREF."
      },
      {
        "number": "34",
        "name": "PA13",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with EIRQ13 external interrupt and JTMS_SWDIO serial-wire debug data I/O, plus alternates such as USART4_CK and ADTRG3."
      },
      {
        "number": "35",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference (0 V); the difference between any VSSx pin and VSS must not exceed 50 mV."
      },
      {
        "number": "36",
        "name": "VCC",
        "type": "power_in",
        "description": "Main supply, 1.8 V to 3.63 V, decoupled close to the pin with 0.1 µF and with a 4.7 µF ceramic capacitor on one VCC pin."
      },
      {
        "number": "37",
        "name": "PA14",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with EIRQ14/WKUP3_2 wake-up and JTCK_SWCLK serial-wire debug clock input, plus alternates such as ADTRG2 and TMR6_4_PWMB."
      },
      {
        "number": "38",
        "name": "PA15",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with EIRQ15/WKUP3_3 wake-up and JTDI debug data input, plus alternates such as HRPWM_EEV1 and EMB_PORT1_IN2."
      },
      {
        "number": "39",
        "name": "PB3",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with EIRQ3/WKUP0_3 wake-up and JTDO/TRACESWO debug output, plus alternates such as HRPWM_SCOUT and TMR4_OWL."
      },
      {
        "number": "40",
        "name": "PB4",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with EIRQ4/WKUP1_0 wake-up and NJTRST debug reset input, plus alternates such as HRPWM_EEV7 and MCO_2."
      },
      {
        "number": "41",
        "name": "PB5",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with EIRQ5/WKUP1_1 wake-up, plus alternates such as HRPWM_EEV6, USART1_CK and MCO_1."
      },
      {
        "number": "42",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO listed as an I2C pin in the datasheet (I/O pin capacitance 10 pF), with EIRQ6/WKUP1_2 wake-up and alternates such as SPI_NSS2 and CTCREF."
      },
      {
        "number": "43",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO listed as an I2C pin in the datasheet (I/O pin capacitance 10 pF), with EIRQ7/WKUP1_3 wake-up and alternates such as EMB_PORT1_IN1, FCMREF and CMP2_OUT."
      },
      {
        "number": "44",
        "name": "PF3/MD",
        "type": "bidirectional",
        "description": "Mode input MD must be held low when NRST is released, with a 4.7 kΩ pull-down to VSS recommended; the pin is also 5 V-tolerant GPIO PF3 with ADTRG3 and alternates."
      },
      {
        "number": "45",
        "name": "PB8",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with EIRQ8 external interrupt and PVD2EXINP external PVD2 comparison voltage input, plus alternates such as SPI_NSS3 and ADTRG1."
      },
      {
        "number": "46",
        "name": "PB9",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with EIRQ9/WKUP2_1 wake-up, plus alternates such as CMP2_OUT, CMP1_OUT and TMR4_ADSM."
      },
      {
        "number": "47",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference (0 V); the difference between any VSSx pin and VSS must not exceed 50 mV."
      },
      {
        "number": "48",
        "name": "VCC",
        "type": "power_in",
        "description": "Main supply, 1.8 V to 3.63 V, decoupled close to the pin with 0.1 µF and with a 4.7 µF ceramic capacitor on one VCC pin."
      },
      {
        "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 were taken from the 'QFN/LQFP48' column of Table 2-1 (page 33-34), which the datas; The QFN48 exposed thermal pad (EP) is not identified or numbered anywhere in the extracted text, so ; Pin types are judgement calls for multi-function pins: GPIO pins are typed bidirectional, while dedi"
        ],
        "pages_sent": 63,
        "cost_usd": 0.2698,
        "at": "2026-10-20T23:44:04"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8603406373690351616",
        "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": "hc32f334j8ui-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-20",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "hc32f334j8ui-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": "8ae7a1a8da3a6f8cea26449d4eef9150431c81b33ec13f7233e695c4a8930b71",
        "checked": "2026-10-20",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}