component
ATMEGA4808-AFR
Public Made by Adomby adom
Microchip Tech Microcontroller Units (MCUs/MPUs/SOCs), TQFP-32(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
Ray
Set visibility: public
da5e368
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445
{
"schema_version": 1,
"type": "component",
"slug": "atmega4808-afr",
"title": "ATMEGA4808-AFR",
"brief": "Microchip Tech Microcontroller Units (MCUs/MPUs/SOCs), TQFP-32(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
"version": "0.1.0",
"license": "CC-BY-SA-4.0",
"tags": [
"component",
"single chip microcomputer-microcontroller",
"atmega4808-afr",
"factory-2.0.0",
"extractor-text"
],
"component": {
"mpn": "ATMEGA4808-AFR",
"manufacturer": "Microchip Tech",
"package": "TQFP-32(7x7)",
"pin_count": 32,
"category": "Single Chip Microcomputer/Microcontroller",
"subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
"datasheet": "https://ww1.microchip.com/downloads/en/DeviceDoc/ATmega4808-09-DataSheet-DS40002173C.pdf",
"parts": {
"symbol": "atmega4808-afr.kicad_sym",
"footprint": "atmega4808-afr.kicad_mod",
"model_3d": "atmega4808-afr-hero.glb",
"model_3d_plain": "atmega4808-afr.glb",
"model_3d_step": "atmega4808-afr-etched.step",
"model_3d_step_plain": "atmega4808-afr.step",
"lbr": "atmega4808-afr.lbr"
},
"distributor_links": {
"lcsc": "C2052755",
"digikey": "ATMEGA4808-AFRTR-ND",
"mouser": "579-ATMEGA4808AFR"
},
"distributor_check": {
"checked_at": "2026-11-13T15:24:25Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": "ATMEGA4808-AFRTR-ND",
"status": "found"
},
"mouser": {
"pn": "579-ATMEGA4808AFR",
"status": "found"
}
},
"pins": [
{
"number": "1",
"name": "PA3",
"type": "bidirectional",
"description": "General-purpose I/O on PORTA with pull-up and interrupt capability; alternate functions include TWI0 SCL (host), USART0 XDIR, TCA0 WO3, TCB1 WO and CCL LUT0 OUT."
},
{
"number": "2",
"name": "PA4",
"type": "bidirectional",
"description": "General-purpose I/O on PORTA; default functions include SPI0 MOSI and TCA0 WO4, with USART0 TxD available on the alternate pin position."
},
{
"number": "3",
"name": "PA5",
"type": "bidirectional",
"description": "General-purpose I/O on PORTA; default functions include SPI0 MISO and TCA0 WO5, with USART0 RxD available on the alternate pin position."
},
{
"number": "4",
"name": "PA6",
"type": "bidirectional",
"description": "General-purpose I/O on PORTA; default function is SPI0 SCK, with USART0 XCK and CCL LUT0 OUT on alternate pin positions and asynchronous interrupt sensing."
},
{
"number": "5",
"name": "PA7",
"type": "bidirectional",
"description": "General-purpose I/O on PORTA; default functions include CLKOUT, AC0 OUT and SPI0 SS, with USART0 XDIR and EVOUTA on alternate pin positions."
},
{
"number": "6",
"name": "PC0",
"type": "bidirectional",
"description": "General-purpose I/O on PORTC; default functions include USART1 TxD and TCB2 WO, with SPI0 MOSI, TCA0 WO0 and CCL LUT1 IN0 on alternate pin positions."
},
{
"number": "7",
"name": "PC1",
"type": "bidirectional",
"description": "General-purpose I/O on PORTC; default function is USART1 RxD, with SPI0 MISO, TCA0 WO1 and TCB3 WO on alternate pin positions."
},
{
"number": "8",
"name": "PC2",
"type": "bidirectional",
"description": "General-purpose I/O on PORTC; default functions include TWI0 and USART1 XCK, with SPI0 SCK, TWI0 SDA (host), TCA0 WO2, EVOUTC and CCL LUT1 IN2 on alternate pin positions."
},
{
"number": "9",
"name": "PC3",
"type": "bidirectional",
"description": "General-purpose I/O on PORTC; default functions include TWI0 and USART1 XDIR, with SPI0 SS, TWI0 SCL (host), TCA0 WO3 and CCL LUT1 OUT on alternate pin positions."
},
{
"number": "10",
"name": "PD0",
"type": "bidirectional",
"description": "General-purpose I/O on PORTD (analog input AIN0 of ADC0); TCA0 WO0 and CCL LUT2 IN0 are available on alternate pin positions."
},
{
"number": "11",
"name": "PD1",
"type": "bidirectional",
"description": "General-purpose I/O on PORTD (analog input AIN1 of ADC0 and AC0 positive input P3); TCA0 WO1 and CCL LUT2 IN1 are available on alternate pin positions."
},
{
"number": "12",
"name": "PD2",
"type": "bidirectional",
"description": "General-purpose I/O on PORTD (analog input AIN2 of ADC0 and AC0 positive input P0); EVOUTD, TCA0 WO2 and CCL LUT2 IN2 are available, and this pin supports full asynchronous interrupt detection."
},
{
"number": "13",
"name": "PD3",
"type": "bidirectional",
"description": "General-purpose I/O on PORTD (analog input AIN3 of ADC0 and AC0 negative input N0); TCA0 WO3 and CCL LUT2 OUT are available on alternate pin positions."
},
{
"number": "14",
"name": "PD4",
"type": "bidirectional",
"description": "General-purpose I/O on PORTD (analog input AIN4 of ADC0 and AC0 positive input P1); TCA0 WO4 is available on an alternate pin position."
},
{
"number": "15",
"name": "PD5",
"type": "bidirectional",
"description": "General-purpose I/O on PORTD (analog input AIN5 of ADC0 and AC0 negative input N1); TCA0 WO5 is available on an alternate pin position."
},
{
"number": "16",
"name": "PD6",
"type": "bidirectional",
"description": "General-purpose I/O on PORTD (analog input AIN6 of ADC0 and AC0 positive input P2); CCL LUT2 OUT is available on an alternate pin position and this pin supports full asynchronous interrupt detection."
},
{
"number": "17",
"name": "PD7",
"type": "bidirectional",
"description": "General-purpose I/O on PORTD (analog input AIN7 of ADC0, AC0 negative input N2 and VREFA external voltage reference); EVOUTD is available on an alternate pin position."
},
{
"number": "18",
"name": "AVDD",
"type": "power_in",
"description": "Analog supply pin for the AVDD power domain, which feeds the analog functions such as ADC0 and AC0 on the PORTD pins."
},
{
"number": "19",
"name": "GND",
"type": "power_in",
"description": "Ground reference pin for the device."
},
{
"number": "20",
"name": "PF0 (TOSC1)",
"type": "bidirectional",
"description": "General-purpose I/O on PORTF that doubles as the TOSC1 crystal oscillator connection; USART2 TxD, TCA0 WO0 and CCL LUT3 IN0 are available."
},
{
"number": "21",
"name": "PF1 (TOSC2)",
"type": "bidirectional",
"description": "General-purpose I/O on PORTF that doubles as the TOSC2 crystal oscillator connection; USART2 RxD, TCA0 WO1 and CCL LUT3 IN1 are available."
},
{
"number": "22",
"name": "PF2",
"type": "bidirectional",
"description": "General-purpose I/O on PORTF with analog input AIN12, default TWI0 SDA (client) and USART2 XCK functions, EVOUTF, and this pin supports full asynchronous interrupt detection."
},
{
"number": "23",
"name": "PF3",
"type": "bidirectional",
"description": "General-purpose I/O on PORTF with analog input AIN13, default TWI0 SCL (client) and USART2 XDIR functions, and TCA0 WO3 and CCL LUT3 OUT on alternate pin positions."
},
{
"number": "24",
"name": "PF4",
"type": "bidirectional",
"description": "General-purpose I/O on PORTF with analog input AIN14; USART2 TxD, TCA0 WO4 and TCB0 WO are available on alternate pin positions."
},
{
"number": "25",
"name": "PF5",
"type": "bidirectional",
"description": "General-purpose I/O on PORTF with analog input AIN15; USART2 RxD, TCA0 WO5 and TCB1 WO are available on alternate pin positions."
},
{
"number": "26",
"name": "PF6",
"type": "bidirectional",
"description": "General-purpose I/O on PORTF that can be configured as the RESET pin via the RSTPINCFG fuse; USART2 XCK and CCL LUT3 OUT are available on alternate pin positions."
},
{
"number": "27",
"name": "UPDI",
"type": "bidirectional",
"description": "Unified Program and Debug Interface pin used for programming and debugging the device."
},
{
"number": "28",
"name": "VDD",
"type": "power_in",
"description": "Main supply pin for the VDD power domain, rated 1.8-5.5V for the -AFR ordering code."
},
{
"number": "29",
"name": "GND",
"type": "power_in",
"description": "Ground reference pin for the device."
},
{
"number": "30",
"name": "PA0 (EXTCLK)",
"type": "bidirectional",
"description": "General-purpose I/O on PORTA that can also serve as the external clock input EXTCLK; USART0 TxD, TCA0 WO0 and CCL LUT0 IN0 are available."
},
{
"number": "31",
"name": "PA1",
"type": "bidirectional",
"description": "General-purpose I/O on PORTA; default function is USART0 RxD, with TCA0 WO1 and CCL LUT0 IN1 available."
},
{
"number": "32",
"name": "PA2",
"type": "bidirectional",
"description": "General-purpose I/O on PORTA with TWI0 SDA (host), USART0 XCK, TCA0 WO2, TCB0 WO and EVOUTA; this pin supports full asynchronous interrupt detection."
}
],
"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 numbers were taken from the TQFP32/VQFN32 column of the Section 4.1 Multiplexed Signals table (p; The PF2 and PF3 rows have only three numbers (36/25/22 and 37/26/23) because they are absent from th; The datasheet does not state the power domain (VDD vs AVDD) for each individual pin in the 32-pin ta"
],
"pages_sent": 109,
"cost_usd": 0.3498,
"at": "2026-11-13T15:24:01"
},
"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": 32,
"described": 32,
"cites_pages": true,
"refuses_to_fabricate": true
}
},
"viewers": {
"symbol": "viewers/symbol.html",
"footprint": "viewers/footprint.html"
},
"models_3d": [
{
"file": "atmega4808-afr.step",
"role": "plain",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
9,
9,
1.1
],
"zmin_mm": 0,
"centre_offset_mm": 0,
"footprint_binding": "identity",
"sha256": "53431be61c684e9d923915676a90cb08050c23ee3f834d76a77a3b19b41422f1",
"checked": "2026-11-13",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "atmega4808-afr-etched.step",
"role": "eda",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
9,
9,
1.1
],
"zmin_mm": 0,
"centre_offset_mm": 0,
"footprint_binding": "identity",
"sha256": "28b12d09c8ff5771846065325951bb047b455ec8b015b4bc8ae961ac14d8c6dd",
"checked": "2026-11-13",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
],
"package_dims": {
"package_code": "PT",
"source_page": 530,
"D": {
"nom_mm": 7,
"range_mm": [
null,
null
]
},
"E1": {
"nom_mm": 7,
"range_mm": [
null,
null
]
},
"E": {
"nom_mm": 9,
"range_mm": [
null,
null
]
},
"e": {
"nom_mm": 0.8,
"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": "atmega4808-afr.step",
"verdict": "PASS",
"reasons": [
"height and body within the datasheet's package drawing"
],
"by": "factory/package_fit.py"
}
}
},
"metadata": {
"specs": {
"Manufacturer": "Microchip Tech",
"Package": "TQFP-32(7x7)",
"Category": "Single Chip Microcomputer/Microcontroller",
"Pins": "32"
},
"characteristics": {
"version": 1,
"source": "datasheet",
"datasheet_sha256": "a1755e46625fa50b5857e43891bf7894e4f2a109964178d668f5851a4e3c31a8",
"rows": [
{
"name": "Supply voltage",
"symbol": "",
"kind": "recommended_operating",
"unit": "V",
"min": 1.8,
"typ": null,
"max": 5.5,
"conditions": "ATmega4808-AFR (32 TQFP, 20 MHz, -40°C to +125°C), Ordering Information table",
"source_page": 521,
"source": "datasheet"
},
{
"name": "Temperature range",
"symbol": "",
"kind": "recommended_operating",
"unit": "°C",
"min": -40,
"typ": null,
"max": 125,
"conditions": "ATmega4808-AFR (32 TQFP, 20 MHz, 1.8-5.5V), Ordering Information table",
"source_page": 521,
"source": "datasheet"
}
]
}
},
"variants": [],
"sections": [
"hero",
"viewers",
"readme",
"breadcrumbs",
"info"
],
"discovery_triggers": [
"atmega4808-afr"
],
"discovery_pitch": "ATMEGA4808-AFR (Microchip Tech) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
"author": {
"name": "Ray"
},
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"atmega4808-afr.kicad_sym",
"atmega4808-afr.kicad_mod",
"atmega4808-afr.glb",
"atmega4808-afr.step",
"atmega4808-afr.lbr",
"docs/hero.png",
"docs/atmega4808-afr-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"atmega4808-afr-hero.glb",
"atmega4808-afr-hero.overlay.json"
],
"visibility": {
"public": true
}
}