main
Ray Publish 0.1.0 63f9828
{
  "slug": "n79e814as20",
  "version": "0.1.0",
  "type": "component",
  "description": "Nuvoton Tech Microcontroller Units (MCUs/MPUs/SOCs), SOP-20-300mil. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "n79e814as20",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "n79e814as20.kicad_sym",
    "n79e814as20.kicad_mod",
    "n79e814as20.glb",
    "n79e814as20.step",
    "n79e814as20.lbr",
    "docs/hero.png",
    "docs/n79e814as20-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "n79e814as20-hero.glb",
    "n79e814as20-hero.overlay.json",
    "n79e814as20-etched.glb"
  ],
  "component": {
    "mpn": "N79E814AS20",
    "manufacturer": "Nuvoton Tech",
    "package": "SOP-20-300mil",
    "pin_count": 20,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/0ba3d4da41da3218a1dbd31a6bb40ab1.pdf",
    "parts": {
      "symbol": "n79e814as20.kicad_sym",
      "footprint": "n79e814as20.kicad_mod",
      "model_3d": "n79e814as20-hero.glb",
      "model_3d_plain": "n79e814as20-etched.glb",
      "model_3d_step": "n79e814as20-etched.step",
      "model_3d_step_plain": "n79e814as20.step",
      "lbr": "n79e814as20.lbr"
    },
    "distributor_links": {
      "lcsc": "C106261"
    },
    "distributor_check": {
      "checked_at": "2026-10-28T22:05:01Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "P0.0",
        "type": "bidirectional",
        "description": "Port 0 bit 0, quasi-bidirectional after reset, multiplexed as PWM3 output, KB0 keyboard interrupt input and SPICLK (SPI-1 clock); Port 0 is configurable through P0M1/P0M2 and P0.0 is the PWM3 output when driven high for PWM."
      },
      {
        "number": "2",
        "name": "P1.7",
        "type": "bidirectional",
        "description": "Port 1 bit 7, quasi-bidirectional after reset, multiplexed as PWM2 output, ICPCLK (in-circuit programming serial clock), and MOSI (SPI-1); during ICP programming all pins are set to quasi-bidirectional with output high."
      },
      {
        "number": "3",
        "name": "P1.6",
        "type": "bidirectional",
        "description": "Port 1 bit 6, quasi-bidirectional after reset, multiplexed as PWM1 output, ICPDAT (in-circuit programming data I/O) and MISO (SPI-1)."
      },
      {
        "number": "4",
        "name": "RST",
        "type": "input",
        "description": "Active-low Schmitt-trigger reset input; the internal pull-up is about 200 kΩ so the pin must not be left floating, and the datasheet calls for a 100 Ω pull-up resistor and 10 µF capacitor to ground."
      },
      {
        "number": "5",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference for the device."
      },
      {
        "number": "6",
        "name": "P3.1",
        "type": "bidirectional",
        "description": "Port 3 bit 1, used as XTAL1 (input to the inverting amplifier of the external crystal/resonator oscillator); when an external crystal is used P3.1 cannot be used as an I/O pin."
      },
      {
        "number": "7",
        "name": "P3.0",
        "type": "bidirectional",
        "description": "Port 3 bit 0, used as XTAL2 (output of the internal oscillator amplifier) or as CLKOUT, which outputs the internal RC clock divided by 4 when ENCLK is set; it cannot be used as I/O when an external crystal is used."
      },
      {
        "number": "8",
        "name": "P1.4",
        "type": "bidirectional",
        "description": "Port 1 bit 4, quasi-bidirectional, multiplexed as external interrupt /INT1, ADC start input STADC and SPI-1 slave select /SS."
      },
      {
        "number": "9",
        "name": "P1.3",
        "type": "bidirectional",
        "description": "Port 1 bit 3, open-drain when I2C is enabled (required for SDA), multiplexed as external interrupt /INT0 and I2C data line SDA; an external pull-up is required when used as output."
      },
      {
        "number": "10",
        "name": "P1.2",
        "type": "bidirectional",
        "description": "Port 1 bit 2, always open-drain (I2C clock SCL), multiplexed as Timer 0 external input T0 and input capture IC0; an external pull-up is required."
      },
      {
        "number": "11",
        "name": "P1.1",
        "type": "bidirectional",
        "description": "Port 1 bit 1, quasi-bidirectional, multiplexed as UART receive RXD (selectable to P2.7 via AUXR1.6)."
      },
      {
        "number": "12",
        "name": "P1.0",
        "type": "bidirectional",
        "description": "Port 1 bit 0, quasi-bidirectional, multiplexed as UART transmit TXD (selectable to P2.6 via AUXR1.6)."
      },
      {
        "number": "13",
        "name": "P0.7",
        "type": "bidirectional",
        "description": "Port 0 bit 7, quasi-bidirectional, multiplexed as Timer 1 external input T1, ADC channel 6 input, KB7 keyboard interrupt and input capture IC1; in ADC use the input voltage must stay between AVSS and Vref+."
      },
      {
        "number": "14",
        "name": "P0.6",
        "type": "bidirectional",
        "description": "Port 0 bit 6, quasi-bidirectional, multiplexed as ADC channel 5 input and KB6 keyboard interrupt input."
      },
      {
        "number": "15",
        "name": "VDD",
        "type": "power_in",
        "description": "Supply voltage: 2.4 V to 5.5 V at FOSC 4-12 MHz and 3.0 V to 5.5 V at FOSC 4-24 MHz per the DC electrical table (Section 2 states 4.5 V to 5.5 V for 24 MHz)."
      },
      {
        "number": "16",
        "name": "P0.5",
        "type": "bidirectional",
        "description": "Port 0 bit 5, quasi-bidirectional, multiplexed as ADC channel 4 input and KB5 keyboard interrupt input."
      },
      {
        "number": "17",
        "name": "P0.4",
        "type": "bidirectional",
        "description": "Port 0 bit 4, quasi-bidirectional, multiplexed as ADC channel 3 input and KB4 keyboard interrupt input."
      },
      {
        "number": "18",
        "name": "P0.3",
        "type": "bidirectional",
        "description": "Port 0 bit 3, quasi-bidirectional, multiplexed as ADC channel 2 input and KB3 keyboard interrupt input."
      },
      {
        "number": "19",
        "name": "P0.2",
        "type": "bidirectional",
        "description": "Port 0 bit 2, quasi-bidirectional, multiplexed as ADC channel 1 input, KB2 keyboard interrupt input and BRAKE (PWM clamp/fault input, active level selected by PWMCON1.6)."
      },
      {
        "number": "20",
        "name": "P0.1",
        "type": "bidirectional",
        "description": "Port 0 bit 1, quasi-bidirectional, multiplexed as PWM0 output, ADC channel 0 input and KB1 keyboard interrupt input."
      }
    ],
    "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: Pin-to-package mapping was taken from the garbled pin-description table (pages 16-18), where SOP20 a; Supply voltage conflict: Section 2 gives VDD = 4.5-5.5 V up to 24 MHz, while the DC table (28.2) giv; Reset pull-up guidance is inconsistent: the text says the internal pull-up is about 200 kΩ, then rec"
        ],
        "pages_sent": 99,
        "cost_usd": 0.3383,
        "at": "2026-10-28T22:04:30"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/0ba3d4da41da3218a1dbd31a6bb40ab1.pdf",
        "pages": 179,
        "sha256": "d6a503318845ce88",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 20,
        "described": 20,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "n79e814as20.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          10.26,
          12.8,
          2.65
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "447316266269341c578dcde389e0873bfec0823f01691779bccf8ca09ab88ffd",
        "checked": "2026-10-28",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "n79e814as20-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          10.26,
          12.8,
          2.65
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "3278084a8b6110e447a0f107edbad69d87f5a30a42838daf9758802fae0a5720",
        "checked": "2026-10-28",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}