main
Ray Publish 0.1.0 cfb026f
{
  "slug": "atmega4809-afr",
  "version": "0.1.0",
  "type": "component",
  "description": "Microchip Tech ATMEL & AVR, TQFP-48(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "atmega4809-afr",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "atmega4809-afr.kicad_sym",
    "atmega4809-afr.kicad_mod",
    "atmega4809-afr.glb",
    "atmega4809-afr.step",
    "atmega4809-afr.lbr",
    "docs/hero.png",
    "docs/atmega4809-afr-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "atmega4809-afr-hero.glb",
    "atmega4809-afr-hero.overlay.json"
  ],
  "component": {
    "mpn": "ATMEGA4809-AFR",
    "manufacturer": "Microchip Tech",
    "package": "TQFP-48(7x7)",
    "pin_count": 48,
    "category": "Embedded Processors & Controllers",
    "subcategory": "ATMEL & AVR",
    "datasheet": "https://ww1.microchip.com/downloads/en/DeviceDoc/ATmega4808-09-DataSheet-DS40002173C.pdf",
    "parts": {
      "symbol": "atmega4809-afr.kicad_sym",
      "footprint": "atmega4809-afr.kicad_mod",
      "model_3d": "atmega4809-afr-hero.glb",
      "model_3d_plain": "atmega4809-afr.glb",
      "model_3d_step": "atmega4809-afr-etched.step",
      "model_3d_step_plain": "atmega4809-afr.step",
      "lbr": "atmega4809-afr.lbr"
    },
    "distributor_links": {
      "lcsc": "C189475",
      "digikey": "ATMEGA4809-AFRTR-ND",
      "mouser": "556-ATMEGA4809-AFR"
    },
    "distributor_check": {
      "checked_at": "2026-11-13T13:01:40Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "ATMEGA4809-AFRTR-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "556-ATMEGA4809-AFR",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PA5",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PA5 with alternate functions USART0 RxD (alternate position), SPI0 MISO and TCA0 WO5 (alternate position), and it can be used as an event input and external interrupt source."
      },
      {
        "number": "2",
        "name": "PA6",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PA6 with alternate functions USART0 XCK (alternate position), SPI0 SCK and CCL LUT0-OUT (alternate position); PA6 supports full asynchronous pin-change detection."
      },
      {
        "number": "3",
        "name": "PA7",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PA7 with alternate functions CLKOUT, AC0 OUT, USART0 XDIR (alternate position), SPI0 SS and EVSYS EVOUTA (alternate position)."
      },
      {
        "number": "4",
        "name": "PB0",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PB0 with alternate functions USART3 TxD and TCA0 WO0 (alternate position)."
      },
      {
        "number": "5",
        "name": "PB1",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PB1 with alternate functions USART3 RxD and TCA0 WO1 (alternate position)."
      },
      {
        "number": "6",
        "name": "PB2",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PB2 with alternate functions USART3 XCK, TCA0 WO2 (alternate position) and EVSYS EVOUTB."
      },
      {
        "number": "7",
        "name": "PB3",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PB3 with alternate functions USART3 XDIR and TCA0 WO3 (alternate position)."
      },
      {
        "number": "8",
        "name": "PB4",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PB4 with alternate functions USART3 TxD (alternate position), TCA0 WO4 (alternate position) and TCB2 WO (alternate position)."
      },
      {
        "number": "9",
        "name": "PB5",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PB5 with alternate functions USART3 RxD (alternate position), TCA0 WO5 (alternate position) and TCB3 WO."
      },
      {
        "number": "10",
        "name": "PC0",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PC0 with alternate functions USART1 TxD, SPI0 MOSI (alternate position), TCA0 WO0 (alternate position), TCB2 WO and CCL LUT1-IN0."
      },
      {
        "number": "11",
        "name": "PC1",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PC1 with alternate functions USART1 RxD, SPI0 MISO (alternate position), TCA0 WO1 (alternate position), TCB3 WO (alternate position) and CCL LUT1-IN1."
      },
      {
        "number": "12",
        "name": "PC2",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PC2 with alternate functions USART1 XCK, SPI0 SCK (alternate position), TWI0 SDA host (alternate position), TCA0 WO2 (alternate position), EVSYS EVOUTC and CCL LUT1-IN2."
      },
      {
        "number": "13",
        "name": "PC3",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PC3 with alternate functions USART1 XDIR, SPI0 SS (alternate position), TWI0 SCL host (alternate position), TCA0 WO3 (alternate position) and CCL LUT1-OUT."
      },
      {
        "number": "14",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital supply pin; the device operating supply range is 1.8V to 5.5V per the ordering information."
      },
      {
        "number": "15",
        "name": "GND",
        "type": "power_in",
        "description": "Ground reference pin for the digital supply domain."
      },
      {
        "number": "16",
        "name": "PC4",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PC4 with alternate functions USART1 TxD (alternate position) and TCA0 WO4 (alternate position)."
      },
      {
        "number": "17",
        "name": "PC5",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PC5 with alternate functions USART1 RxD (alternate position) and TCA0 WO5 (alternate position)."
      },
      {
        "number": "18",
        "name": "PC6",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PC6 with alternate functions USART1 XCK (alternate position) and CCL LUT1-OUT (alternate position)."
      },
      {
        "number": "19",
        "name": "PC7",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PC7 with alternate functions USART1 XDIR (alternate position) and EVSYS EVOUTC (alternate position)."
      },
      {
        "number": "20",
        "name": "PD0",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PD0 with alternate functions ADC0 AIN0, TCA0 WO0 (alternate position) and CCL LUT2-IN0."
      },
      {
        "number": "21",
        "name": "PD1",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PD1 with alternate functions ADC0 AIN1, AC0 P3 input, TCA0 WO1 (alternate position) and CCL LUT2-IN1."
      },
      {
        "number": "22",
        "name": "PD2",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PD2 with alternate functions ADC0 AIN2, AC0 P0 input, TCA0 WO2 (alternate position), EVSYS EVOUTD and CCL LUT2-IN2."
      },
      {
        "number": "23",
        "name": "PD3",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PD3 with alternate functions ADC0 AIN3, AC0 N0 input, TCA0 WO3 (alternate position) and CCL LUT2-OUT."
      },
      {
        "number": "24",
        "name": "PD4",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PD4 with alternate functions ADC0 AIN4, AC0 P1 input and TCA0 WO4 (alternate position)."
      },
      {
        "number": "25",
        "name": "PD5",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PD5 with alternate functions ADC0 AIN5, AC0 N1 input and TCA0 WO5 (alternate position)."
      },
      {
        "number": "26",
        "name": "PD6",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PD6 with alternate functions ADC0 AIN6, AC0 P2 input and CCL LUT2-OUT (alternate position)."
      },
      {
        "number": "27",
        "name": "PD7",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PD7 with alternate functions VREFA (external voltage reference input), ADC0 AIN7, AC0 N2 input and EVSYS EVOUTD (alternate position)."
      },
      {
        "number": "28",
        "name": "AVDD",
        "type": "power_in",
        "description": "Analog supply pin powering the ADC and other analog peripherals."
      },
      {
        "number": "29",
        "name": "GND",
        "type": "power_in",
        "description": "Ground reference pin for the device."
      },
      {
        "number": "30",
        "name": "PE0",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PE0 with alternate functions ADC0 AIN8, SPI0 MOSI (alternate position) and TCA0 WO0 (alternate position)."
      },
      {
        "number": "31",
        "name": "PE1",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PE1 with alternate functions ADC0 AIN9, SPI0 MISO (alternate position) and TCA0 WO1 (alternate position)."
      },
      {
        "number": "32",
        "name": "PE2",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PE2 with alternate functions ADC0 AIN10, SPI0 SCK (alternate position), TCA0 WO2 (alternate position) and EVSYS EVOUTE."
      },
      {
        "number": "33",
        "name": "PE3",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PE3 with alternate functions ADC0 AIN11, SPI0 SS (alternate position) and TCA0 WO3 (alternate position)."
      },
      {
        "number": "34",
        "name": "PF0 (TOSC1)",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PF0 that is also the TOSC1 crystal oscillator connection, with alternate functions USART2 TxD, TCA0 WO0 (alternate position) and CCL LUT3-IN0."
      },
      {
        "number": "35",
        "name": "PF1 (TOSC2)",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PF1 that is also the TOSC2 crystal oscillator connection, with alternate functions USART2 RxD, TCA0 WO1 (alternate position) and CCL LUT3-IN1."
      },
      {
        "number": "36",
        "name": "PF2",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PF2 with alternate functions TWI0 SDA client (alternate position), ADC0 AIN12, USART2 XCK, TCA0 WO2 (alternate position), EVSYS EVOUTF and CCL LUT3-IN2."
      },
      {
        "number": "37",
        "name": "PF3",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PF3 with alternate functions ADC0 AIN13, USART2 XDIR, TWI0 SCL client (alternate position), TCA0 WO3 (alternate position) and CCL LUT3-OUT."
      },
      {
        "number": "38",
        "name": "PF4",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PF4 with alternate functions ADC0 AIN14, USART2 TxD (alternate position), TCA0 WO4 (alternate position) and TCB0 WO (alternate position)."
      },
      {
        "number": "39",
        "name": "PF5",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PF5 with alternate functions ADC0 AIN15, USART2 RxD (alternate position), TCA0 WO5 (alternate position) and TCB1 WO (alternate position)."
      },
      {
        "number": "40",
        "name": "PF6 (RESET)",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PF6 that serves as the external RESET pin when the RSTPINCFG fuse selects RESET, with alternate functions USART2 XCK (alternate position) and CCL LUT3-OUT (alternate position)."
      },
      {
        "number": "41",
        "name": "UPDI",
        "type": "bidirectional",
        "description": "Unified Program and Debug Interface pin used for programming and debugging the device."
      },
      {
        "number": "42",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital supply pin; the device operating supply range is 1.8V to 5.5V per the ordering information."
      },
      {
        "number": "43",
        "name": "GND",
        "type": "power_in",
        "description": "Ground reference pin for the device."
      },
      {
        "number": "44",
        "name": "PA0 (EXTCLK)",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PA0 that is also the EXTCLK external clock input, with alternate functions USART0 TxD, TCA0 WO0 and CCL LUT0-IN0."
      },
      {
        "number": "45",
        "name": "PA1",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PA1 with alternate functions USART0 RxD, TCA0 WO1 and CCL LUT0-IN1."
      },
      {
        "number": "46",
        "name": "PA2",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PA2 with alternate functions USART0 XCK, TWI0 SDA host, TCA0 WO2, TCB0 WO, EVSYS EVOUTA and CCL LUT0-IN2; PA2 supports full asynchronous pin-change detection."
      },
      {
        "number": "47",
        "name": "PA3",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PA3 with alternate functions USART0 XDIR, TWI0 SCL host, TCA0 WO3, TCB1 WO and CCL LUT0-OUT."
      },
      {
        "number": "48",
        "name": "PA4",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PA4 with alternate functions USART0 TxD (alternate position), SPI0 MOSI and TCA0 WO4."
      }
    ],
    "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-number-to-name mapping was built from the TQFP48/VQFN48 column of the I/O Multiplexing table (pp; Pin 40 is PF6 with RESET as its special function. The datasheet only says the pin is RESET when the ; Functions marked '(alternate position)' are only routed to that pin when selected through PORTMUX (o"
        ],
        "pages_sent": 109,
        "cost_usd": 0.3635,
        "at": "2026-11-13T13:01:30"
      },
      "datasheet": {
        "url": "https://ww1.microchip.com/downloads/en/DeviceDoc/ATmega4808-09-DataSheet-DS40002173C.pdf",
        "pages": 560,
        "sha256": "a1755e46625fa50b",
        "source_tier": "mfr"
      },
      "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": "atmega4809-afr.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-11-13",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "atmega4809-afr-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": "76c5d9e9b1e436eccf3ed124c50122e2f5ed6e87c36670b626ad01e34667a6c8",
        "checked": "2026-11-13",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ],
    "package_dims": {
      "package_code": "PT (C04-300-PT, 48-Lead TQFP 7x7x1.0 mm)",
      "source_page": 540,
      "D": {
        "nom_mm": 7.0,
        "range_mm": [
          null,
          null
        ]
      },
      "E1": {
        "nom_mm": 7.0,
        "range_mm": [
          null,
          null
        ]
      },
      "E": {
        "nom_mm": 9.0,
        "range_mm": [
          null,
          null
        ]
      },
      "e": {
        "nom_mm": 0.5,
        "range_mm": [
          null,
          null
        ]
      },
      "A": {
        "nom_mm": 1.2,
        "range_mm": [
          null,
          1.2
        ]
      },
      "source": "datasheet package drawing, every number found on its page (extract_pins --task dims)",
      "model_check": {
        "file": "atmega4809-afr.step",
        "verdict": "PASS",
        "reasons": [
          "height and body within the datasheet's package drawing"
        ],
        "by": "factory/package_fit.py"
      }
    }
  }
}