main
Ray Publish 0.1.0 304be39 8d ago
{
  "slug": "m251ld2ae",
  "version": "0.1.0",
  "type": "component",
  "description": "Nuvoton Tech Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "m251ld2ae",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "m251ld2ae.kicad_sym",
    "m251ld2ae.kicad_mod",
    "m251ld2ae.glb",
    "m251ld2ae.step",
    "m251ld2ae.lbr",
    "docs/hero.png",
    "docs/m251ld2ae-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "m251ld2ae-hero.glb",
    "m251ld2ae-hero.overlay.json",
    "m251ld2ae-etched.glb"
  ],
  "component": {
    "mpn": "M251LD2AE",
    "manufacturer": "Nuvoton Tech",
    "package": "LQFP-48(7x7)",
    "pin_count": 48,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590207682197159936",
    "parts": {
      "symbol": "m251ld2ae.kicad_sym",
      "footprint": "m251ld2ae.kicad_mod",
      "model_3d": "m251ld2ae-hero.glb",
      "model_3d_plain": "m251ld2ae-etched.glb",
      "model_3d_step": "m251ld2ae-etched.step",
      "model_3d_step_plain": "m251ld2ae.step",
      "lbr": "m251ld2ae.lbr"
    },
    "distributor_links": {
      "lcsc": "C2917262",
      "digikey": "816-M251LD2AE-ND",
      "mouser": "503-M251LD2AE"
    },
    "distributor_check": {
      "checked_at": "2026-10-19T05:08:13Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "816-M251LD2AE-ND",
        "status": "found",
        "lifecycle": "Active"
      },
      "mouser": {
        "pn": "503-M251LD2AE",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PB.5",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PB.5; the datasheet lists alternate functions EADC0_CH5, ACMP1_N, I2C0_SCL, USCI1_CTL0, SC0_CLK, PWM0_CH0, UART2_TXD, TM0 and INT0."
      },
      {
        "number": "2",
        "name": "PB.4",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PB.4; the datasheet lists alternate functions EADC0_CH4, ACMP1_P1, I2C0_SDA, USCI1_CTL1, SC0_DAT, PWM0_CH1, UART2_RXD, TM1 and INT1."
      },
      {
        "number": "3",
        "name": "PB.3",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PB.3; the datasheet lists alternate functions EADC0_CH3, ACMP0_N, I2C1_SCL, UART1_TXD, USCI1_DAT1, SC0_RST, PWM0_CH2, PWM0_BRAKE0, TM2 and INT2."
      },
      {
        "number": "4",
        "name": "PB.2",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PB.2; the datasheet lists alternate functions EADC0_CH2, ACMP0_P1, I2C1_SDA, UART1_RXD, USCI1_DAT0, SC0_PWR, PWM0_CH3, TM3 and INT3."
      },
      {
        "number": "5",
        "name": "PB.1",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PB.1; the datasheet lists alternate functions EADC0_CH1, UART2_TXD, USCI1_CLK, I2C1_SCL, QSPI0_MISO1, PWM0_CH4, PWM1_CH4 and PWM0_BRAKE0."
      },
      {
        "number": "6",
        "name": "PB.0",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PB.0; the datasheet lists alternate functions EADC0_CH0, UART2_RXD, SPI0_I2SMCLK, I2C1_SDA, QSPI0_MOSI1, PWM0_CH5, PWM1_CH5 and PWM0_BRAKE1."
      },
      {
        "number": "7",
        "name": "PA.11",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PA.11; the datasheet lists alternate functions ACMP0_P0, USCI0_CLK, BPWM0_CH0 and TM0_EXT."
      },
      {
        "number": "8",
        "name": "PA.10",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PA.10; the datasheet lists alternate functions ACMP1_P0, USCI0_DAT0, BPWM0_CH1 and TM1_EXT."
      },
      {
        "number": "9",
        "name": "PA.9",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PA.9; the datasheet lists alternate functions USCI0_DAT1, UART1_TXD, BPWM0_CH2 and TM2_EXT."
      },
      {
        "number": "10",
        "name": "PA.8",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PA.8; the datasheet lists alternate functions USCI0_CTL1, UART1_RXD, BPWM0_CH3, TM3_EXT and INT4."
      },
      {
        "number": "11",
        "name": "PF.5",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PF.5; the datasheet lists alternate functions UART2_RXD, UART2_nCTS, PWM0_CH0, BPWM0_CH4, X32_IN and EADC0_ST (external trigger input)."
      },
      {
        "number": "12",
        "name": "PF.4",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PF.4; the datasheet lists alternate functions UART2_TXD, UART2_nRTS, PWM0_CH1, BPWM0_CH5 and X32_OUT."
      },
      {
        "number": "13",
        "name": "PF.3",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PF.3; the datasheet lists alternate functions UART0_TXD, I2C0_SCL, XT1_IN and BPWM1_CH0."
      },
      {
        "number": "14",
        "name": "PF.2",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PF.2; the datasheet lists alternate functions UART0_RXD, I2C0_SDA, QSPI0_CLK, XT1_OUT and BPWM1_CH1."
      },
      {
        "number": "15",
        "name": "PA.7",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PA.7; the datasheet lists alternate functions UART0_TXD, I2C1_SCL, PWM1_CH4, BPWM1_CH2, ACMP0_WLAT, TM2 and INT1."
      },
      {
        "number": "16",
        "name": "PA.6",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PA.6; the datasheet lists alternate functions UART0_RXD, I2C1_SDA, PWM1_CH5, BPWM1_CH3, ACMP1_WLAT, TM3 and INT0."
      },
      {
        "number": "17",
        "name": "PA.5",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PA.5; the datasheet lists alternate functions QSPI0_MISO1, UART0_nCTS, UART0_TXD, I2C0_SCL, BPWM0_CH5 and PWM0_CH0."
      },
      {
        "number": "18",
        "name": "PA.4",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PA.4; the datasheet lists alternate functions QSPI0_MOSI1, SPI0_I2SMCLK, SC0_nCD, UART0_nRTS, UART0_RXD, I2C0_SDA, BPWM0_CH4 and PWM0_CH1."
      },
      {
        "number": "19",
        "name": "PA.3",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PA.3; the datasheet lists alternate functions QSPI0_SS, SPI0_SS, SC0_PWR, I2C0_SMBAL, UART1_TXD, I2C1_SCL, BPWM0_CH3, PWM0_CH2, CLKO and PWM1_BRAKE1."
      },
      {
        "number": "20",
        "name": "PA.2",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PA.2; the datasheet lists alternate functions QSPI0_CLK, SPI0_CLK, SC0_RST, I2C0_SMBSUS, UART1_RXD, I2C1_SDA, BPWM0_CH2 and PWM0_CH3."
      },
      {
        "number": "21",
        "name": "PA.1",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PA.1; the datasheet lists alternate functions QSPI0_MISO0, SPI0_MISO, SC0_DAT, UART0_TXD, UART1_nCTS, BPWM0_CH1 and PWM0_CH4."
      },
      {
        "number": "22",
        "name": "PA.0",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PA.0; the datasheet lists alternate functions QSPI0_MOSI0, SPI0_MOSI, SC0_CLK, UART0_RXD, UART1_nRTS, BPWM0_CH0 and PWM0_CH5."
      },
      {
        "number": "23",
        "name": "VDDIO",
        "type": "power_in",
        "description": "Power supply for PA.0~PA.5 (the datasheet gives no voltage limits in this section)."
      },
      {
        "number": "24",
        "name": "nRESET",
        "type": "input",
        "description": "External reset input, active LOW, with an internal pull-up; driving it low resets the chip to its initial state, and the datasheet recommends a 10 kΩ pull-up resistor and 10 uF capacitor on this pin."
      },
      {
        "number": "25",
        "name": "PF.0",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PF.0 also used as ICE_DAT (serial wired debugger data); the datasheet recommends a 100 kΩ pull-up resistor on ICE_DAT, and other alternate functions are UART1_TXD, I2C1_SCL, UART0_TXD and BPWM1_CH0."
      },
      {
        "number": "26",
        "name": "PF.1",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PF.1 also used as ICE_CLK (serial wired debugger clock); the datasheet recommends a 100 kΩ pull-up resistor on ICE_CLK, and other alternate functions are UART1_RXD, I2C1_SDA, UART0_RXD and BPWM1_CH1."
      },
      {
        "number": "27",
        "name": "PC.5",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PC.5; the datasheet lists alternate functions QSPI0_MISO1, UART2_TXD, I2C1_SCL, PWM1_CH0 and PSIO0_CH0."
      },
      {
        "number": "28",
        "name": "PC.4",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PC.4; the datasheet lists alternate functions QSPI0_MOSI1, UART2_RXD, I2C1_SDA, PWM1_CH1 and PSIO0_CH1."
      },
      {
        "number": "29",
        "name": "PC.3",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PC.3; the datasheet lists alternate functions QSPI0_SS, UART2_nRTS, I2C0_SMBAL, PWM1_CH2 and PSIO0_CH2."
      },
      {
        "number": "30",
        "name": "PC.2",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PC.2; the datasheet lists alternate functions QSPI0_CLK, UART2_nCTS, I2C0_SMBSUS, PWM1_CH3 and PSIO0_CH3."
      },
      {
        "number": "31",
        "name": "PC.1",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PC.1; the datasheet lists alternate functions QSPI0_MISO0, UART2_TXD, I2C0_SCL, PWM1_CH4 and ACMP0_O."
      },
      {
        "number": "32",
        "name": "PC.0",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PC.0; the datasheet lists alternate functions QSPI0_MOSI0, UART2_RXD, I2C0_SDA, PWM1_CH5 and ACMP1_O."
      },
      {
        "number": "33",
        "name": "PA.12",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PA.12; the datasheet lists alternate functions I2C1_SCL and BPWM1_CH2."
      },
      {
        "number": "34",
        "name": "PA.13",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PA.13; the datasheet lists alternate functions I2C1_SDA and BPWM1_CH3."
      },
      {
        "number": "35",
        "name": "PA.14",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PA.14; the datasheet lists alternate functions UART0_TXD and BPWM1_CH4."
      },
      {
        "number": "36",
        "name": "PA.15",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PA.15; the datasheet lists alternate functions UART0_RXD and BPWM1_CH5."
      },
      {
        "number": "37",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground pin for digital circuit."
      },
      {
        "number": "38",
        "name": "LDO_CAP",
        "type": "power_out",
        "description": "LDO output pin; the datasheet requires a 1 uF capacitor connected to this pin."
      },
      {
        "number": "39",
        "name": "VDD",
        "type": "power_in",
        "description": "Power supply for I/O ports and LDO source for internal PLL and digital circuit."
      },
      {
        "number": "40",
        "name": "PC.14",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PC.14; the datasheet lists alternate functions SPI0_I2SMCLK, USCI0_CTL0, QSPI0_CLK and TM1."
      },
      {
        "number": "41",
        "name": "PB.15",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PB.15; the datasheet lists alternate functions EADC0_CH15, SPI0_SS, USCI0_CTL1, UART0_nCTS, PSIO0_CH0, PWM1_CH0, TM0_EXT and PWM0_BRAKE1."
      },
      {
        "number": "42",
        "name": "PB.14",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PB.14; the datasheet lists alternate functions EADC0_CH14, SPI0_CLK, USCI0_DAT1, UART0_nRTS, PSIO0_CH1, PWM1_CH1, TM1_EXT and CLKO."
      },
      {
        "number": "43",
        "name": "PB.13",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PB.13; the datasheet lists alternate functions EADC0_CH13, ACMP0_P3, ACMP1_P3, SPI0_MISO, USCI0_DAT0, UART0_TXD, PSIO0_CH2, PWM1_CH2 and TM2_EXT."
      },
      {
        "number": "44",
        "name": "PB.12",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PB.12; the datasheet lists alternate functions EADC0_CH12, ACMP0_P2, ACMP1_P2, SPI0_MOSI, USCI0_CLK, UART0_RXD, PSIO0_CH3, PWM1_CH3 and TM3_EXT."
      },
      {
        "number": "45",
        "name": "AVDD",
        "type": "power_in",
        "description": "Power supply for internal analog circuit."
      },
      {
        "number": "46",
        "name": "AVSS",
        "type": "power_in",
        "description": "Ground pin for analog circuit."
      },
      {
        "number": "47",
        "name": "PB.7",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PB.7; the datasheet lists alternate functions EADC0_CH7, USCI1_DAT0, UART1_TXD, BPWM1_CH4, PWM1_BRAKE0, PWM1_CH4, INT5 and ACMP0_O."
      },
      {
        "number": "48",
        "name": "PB.6",
        "type": "bidirectional",
        "description": "General-purpose digital I/O PB.6; the datasheet lists alternate functions EADC0_CH6, USCI1_DAT1, UART1_RXD, BPWM1_CH5, PWM1_BRAKE1, PWM1_CH5, INT4 and ACMP1_O."
      }
    ],
    "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: Package mapping: the MPN M251LD2AE uses the 'L' code, which the naming rule (page 38) defines as LQF; Multi-function pins: the datasheet lists alternate functions for each pin but does not state which f; Inferred pin types: LDO_CAP is typed power_out because the datasheet calls it an LDO output; VDDIO i"
        ],
        "pages_sent": 84,
        "cost_usd": 0.8663,
        "at": "2026-10-19T05:07:52"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590207682197159936",
        "pages": 263,
        "sha256": "c4af3258cc70fcc5",
        "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": "m251ld2ae.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.0,
          9.0,
          1.5
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "9dea352d93177c2904afd7d7b68ea8855ce1ab691f69f8b3e13655600514b6bf",
        "checked": "2026-10-19",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "m251ld2ae-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.0,
          9.0,
          1.5
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "383349a0ea9ab8d442b07a7a82f7efa3c62fbbab3c5d05470bbfdf8f4dc26d45",
        "checked": "2026-10-19",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}