main
Ray Publish 0.1.0 459d563 8d ago
{
  "slug": "m031ld2ae",
  "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",
    "m031ld2ae",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "m031ld2ae.kicad_sym",
    "m031ld2ae.kicad_mod",
    "m031ld2ae.glb",
    "m031ld2ae.step",
    "m031ld2ae.lbr",
    "docs/hero.png",
    "docs/m031ld2ae-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "m031ld2ae-hero.glb",
    "m031ld2ae-hero.overlay.json",
    "m031ld2ae-etched.glb"
  ],
  "component": {
    "mpn": "M031LD2AE",
    "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/8588886690824273920",
    "parts": {
      "symbol": "m031ld2ae.kicad_sym",
      "footprint": "m031ld2ae.kicad_mod",
      "model_3d": "m031ld2ae-hero.glb",
      "model_3d_plain": "m031ld2ae-etched.glb",
      "model_3d_step": "m031ld2ae-etched.step",
      "model_3d_step_plain": "m031ld2ae.step",
      "lbr": "m031ld2ae.lbr"
    },
    "distributor_links": {
      "lcsc": "C841531"
    },
    "distributor_check": {
      "checked_at": "2026-10-18T19:17:06Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "quota"
      },
      "mouser": {
        "pn": null,
        "status": "quota"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PB.5",
        "type": "bidirectional",
        "description": "GPIO port B pin 5 with multi-function alternates ADC0_CH5, ACMP1_N, I2C0_SCL, PWM0_CH0, UART2_TXD, TM0 and INT0."
      },
      {
        "number": "2",
        "name": "PB.4",
        "type": "bidirectional",
        "description": "GPIO port B pin 4 with multi-function alternates ADC0_CH4, ACMP1_P1, I2C0_SDA, PWM0_CH1, UART2_RXD, TM1 and INT1."
      },
      {
        "number": "3",
        "name": "PB.3",
        "type": "bidirectional",
        "description": "GPIO port B pin 3 with multi-function alternates ADC0_CH3, ACMP0_N, I2C1_SCL, UART1_TXD, PWM0_CH2, PWM0_BRAKE0, TM2 and INT2."
      },
      {
        "number": "4",
        "name": "PB.2",
        "type": "bidirectional",
        "description": "GPIO port B pin 2 with multi-function alternates ADC0_CH2, ACMP0_P1, I2C1_SDA, UART1_RXD, PWM0_CH3, TM3 and INT3."
      },
      {
        "number": "5",
        "name": "PB.1",
        "type": "bidirectional",
        "description": "GPIO port B pin 1 with multi-function alternates ADC0_CH1, UART2_TXD, I2C1_SCL, PWM0_CH4, PWM1_CH4 and PWM0_BRAKE0."
      },
      {
        "number": "6",
        "name": "PB.0",
        "type": "bidirectional",
        "description": "GPIO port B pin 0 with multi-function alternates ADC0_CH0, UART2_RXD, SPI0_I2SMCLK, I2C1_SDA, PWM0_CH5, PWM1_CH5 and PWM0_BRAKE1."
      },
      {
        "number": "7",
        "name": "PA.11",
        "type": "bidirectional",
        "description": "GPIO port A pin 11 with multi-function alternates ACMP0_P0, USCI0_CLK and TM0_EXT."
      },
      {
        "number": "8",
        "name": "PA.10",
        "type": "bidirectional",
        "description": "GPIO port A pin 10 with multi-function alternates ACMP1_P0, USCI0_DAT0 and TM1_EXT."
      },
      {
        "number": "9",
        "name": "PA.9",
        "type": "bidirectional",
        "description": "GPIO port A pin 9 with multi-function alternates USCI0_DAT1, UART1_TXD and TM2_EXT."
      },
      {
        "number": "10",
        "name": "PA.8",
        "type": "bidirectional",
        "description": "GPIO port A pin 8 with multi-function alternates USCI0_CTL1, UART1_RXD, TM3_EXT and INT4."
      },
      {
        "number": "11",
        "name": "PF.5",
        "type": "bidirectional",
        "description": "GPIO port F pin 5 with multi-function alternates UART2_RXD, UART2_nCTS, PWM0_CH0, X32_IN (32 kHz crystal input) and ADC0_ST."
      },
      {
        "number": "12",
        "name": "PF.4",
        "type": "bidirectional",
        "description": "GPIO port F pin 4 with multi-function alternates UART2_TXD, UART2_nRTS, PWM0_CH1 and X32_OUT (32 kHz crystal output)."
      },
      {
        "number": "13",
        "name": "PF.3",
        "type": "bidirectional",
        "description": "GPIO port F pin 3 with multi-function alternates UART0_TXD, I2C0_SCL and XT1_IN (external crystal input)."
      },
      {
        "number": "14",
        "name": "PF.2",
        "type": "bidirectional",
        "description": "GPIO port F pin 2 with multi-function alternates UART0_RXD, I2C0_SDA and XT1_OUT (external crystal output)."
      },
      {
        "number": "15",
        "name": "PA.7",
        "type": "bidirectional",
        "description": "GPIO port A pin 7 with multi-function alternates UART0_TXD, I2C1_SCL, PWM1_CH4, ACMP0_WLAT, TM2 and INT1."
      },
      {
        "number": "16",
        "name": "PA.6",
        "type": "bidirectional",
        "description": "GPIO port A pin 6 with multi-function alternates UART0_RXD, I2C1_SDA, PWM1_CH5, ACMP1_WLAT, TM3 and INT0."
      },
      {
        "number": "17",
        "name": "PA.5",
        "type": "bidirectional",
        "description": "GPIO port A pin 5 with multi-function alternates UART0_nCTS, UART0_TXD, I2C0_SCL and PWM0_CH0."
      },
      {
        "number": "18",
        "name": "PA.4",
        "type": "bidirectional",
        "description": "GPIO port A pin 4 with multi-function alternates SPI0_I2SMCLK, UART0_nRTS, UART0_RXD, I2C0_SDA and PWM0_CH1."
      },
      {
        "number": "19",
        "name": "PA.3",
        "type": "bidirectional",
        "description": "GPIO port A pin 3 with multi-function alternates SPI0_SS, UART1_TXD, I2C1_SCL, PWM0_CH2, CLKO and PWM1_BRAKE1."
      },
      {
        "number": "20",
        "name": "PA.2",
        "type": "bidirectional",
        "description": "GPIO port A pin 2 with multi-function alternates SPI0_CLK, UART1_RXD, I2C1_SDA and PWM0_CH3."
      },
      {
        "number": "21",
        "name": "PA.1",
        "type": "bidirectional",
        "description": "GPIO port A pin 1 with multi-function alternates SPI0_MISO, UART0_TXD, UART1_nCTS and PWM0_CH4."
      },
      {
        "number": "22",
        "name": "PA.0",
        "type": "bidirectional",
        "description": "GPIO port A pin 0 with multi-function alternates SPI0_MOSI, UART0_RXD, UART1_nRTS and PWM0_CH5."
      },
      {
        "number": "23",
        "name": "PF.15",
        "type": "bidirectional",
        "description": "GPIO port F pin 15 with multi-function alternates PWM0_BRAKE0, PWM0_CH1, TM2, CLKO and INT4."
      },
      {
        "number": "24",
        "name": "nRESET",
        "type": "input",
        "description": "External active-low reset input for the MCU."
      },
      {
        "number": "25",
        "name": "PF.0",
        "type": "bidirectional",
        "description": "GPIO port F pin 0 with multi-function alternates UART1_TXD, I2C1_SCL, UART0_TXD and ICE_DAT (ICE data)."
      },
      {
        "number": "26",
        "name": "PF.1",
        "type": "bidirectional",
        "description": "GPIO port F pin 1 with multi-function alternates UART1_RXD, I2C1_SDA, UART0_RXD and ICE_CLK (ICE clock)."
      },
      {
        "number": "27",
        "name": "PC.5",
        "type": "bidirectional",
        "description": "GPIO port C pin 5 with multi-function alternates UART2_TXD, I2C1_SCL and PWM1_CH0."
      },
      {
        "number": "28",
        "name": "PC.4",
        "type": "bidirectional",
        "description": "GPIO port C pin 4 with multi-function alternates UART2_RXD, I2C1_SDA and PWM1_CH1."
      },
      {
        "number": "29",
        "name": "PC.3",
        "type": "bidirectional",
        "description": "GPIO port C pin 3 with multi-function alternates UART2_nRTS and PWM1_CH2."
      },
      {
        "number": "30",
        "name": "PC.2",
        "type": "bidirectional",
        "description": "GPIO port C pin 2 with multi-function alternates UART2_nCTS and PWM1_CH3."
      },
      {
        "number": "31",
        "name": "PC.1",
        "type": "bidirectional",
        "description": "GPIO port C pin 1 with multi-function alternates UART2_TXD, I2C0_SCL, PWM1_CH4 and ACMP0_O."
      },
      {
        "number": "32",
        "name": "PC.0",
        "type": "bidirectional",
        "description": "GPIO port C pin 0 with multi-function alternates UART2_RXD, I2C0_SDA, PWM1_CH5 and ACMP1_O."
      },
      {
        "number": "33",
        "name": "PA.12",
        "type": "bidirectional",
        "description": "GPIO port A pin 12 with multi-function alternate I2C1_SCL."
      },
      {
        "number": "34",
        "name": "PA.13",
        "type": "bidirectional",
        "description": "GPIO port A pin 13 with multi-function alternate I2C1_SDA."
      },
      {
        "number": "35",
        "name": "PA.14",
        "type": "bidirectional",
        "description": "GPIO port A pin 14 with multi-function alternate UART0_TXD."
      },
      {
        "number": "36",
        "name": "PA.15",
        "type": "bidirectional",
        "description": "GPIO port A pin 15 with multi-function alternate UART0_RXD."
      },
      {
        "number": "37",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference for the digital core and I/O."
      },
      {
        "number": "38",
        "name": "LDO_CAP",
        "type": "power_out",
        "description": "Internal LDO output pin that requires an external capacitor; the capacitor value is not given in this excerpt."
      },
      {
        "number": "39",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital supply input for the MCU."
      },
      {
        "number": "40",
        "name": "PC.14",
        "type": "bidirectional",
        "description": "GPIO port C pin 14 with multi-function alternates SPI0_I2SMCLK, USCI0_CTL0 and TM1."
      },
      {
        "number": "41",
        "name": "PB.15",
        "type": "bidirectional",
        "description": "GPIO port B pin 15 with multi-function alternates ADC0_CH15, SPI0_SS, USCI0_CTL1, UART0_nCTS, PWM1_CH0, TM0_EXT and PWM0_BRAKE1."
      },
      {
        "number": "42",
        "name": "PB.14",
        "type": "bidirectional",
        "description": "GPIO port B pin 14 with multi-function alternates ADC0_CH14, SPI0_CLK, USCI0_DAT1, UART0_nRTS, PWM1_CH1, TM1_EXT and CLKO."
      },
      {
        "number": "43",
        "name": "PB.13",
        "type": "bidirectional",
        "description": "GPIO port B pin 13 with multi-function alternates ADC0_CH13, ACMP0_P3, ACMP1_P3, SPI0_MISO, USCI0_DAT0, UART0_TXD, PWM1_CH2 and TM2_EXT."
      },
      {
        "number": "44",
        "name": "PB.12",
        "type": "bidirectional",
        "description": "GPIO port B pin 12 with multi-function alternates ADC0_CH12, ACMP0_P2, ACMP1_P2, SPI0_MOSI, USCI0_CLK, UART0_RXD, PWM1_CH3 and TM3_EXT."
      },
      {
        "number": "45",
        "name": "AVDD",
        "type": "power_in",
        "description": "Analog supply input for the ADC and analog peripherals."
      },
      {
        "number": "46",
        "name": "AVSS",
        "type": "power_in",
        "description": "Analog ground for the ADC and analog peripherals."
      },
      {
        "number": "47",
        "name": "PB.7",
        "type": "bidirectional",
        "description": "GPIO port B pin 7 with multi-function alternates ADC0_CH7, UART1_TXD, PWM1_BRAKE0, PWM1_CH4, INT5 and ACMP0_O."
      },
      {
        "number": "48",
        "name": "PB.6",
        "type": "bidirectional",
        "description": "GPIO port B pin 6 with multi-function alternates ADC0_CH6, UART1_RXD, 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: Pinout taken from the M031LD2AE-specific Table 4.1-9 and Figure 4.1-15 (LQFP48) on pages 53-55. The ; The excerpt gives only pin names and multi-function alternates, not electrical limits per pin. Descr; Types are KiCad-style inferences from pin names. GPIO pins are marked bidirectional. LDO_CAP is mark"
        ],
        "pages_sent": 100,
        "cost_usd": 0.9799,
        "at": "2026-10-18T19:14:55"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588886690824273920",
        "pages": 283,
        "sha256": "1a8a8f8110d5e2e0",
        "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": "m031ld2ae.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-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "m031ld2ae-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": "f12a6d62ccd1e6cb0f846574d005388eefe8aa808f34055bc8ef3c2b68567cf6",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}