main
Ray Publish 0.1.0 779db24 6d ago
{
  "slug": "hc32m140j8ta-tqfp48",
  "version": "0.1.0",
  "type": "component",
  "description": "XHSC Microcontrollers (MCU/MPU/SOC), TQFP-48(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "hc32m140j8ta-tqfp48",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "hc32m140j8ta-tqfp48.kicad_sym",
    "hc32m140j8ta-tqfp48.kicad_mod",
    "hc32m140j8ta-tqfp48.glb",
    "hc32m140j8ta-tqfp48.step",
    "hc32m140j8ta-tqfp48.lbr",
    "docs/hero.png",
    "docs/hc32m140j8ta-tqfp48-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "hc32m140j8ta-tqfp48-hero.glb",
    "hc32m140j8ta-tqfp48-hero.overlay.json",
    "hc32m140j8ta-tqfp48-etched.glb"
  ],
  "component": {
    "mpn": "HC32M140J8TA-TQFP48",
    "manufacturer": "XHSC",
    "package": "TQFP-48(7x7)",
    "pin_count": 48,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588893364872101888",
    "parts": {
      "symbol": "hc32m140j8ta-tqfp48.kicad_sym",
      "footprint": "hc32m140j8ta-tqfp48.kicad_mod",
      "model_3d": "hc32m140j8ta-tqfp48-hero.glb",
      "model_3d_plain": "hc32m140j8ta-tqfp48-etched.glb",
      "model_3d_step": "hc32m140j8ta-tqfp48-etched.step",
      "model_3d_step_plain": "hc32m140j8ta-tqfp48.step",
      "lbr": "hc32m140j8ta-tqfp48.lbr"
    },
    "distributor_links": {
      "lcsc": "C784645"
    },
    "distributor_check": {
      "checked_at": "2026-10-20T17:19:13Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "P03",
        "type": "bidirectional",
        "description": "General-purpose I/O P03 (I/O circuit B: CMOS output, Schmitt input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA, optional open-drain); alternate functions INT00_1 and SCS60_1."
      },
      {
        "number": "2",
        "name": "P04",
        "type": "bidirectional",
        "description": "General-purpose I/O P04 (I/O circuit B: CMOS output, Schmitt input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA, optional open-drain); alternate functions INT01_1 and SCK6_1."
      },
      {
        "number": "3",
        "name": "P05",
        "type": "bidirectional",
        "description": "General-purpose I/O P05 (I/O circuit B: CMOS output, Schmitt input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA, optional open-drain); alternate functions INT02_1 and SOT6_1."
      },
      {
        "number": "4",
        "name": "P06",
        "type": "bidirectional",
        "description": "General-purpose I/O P06 (I/O circuit C: CMOS output, Schmitt input, LCD supply input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA, optional open-drain); alternate functions INT03_1 and SIN6_1."
      },
      {
        "number": "5",
        "name": "P07/NMIX/ADTG_1/EMII0/SCS50_0",
        "type": "bidirectional",
        "description": "General-purpose I/O P07 (I/O circuit C); also serves as NMIX non-maskable interrupt input, EMII0 motor emergency-stop request input, ADTG_1, and SCS50_0."
      },
      {
        "number": "6",
        "name": "P10/INT00_0/CAOUT/SCK5_0",
        "type": "bidirectional",
        "description": "General-purpose I/O P10 (I/O circuit C); alternate functions INT00_0, CAOUT voltage comparator result output, and SCK5_0."
      },
      {
        "number": "7",
        "name": "P11/INT01_0/VC_INP/SOT5_0",
        "type": "bidirectional",
        "description": "General-purpose I/O P11 (I/O circuit A: CMOS output, Schmitt input, analog input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA); alternate functions INT01_0, VC_INP comparator analog input, and SOT5_0."
      },
      {
        "number": "8",
        "name": "P12/INT02_0/VC_INM/SIN5_0",
        "type": "bidirectional",
        "description": "General-purpose I/O P12 (I/O circuit A: CMOS output, Schmitt input, analog input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA); alternate functions INT02_0, VC_INM comparator analog input, and SIN5_0."
      },
      {
        "number": "9",
        "name": "RSTB",
        "type": "input",
        "description": "Port reset input; reset is active when the input is low (circuit F: Schmitt input with pull-up about 52 kΩ)."
      },
      {
        "number": "10",
        "name": "XLI/P13/SOT5_2",
        "type": "input",
        "description": "Low-speed oscillator input XLI for the 32.768 kHz clock (typical); when an external clock is used on XLI, the pin can otherwise serve as P13 or SOT5_2."
      },
      {
        "number": "11",
        "name": "XLO/P14/SIN5_2",
        "type": "passive",
        "description": "Low-speed oscillator output XLO for the 32.768 kHz crystal; when an external low-speed clock is applied to XLI, this pin can be used as P14 or SIN5_2."
      },
      {
        "number": "12",
        "name": "DVSS",
        "type": "power_in",
        "description": "Digital ground, 0 V reference for DVCC (DVSS = AVSS = 0.0 V in the recommended operating conditions)."
      },
      {
        "number": "13",
        "name": "XHO/P15",
        "type": "passive",
        "description": "High-speed oscillator output XHO for a 4 to 16 MHz crystal; when an external high-speed clock is applied to XHI, this pin can be used as P15."
      },
      {
        "number": "14",
        "name": "XHI/P16",
        "type": "input",
        "description": "High-speed oscillator input XHI for a 4 to 16 MHz crystal or external clock (4 to 48 MHz when an external clock is applied); pin can otherwise serve as P16."
      },
      {
        "number": "15",
        "name": "MD/P20",
        "type": "input",
        "description": "Mode select pin: low selects normal operating mode, high selects flash serial programming mode; the datasheet states it must be connected directly to DVCC or DVSS (circuit E: Schmitt input with internal pull-down)."
      },
      {
        "number": "16",
        "name": "P21/INT04_1/SCK4_1/TIOA3_1",
        "type": "bidirectional",
        "description": "General-purpose I/O P21 (I/O circuit B: CMOS output, Schmitt input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA, optional open-drain); alternate functions INT04_1, SCK4_1, and TIOA3_1."
      },
      {
        "number": "17",
        "name": "P22/INT05_1/SOT4_1/TIOB3_1",
        "type": "bidirectional",
        "description": "General-purpose I/O P22 (I/O circuit B: CMOS output, Schmitt input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA, optional open-drain); alternate functions INT05_1, SOT4_1, and TIOB3_1."
      },
      {
        "number": "18",
        "name": "P23/INT06_1/SIN4_1/TIOB2_1",
        "type": "bidirectional",
        "description": "General-purpose I/O P23 (I/O circuit B: CMOS output, Schmitt input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA, optional open-drain); alternate functions INT06_1, SIN4_1, and TIOB2_1."
      },
      {
        "number": "19",
        "name": "P24/INT07_1/CTS4_1/TIOA2_1",
        "type": "bidirectional",
        "description": "General-purpose I/O P24 (I/O circuit B: CMOS output, Schmitt input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA, optional open-drain); alternate functions INT07_1, CTS4_1, and TIOA2_1."
      },
      {
        "number": "20",
        "name": "SWCLK/P30/SIN4_0/TIOB3_0",
        "type": "bidirectional",
        "description": "Serial-wire debug clock SWCLK (also general-purpose I/O P30, SIN4_0, TIOB3_0); if used as GPIO or another peripheral it must be set to output-only and never to input function."
      },
      {
        "number": "21",
        "name": "SWDIO/P31/SOT4_0/TIOA3_0",
        "type": "bidirectional",
        "description": "Serial-wire debug data input/output SWDIO (also general-purpose I/O P31, SOT4_0, TIOA3_0); if used as GPIO or another peripheral it must be set to output-only and never to input function."
      },
      {
        "number": "22",
        "name": "P32/INT03_0/SCK4_0/TIOA2_2",
        "type": "bidirectional",
        "description": "General-purpose I/O P32 (I/O circuit B: CMOS output, Schmitt input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA, optional open-drain); alternate functions INT03_0, SCK4_0, and TIOA2_2."
      },
      {
        "number": "23",
        "name": "DVSS",
        "type": "power_in",
        "description": "Digital ground, 0 V reference for DVCC."
      },
      {
        "number": "24",
        "name": "VDD",
        "type": "power_out",
        "description": "Internal regulator output for the digital core; a stabilizing capacitor of about 4.7 µF must always be connected to this pin (recommended filter capacitor CS 1 to 10 µF)."
      },
      {
        "number": "25",
        "name": "DVCC",
        "type": "power_in",
        "description": "Digital supply voltage, 2.7 V to 5.5 V (recommended operating range); the datasheet recommends about 0.1 µF ceramic decoupling between DVCC and DVSS near the device."
      },
      {
        "number": "26",
        "name": "P40/ADTG_0/OPAP0/CTS4_0/TIOB2_0",
        "type": "bidirectional",
        "description": "General-purpose I/O P40 (I/O circuit A: CMOS output, Schmitt input, analog input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA); alternate functions ADTG_0, OPAP0 op-amp channel 0 input/output, CTS4_0, and TIOB2_0."
      },
      {
        "number": "27",
        "name": "P41/OPAM0/RTS4_0/TIOA2_0",
        "type": "bidirectional",
        "description": "General-purpose I/O P41 (I/O circuit B: CMOS output, Schmitt input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA); alternate functions OPAM0 op-amp channel 0 input/output, RTS4_0, and TIOA2_0."
      },
      {
        "number": "28",
        "name": "P42/OPAO0/SCS41_0/TIOB1_0",
        "type": "bidirectional",
        "description": "General-purpose I/O P42 (I/O circuit B: CMOS output, Schmitt input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA); alternate functions OPAO0 op-amp channel 0 input/output, SCS41_0, and TIOB1_0."
      },
      {
        "number": "29",
        "name": "P43/INT04_0/A0/SCS40_0/TIOA1_0",
        "type": "bidirectional",
        "description": "General-purpose I/O P43 (I/O circuit A: CMOS output, Schmitt input, analog input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA); alternate functions INT04_0, A0 ADC analog input channel 0, SCS40_0, and TIOA1_0."
      },
      {
        "number": "30",
        "name": "P44/INT05_0/A1/OPAP1",
        "type": "bidirectional",
        "description": "General-purpose I/O P44 (I/O circuit A: CMOS output, Schmitt input, analog input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA); alternate functions INT05_0, A1 ADC analog input channel 1, and OPAP1 op-amp channel 1 input/output."
      },
      {
        "number": "31",
        "name": "P45/INT06_0/A2/OPAM1/TIOB0_0",
        "type": "bidirectional",
        "description": "General-purpose I/O P45 (I/O circuit A: CMOS output, Schmitt input, analog input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA); alternate functions INT06_0, A2 ADC analog input channel 2, OPAM1 op-amp channel 1 input/output, and TIOB0_0."
      },
      {
        "number": "32",
        "name": "P46/INT07_0/A3/OPAO1/TIOA0_0",
        "type": "bidirectional",
        "description": "General-purpose I/O P46 (I/O circuit A: CMOS output, Schmitt input, analog input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA); alternate functions INT07_0, A3 ADC analog input channel 3, OPAO1 op-amp channel 1 output, and TIOA0_0."
      },
      {
        "number": "33",
        "name": "P47/INT08_1/A4/TIOB0_1",
        "type": "bidirectional",
        "description": "General-purpose I/O P47 (I/O circuit A: CMOS output, Schmitt input, analog input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA); alternate functions INT08_1, A4 ADC analog input channel 4, and TIOB0_1."
      },
      {
        "number": "34",
        "name": "P50/INT09_1/A5/TIOA0_1",
        "type": "bidirectional",
        "description": "General-purpose I/O P50 (I/O circuit A: CMOS output, Schmitt input, analog input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA); alternate functions INT09_1, A5 ADC analog input channel 5, and TIOA0_1."
      },
      {
        "number": "35",
        "name": "P51/INT10_1/A6/TIOB1_1",
        "type": "bidirectional",
        "description": "General-purpose I/O P51 (I/O circuit A: CMOS output, Schmitt input, analog input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA); alternate functions INT10_1, A6 ADC analog input channel 6, and TIOB1_1."
      },
      {
        "number": "36",
        "name": "P52/INT11_1/A7/TIOA1_1",
        "type": "bidirectional",
        "description": "General-purpose I/O P52 (I/O circuit A: CMOS output, Schmitt input, analog input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA); alternate functions INT11_1, A7 ADC analog input channel 7, and TIOA1_1."
      },
      {
        "number": "37",
        "name": "P60/INT08_0/A8/EXCK0_0/CTS6_0/TIOB1_2",
        "type": "bidirectional",
        "description": "General-purpose I/O P60 (I/O circuit A: CMOS output, Schmitt input, analog input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA); alternate functions INT08_0, A8 ADC analog input channel 8, EXCK0_0, CTS6_0, and TIOB1_2."
      },
      {
        "number": "38",
        "name": "P61/INT09_0/A9/Avref/RTS6_0/TIOB2_2",
        "type": "bidirectional",
        "description": "General-purpose I/O P61 (I/O circuit A: CMOS output, Schmitt input, analog input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA); alternate functions INT09_0, A9 ADC analog input channel 9, Avref ADC reference voltage input, RTS6_0, and TIOB2_2."
      },
      {
        "number": "39",
        "name": "P62/INT12_1/SCS50_1/TIOB0_2",
        "type": "bidirectional",
        "description": "General-purpose I/O P62 (I/O circuit B: CMOS output, Schmitt input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA); alternate functions INT12_1, SCS50_1, and TIOB0_2."
      },
      {
        "number": "40",
        "name": "P63/INT13_1/SCK5_1/TIOA0_2",
        "type": "bidirectional",
        "description": "General-purpose I/O P63 (I/O circuit B: CMOS output, Schmitt input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA); alternate functions INT13_1, SCK5_1, and TIOA0_2."
      },
      {
        "number": "41",
        "name": "P64/INT14_1/SOT5_1",
        "type": "bidirectional",
        "description": "General-purpose I/O P64 (I/O circuit B: CMOS output, Schmitt input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA); alternate functions INT14_1 and SOT5_1."
      },
      {
        "number": "42",
        "name": "P65/INT15_1/EXCK0_1/SIN5_1/IRCO_1",
        "type": "bidirectional",
        "description": "General-purpose I/O P65 (I/O circuit B: CMOS output, Schmitt input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA); alternate functions INT15_1, EXCK0_1, SIN5_1, and IRCO_1 internal high-speed oscillator clock output."
      },
      {
        "number": "43",
        "name": "P70/INT10_0/A10/PWM00/SCK6_0",
        "type": "bidirectional",
        "description": "General-purpose I/O P70 (I/O circuit A: CMOS output, Schmitt input, analog input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA); alternate functions INT10_0, A10 ADC analog input channel 10, PWM00 motor-control PWM output 0, and SCK6_0."
      },
      {
        "number": "44",
        "name": "P71/INT11_0/A11/PWM01/SOT6_0",
        "type": "bidirectional",
        "description": "General-purpose I/O P71 (I/O circuit A: CMOS output, Schmitt input, analog input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA); alternate functions INT11_0, A11 ADC analog input channel 11, PWM01 motor-control PWM output 1, and SOT6_0."
      },
      {
        "number": "45",
        "name": "P72/INT12_0/A12/PWM02/SIN6_0",
        "type": "bidirectional",
        "description": "General-purpose I/O P72 (I/O circuit A: CMOS output, Schmitt input, analog input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA); alternate functions INT12_0, A12 ADC analog input channel 12, PWM02 motor-control PWM output 2, and SIN6_0."
      },
      {
        "number": "46",
        "name": "P73/INT13_0/A13/PWM03/SCS62_0/IRCO_0",
        "type": "bidirectional",
        "description": "General-purpose I/O P73 (I/O circuit A: CMOS output, Schmitt input, analog input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA); alternate functions INT13_0, A13 ADC analog input channel 13, PWM03 motor-control PWM output 3, SCS62_0, and IRCO_0 internal high-speed oscillator clock output."
      },
      {
        "number": "47",
        "name": "P74/INT14_0/A14/PWM04/SCS61_0",
        "type": "bidirectional",
        "description": "General-purpose I/O P74 (I/O circuit A: CMOS output, Schmitt input, analog input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA); alternate functions INT14_0, A14 ADC analog input channel 14, PWM04 motor-control PWM output 4, and SCS61_0."
      },
      {
        "number": "48",
        "name": "P75/INT15_0/A15/PWM05/SCS60_0",
        "type": "bidirectional",
        "description": "General-purpose I/O P75 (I/O circuit A: CMOS output, Schmitt input, analog input, pull-up about 52 kΩ, IOH -5 mA / IOL 5 mA); alternate functions INT15_0, A15 ADC analog input channel 15, PWM05 motor-control PWM output 5, and SCS60_0."
      }
    ],
    "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: Pinout for HC32M140J8TA in the TQFP-48 (7x7) package was taken from the TQFP-48 pin map on page 11, ; The datasheet gives no KiCad ERC types. Types are my classification: GPIO pins are bidirectional, re; MD is a dedicated mode pin (datasheet: must be directly connected to DVCC or DVSS), but the same pad"
        ],
        "pages_sent": 46,
        "cost_usd": 0.1881,
        "at": "2026-10-20T17:14:40"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588893364872101888",
        "pages": 92,
        "sha256": "730ed257542d3f04",
        "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": "hc32m140j8ta-tqfp48.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.0,
          9.0,
          1.1
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "14ca7676e4932e92f0eca0c6d56ce3018cd28a2531204a70ab7bbacb3eeb3cf5",
        "checked": "2026-10-20",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "hc32m140j8ta-tqfp48-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.0,
          9.0,
          1.1
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "35ad10cfc8dcb2626f758fff8441e1ef228e8e71821f43d46d025cb770b295fd",
        "checked": "2026-10-20",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}