main
Ray Publish 0.1.0 d10bb05 9d ago
{
  "slug": "m0516ldn",
  "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",
    "m0516ldn",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "m0516ldn.kicad_sym",
    "m0516ldn.kicad_mod",
    "m0516ldn.glb",
    "m0516ldn.step",
    "m0516ldn.lbr",
    "docs/hero.png",
    "docs/m0516ldn-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "m0516ldn-hero.glb",
    "m0516ldn-hero.overlay.json",
    "m0516ldn-etched.glb"
  ],
  "component": {
    "mpn": "M0516LDN",
    "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/8586177357766144000",
    "parts": {
      "symbol": "m0516ldn.kicad_sym",
      "footprint": "m0516ldn.kicad_mod",
      "model_3d": "m0516ldn-hero.glb",
      "model_3d_plain": "m0516ldn-etched.glb",
      "model_3d_step": "m0516ldn-etched.step",
      "model_3d_step_plain": "m0516ldn.step",
      "lbr": "m0516ldn.lbr"
    },
    "distributor_links": {
      "lcsc": "C45528",
      "digikey": "816-M0516LDN-ND",
      "mouser": "503-M0516LDN"
    },
    "distributor_check": {
      "checked_at": "2026-10-18T03:17:16Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "816-M0516LDN-ND",
        "status": "found",
        "lifecycle": "Active"
      },
      "mouser": {
        "pn": "503-M0516LDN",
        "status": "found",
        "lifecycle": "Not Recommended for New Designs"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "P1.5",
        "type": "bidirectional",
        "description": "Port 1 bit 5 general-purpose I/O (quasi-bidirectional, push-pull, open-drain, or input mode), also SPI0 MOSI_0, ADC input AIN5, and comparator 0 positive input ACMP0_P."
      },
      {
        "number": "2",
        "name": "P1.6",
        "type": "bidirectional",
        "description": "Port 1 bit 6 general-purpose I/O (quasi-bidirectional, push-pull, open-drain, or input mode), also SPI0 MISO_0, ADC input AIN6, and comparator 2 negative input ACMP2_N."
      },
      {
        "number": "3",
        "name": "P1.7",
        "type": "bidirectional",
        "description": "Port 1 bit 7 general-purpose I/O (quasi-bidirectional, push-pull, open-drain, or input mode), also SPI0 SPICLK0, ADC input AIN7, and comparator 2 positive input ACMP2_P."
      },
      {
        "number": "4",
        "name": "nRST",
        "type": "input",
        "description": "Active-low Schmitt-trigger reset input with internal pull-up (40-150 kΩ); an external capacitor to ground gives power-on reset."
      },
      {
        "number": "5",
        "name": "P3.0",
        "type": "bidirectional",
        "description": "Port 3 bit 0 general-purpose I/O, also UART0 RXD and comparator 1 negative input ACMP1_N."
      },
      {
        "number": "6",
        "name": "AVSS",
        "type": "power_in",
        "description": "Analog ground for the analog circuits (SAR ADC, comparators, references); must be tied to the common ground."
      },
      {
        "number": "7",
        "name": "P3.1",
        "type": "bidirectional",
        "description": "Port 3 bit 1 general-purpose I/O, also UART0 TXD and comparator 1 positive input ACMP1_P."
      },
      {
        "number": "8",
        "name": "P3.2",
        "type": "bidirectional",
        "description": "Port 3 bit 2 general-purpose I/O, also external interrupt nINT0, ADC external trigger STADC, and Timer0 external capture/reset T0EX."
      },
      {
        "number": "9",
        "name": "P3.3",
        "type": "bidirectional",
        "description": "Port 3 bit 3 general-purpose I/O, also external interrupt nINT1, EBI clock MCLK, and Timer1 external capture/reset T1EX."
      },
      {
        "number": "10",
        "name": "P3.4",
        "type": "bidirectional",
        "description": "Port 3 bit 4 general-purpose I/O (open-drain for I2C use), also Timer0 external event counter/toggle output T0 and I2C0 SDA."
      },
      {
        "number": "11",
        "name": "P3.5",
        "type": "bidirectional",
        "description": "Port 3 bit 5 general-purpose I/O (open-drain for I2C use), also Timer1 event counter/toggle output T1, I2C0 SCL, and clock monitor output CKO."
      },
      {
        "number": "12",
        "name": "P4.3",
        "type": "bidirectional",
        "description": "Port 4 bit 3 general-purpose I/O, also PWM channel 3 output PWM3."
      },
      {
        "number": "13",
        "name": "P3.6",
        "type": "bidirectional",
        "description": "Port 3 bit 6 general-purpose I/O, also EBI write strobe nWR, clock output CKO, and comparator 0 output ACMP0_O."
      },
      {
        "number": "14",
        "name": "P3.7",
        "type": "bidirectional",
        "description": "Port 3 bit 7 general-purpose I/O, also EBI read strobe nRD."
      },
      {
        "number": "15",
        "name": "XTAL2",
        "type": "output",
        "description": "External 4-24 MHz high-speed crystal oscillator output pin."
      },
      {
        "number": "16",
        "name": "XTAL1",
        "type": "input",
        "description": "External 4-24 MHz high-speed crystal oscillator input pin (CMOS input)."
      },
      {
        "number": "17",
        "name": "VSS",
        "type": "power_in",
        "description": "Digital power ground for the digital circuits, I/O pins and LDO."
      },
      {
        "number": "18",
        "name": "LDO_CAP",
        "type": "power_out",
        "description": "Output of the internal 1.8 V LDO that supplies the digital core; a 1 µF capacitor must be connected close to this pin."
      },
      {
        "number": "19",
        "name": "P2.0",
        "type": "bidirectional",
        "description": "Port 2 bit 0 general-purpose I/O, also PWM0 output, EBI address/data bit AD8, and used with PWM mode on LQFP-48."
      },
      {
        "number": "20",
        "name": "P2.1",
        "type": "bidirectional",
        "description": "Port 2 bit 1 general-purpose I/O, also PWM1 output and EBI address/data bit AD9."
      },
      {
        "number": "21",
        "name": "P2.2",
        "type": "bidirectional",
        "description": "Port 2 bit 2 general-purpose I/O, also PWM2 output and EBI address/data bit AD10."
      },
      {
        "number": "22",
        "name": "P2.3",
        "type": "bidirectional",
        "description": "Port 2 bit 3 general-purpose I/O, also PWM3 output and EBI address/data bit AD11."
      },
      {
        "number": "23",
        "name": "P2.4",
        "type": "bidirectional",
        "description": "Port 2 bit 4 general-purpose I/O, also PWM4 output, EBI address/data bit AD12, and I2C1 clock SCL1 (open-drain)."
      },
      {
        "number": "24",
        "name": "P4.0",
        "type": "bidirectional",
        "description": "Port 4 bit 0 general-purpose I/O, also PWM0 output (PWM0 on Port 4 alternate) and Timer2 external capture/reset T2EX."
      },
      {
        "number": "25",
        "name": "P2.5",
        "type": "bidirectional",
        "description": "Port 2 bit 5 general-purpose I/O, also PWM5 output, EBI address/data bit AD13, and I2C1 data SDA1 (open-drain)."
      },
      {
        "number": "26",
        "name": "P2.6",
        "type": "bidirectional",
        "description": "Port 2 bit 6 general-purpose I/O, also PWM6 output, EBI address/data bit AD14, and comparator 1 output ACMP1_O."
      },
      {
        "number": "27",
        "name": "P2.7",
        "type": "bidirectional",
        "description": "Port 2 bit 7 general-purpose I/O, also PWM7 output and EBI address/data bit AD15."
      },
      {
        "number": "28",
        "name": "P4.4",
        "type": "bidirectional",
        "description": "Port 4 bit 4 general-purpose I/O, also EBI chip select nCS and I2C1 clock SCL1 (open-drain)."
      },
      {
        "number": "29",
        "name": "P4.5",
        "type": "bidirectional",
        "description": "Port 4 bit 5 general-purpose I/O, also EBI address latch enable ALE and I2C1 data SDA1 (open-drain)."
      },
      {
        "number": "30",
        "name": "P4.6",
        "type": "bidirectional",
        "description": "Port 4 bit 6 general-purpose I/O, also ICE/JTAG debug clock ICE_CLK."
      },
      {
        "number": "31",
        "name": "P4.7",
        "type": "bidirectional",
        "description": "Port 4 bit 7 general-purpose I/O, also ICE/JTAG debug data ICE_DAT."
      },
      {
        "number": "32",
        "name": "P0.7",
        "type": "bidirectional",
        "description": "Port 0 bit 7 general-purpose I/O, also SPI1 clock SPICLK1 and EBI address/data bit AD7."
      },
      {
        "number": "33",
        "name": "P0.6",
        "type": "bidirectional",
        "description": "Port 0 bit 6 general-purpose I/O, also SPI1 MISO_1 and EBI address/data bit AD6."
      },
      {
        "number": "34",
        "name": "P0.5",
        "type": "bidirectional",
        "description": "Port 0 bit 5 general-purpose I/O, also SPI1 MOSI_1 and EBI address/data bit AD5."
      },
      {
        "number": "35",
        "name": "P0.4",
        "type": "bidirectional",
        "description": "Port 0 bit 4 general-purpose I/O, also SPI1 slave select SPISS1 and EBI address/data bit AD4."
      },
      {
        "number": "36",
        "name": "P4.1",
        "type": "bidirectional",
        "description": "Port 4 bit 1 general-purpose I/O, also PWM1 output and Timer3 external capture/reset T3EX."
      },
      {
        "number": "37",
        "name": "P0.3",
        "type": "bidirectional",
        "description": "Port 0 bit 3 general-purpose I/O, also UART0 RTS0 (request to send), EBI address/data bit AD3, and UART0 RXD."
      },
      {
        "number": "38",
        "name": "P0.2",
        "type": "bidirectional",
        "description": "Port 0 bit 2 general-purpose I/O, also UART0 CTS0 (clear to send), EBI address/data bit AD2, and UART0 TXD."
      },
      {
        "number": "39",
        "name": "P0.1",
        "type": "bidirectional",
        "description": "Port 0 bit 1 general-purpose I/O, also UART1 RTS1, EBI address/data bit AD1, UART1 RXD1, and comparator 3 negative input ACMP3_N."
      },
      {
        "number": "40",
        "name": "P0.0",
        "type": "bidirectional",
        "description": "Port 0 bit 0 general-purpose I/O, also UART1 CTS1, EBI address/data bit AD0, UART1 TXD1, and comparator 3 positive input ACMP3_P."
      },
      {
        "number": "41",
        "name": "VDD",
        "type": "power_in",
        "description": "Main supply input (2.5 V to 5.5 V) for the internal PLL, digital circuits, I/O ports and LDO."
      },
      {
        "number": "42",
        "name": "AVDD",
        "type": "power_in",
        "description": "Analog supply input for the ADC, comparators and analog blocks; must equal VDD to avoid leakage."
      },
      {
        "number": "43",
        "name": "P1.0",
        "type": "bidirectional",
        "description": "Port 1 bit 0 general-purpose I/O, also Timer2 event counter/toggle output T2, ADC input AIN0, and EBI write strobe nWRL."
      },
      {
        "number": "44",
        "name": "P1.1",
        "type": "bidirectional",
        "description": "Port 1 bit 1 general-purpose I/O, also Timer3 event counter/toggle output T3, ADC input AIN1, and EBI write strobe nWRH."
      },
      {
        "number": "45",
        "name": "P1.2",
        "type": "bidirectional",
        "description": "Port 1 bit 2 general-purpose I/O, also UART1 RXD1 and ADC input AIN2."
      },
      {
        "number": "46",
        "name": "P1.3",
        "type": "bidirectional",
        "description": "Port 1 bit 3 general-purpose I/O, also UART1 TXD1 and ADC input AIN3."
      },
      {
        "number": "47",
        "name": "P1.4",
        "type": "bidirectional",
        "description": "Port 1 bit 4 general-purpose I/O, also SPI0 slave select SPISS0, ADC input AIN4, and comparator 0 negative input ACMP0_N."
      },
      {
        "number": "48",
        "name": "P4.2",
        "type": "bidirectional",
        "description": "Port 4 bit 2 general-purpose I/O, also PWM2 output."
      }
    ],
    "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: The datasheet's LQFP-48 pinout (Table 5-1 and Figure 5-3) is the series-level M05xxDN/DE pinout. M05; The pin table text layout is ambiguous: the QFN33 and LQFP48 columns are interleaved in the text ext; Several descriptions are summarized from the datasheet's multi-function text, which lists alternate ",
          "2/48 pins cited to the wrong page (name found elsewhere): ['15:XTAL2@p19', '16:XTAL1@p19']"
        ],
        "pages_sent": 59,
        "cost_usd": 0.2268,
        "at": "2026-10-18T03:16:48"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8586177357766144000",
        "pages": 80,
        "sha256": "dad0af4ccae67bcc",
        "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": "m0516ldn.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": "m0516ldn-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": "a496719c748eb8c2e6e68d3ca547cd96abb57ca90b6a476b693e3666bf5125fe",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}