main
Ray Publish 0.1.0 712e962 5d ago
{
  "slug": "atsamd21j16b-aft",
  "version": "0.1.0",
  "type": "component",
  "description": "Microchip Tech Microcontroller Units (MCUs/MPUs/SOCs), TQFP-64(10x10). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "single chip microcomputer-microcontroller",
    "atsamd21j16b-aft",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "atsamd21j16b-aft.kicad_sym",
    "atsamd21j16b-aft.kicad_mod",
    "atsamd21j16b-aft.glb",
    "atsamd21j16b-aft.step",
    "atsamd21j16b-aft.lbr",
    "docs/hero.png",
    "docs/atsamd21j16b-aft-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "atsamd21j16b-aft-hero.glb",
    "atsamd21j16b-aft-hero.overlay.json",
    "atsamd21j16b-aft-etched.glb"
  ],
  "component": {
    "mpn": "ATSAMD21J16B-AFT",
    "manufacturer": "Microchip Tech",
    "package": "TQFP-64(10x10)",
    "pin_count": 64,
    "category": "Single Chip Microcomputer/Microcontroller",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/f510492454af074f403fa88b74337cfd.pdf",
    "parts": {
      "symbol": "atsamd21j16b-aft.kicad_sym",
      "footprint": "atsamd21j16b-aft.kicad_mod",
      "model_3d": "atsamd21j16b-aft-hero.glb",
      "model_3d_plain": "atsamd21j16b-aft-etched.glb",
      "model_3d_step": "atsamd21j16b-aft-etched.step",
      "model_3d_step_plain": "atsamd21j16b-aft.step",
      "lbr": "atsamd21j16b-aft.lbr"
    },
    "distributor_links": {
      "lcsc": "C2054861",
      "digikey": "ATSAMD21J16B-AFTTR-ND",
      "mouser": "556-ATSAMD21J16B-AFT"
    },
    "distributor_check": {
      "checked_at": "2026-10-30T16:18:25Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "ATSAMD21J16B-AFTTR-ND",
        "status": "found",
        "lifecycle": "Active"
      },
      "mouser": {
        "pn": "556-ATSAMD21J16B-AFT",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PA00",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDANA domain, with EXTINT[0] external interrupt and the XIN32 32 kHz crystal input function when XOSC32K is used."
      },
      {
        "number": "2",
        "name": "PA01",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDANA domain, with EXTINT[1] external interrupt and the XOUT32 32 kHz crystal output function when XOSC32K is used."
      },
      {
        "number": "3",
        "name": "PA02",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDANA domain, with EXTINT[2], analog input AIN[0], PTC input Y[0], DAC output VOUT and TCC3/WO[0]."
      },
      {
        "number": "4",
        "name": "PA03",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDANA domain, with EXTINT[3], analog input AIN[1], PTC input Y[1], ADC/DAC external reference VREFA and TCC3/WO[1]."
      },
      {
        "number": "5",
        "name": "PB04",
        "type": "bidirectional",
        "description": "Port B general-purpose I/O on the VDDANA domain, with EXTINT[4], analog input AIN[12] and PTC input Y[10]."
      },
      {
        "number": "6",
        "name": "PB05",
        "type": "bidirectional",
        "description": "Port B general-purpose I/O on the VDDANA domain, with EXTINT[5], analog input AIN[13] and PTC input Y[11]."
      },
      {
        "number": "7",
        "name": "GNDANA",
        "type": "power_in",
        "description": "Ground for the analog power domain."
      },
      {
        "number": "8",
        "name": "VDDANA",
        "type": "power_in",
        "description": "Analog supply voltage, 1.62V to 3.63V, to be decoupled with 100nF and 10µF capacitors close to the device."
      },
      {
        "number": "9",
        "name": "PB06",
        "type": "bidirectional",
        "description": "Port B general-purpose I/O on the VDDANA domain, with EXTINT[6], analog input AIN[14] and PTC input Y[12]."
      },
      {
        "number": "10",
        "name": "PB07",
        "type": "bidirectional",
        "description": "Port B general-purpose I/O on the VDDANA domain, with EXTINT[7], analog input AIN[15] and PTC input Y[13]."
      },
      {
        "number": "11",
        "name": "PB08",
        "type": "bidirectional",
        "description": "Port B general-purpose I/O on the VDDANA domain, with EXTINT[8], analog input AIN[2], PTC input Y[14], SERCOM4/PAD[0], TC4/WO[0] and TCC3/WO[6]."
      },
      {
        "number": "12",
        "name": "PB09",
        "type": "bidirectional",
        "description": "Port B general-purpose I/O on the VDDANA domain, with EXTINT[9], analog input AIN[3], PTC input Y[15], SERCOM4/PAD[1], TC4/WO[1] and TCC3/WO[7]."
      },
      {
        "number": "13",
        "name": "PA04",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDANA domain, with EXTINT[4], analog inputs AIN[4] and AIN[0], ADC external reference VREFB, PTC input Y[2], SERCOM0/PAD[0] and TCC0/WO[0]."
      },
      {
        "number": "14",
        "name": "PA05",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDANA domain, with EXTINT[5], analog inputs AIN[5] and AIN[1], PTC input Y[3], SERCOM0/PAD[1] and TCC0/WO[1]."
      },
      {
        "number": "15",
        "name": "PA06",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDANA domain, with EXTINT[6], analog inputs AIN[6] and AIN[2], PTC input Y[4], SERCOM0/PAD[2] and TCC1/WO[0]."
      },
      {
        "number": "16",
        "name": "PA07",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDANA domain, with EXTINT[7], analog inputs AIN[7] and AIN[3], PTC input Y[5], SERCOM0/PAD[3] and TCC1/WO[1]."
      },
      {
        "number": "17",
        "name": "PA08",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDIO domain, with NMI, analog input AIN[16], PTC input X[0], SERCOM0/SERCOM2 PAD[0], TCC0/WO[0] and I2C-capable SERCOM pad."
      },
      {
        "number": "18",
        "name": "PA09",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDIO domain, with EXTINT[9], analog input AIN[17], PTC input X[1], SERCOM0/SERCOM2 PAD[1] and TCC0/WO[1]."
      },
      {
        "number": "19",
        "name": "PA10",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDIO domain, with EXTINT[10], analog input AIN[18], PTC input X[2], SERCOM0/SERCOM2 PAD[2], TCC1/WO[0] and GCLK_IO[4]."
      },
      {
        "number": "20",
        "name": "PA11",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDIO domain, with EXTINT[11], analog input AIN[19], PTC input X[3], SERCOM0/SERCOM2 PAD[3], TCC1/WO[1] and GCLK_IO[5]."
      },
      {
        "number": "21",
        "name": "VDDIO",
        "type": "power_in",
        "description": "Digital supply voltage, 1.62V to 3.63V, decoupled with 100nF and 10µF capacitors close to the device."
      },
      {
        "number": "22",
        "name": "GND",
        "type": "power_in",
        "description": "Digital ground reference for the device."
      },
      {
        "number": "23",
        "name": "PB10",
        "type": "bidirectional",
        "description": "Port B general-purpose I/O on the VDDIO domain, with EXTINT[10], SERCOM4/PAD[2], TC5/WO[0] and TCC0/WO[4]."
      },
      {
        "number": "24",
        "name": "PB11",
        "type": "bidirectional",
        "description": "Port B general-purpose I/O on the VDDIO domain, with EXTINT[11], SERCOM4/PAD[3], TC5/WO[1] and TCC0/WO[5]."
      },
      {
        "number": "25",
        "name": "PB12",
        "type": "bidirectional",
        "description": "Port B general-purpose I/O on the VDDIO domain, with EXTINT[12], PTC input X[12], SERCOM4/PAD[0], TC4/WO[0] and TCC0/WO[6]."
      },
      {
        "number": "26",
        "name": "PB13",
        "type": "bidirectional",
        "description": "Port B general-purpose I/O on the VDDIO domain, with EXTINT[13], PTC input X[13], SERCOM4/PAD[1], TC4/WO[1] and TCC0/WO[7]."
      },
      {
        "number": "27",
        "name": "PB14",
        "type": "bidirectional",
        "description": "Port B general-purpose I/O on the VDDIO domain, with EXTINT[14], PTC input X[14], SERCOM4/PAD[2] and TC5/WO[0]."
      },
      {
        "number": "28",
        "name": "PB15",
        "type": "bidirectional",
        "description": "Port B general-purpose I/O on the VDDIO domain, with EXTINT[15], PTC input X[15], SERCOM4/PAD[3] and TC5/WO[1]."
      },
      {
        "number": "29",
        "name": "PA12",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDIO domain, with EXTINT[12], SERCOM2/SERCOM4 PAD[0], TCC2/WO[0], TCC0/WO[6] and analog comparator output AC/CMP[0]."
      },
      {
        "number": "30",
        "name": "PA13",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDIO domain, with EXTINT[13], SERCOM2/SERCOM4 PAD[1], TCC2/WO[1], TCC0/WO[7] and analog comparator output AC/CMP[1]."
      },
      {
        "number": "31",
        "name": "PA14",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDIO domain, with EXTINT[14], SERCOM2/SERCOM4 PAD[2], TC3/WO[0], TCC0/WO[4] and the XIN crystal input of the XOSC oscillator."
      },
      {
        "number": "32",
        "name": "PA15",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDIO domain, with EXTINT[15], SERCOM2/SERCOM4 PAD[3], TC3/WO[1], TCC0/WO[5] and the XOUT crystal output of the XOSC oscillator."
      },
      {
        "number": "33",
        "name": "GND",
        "type": "power_in",
        "description": "Digital ground reference for the device."
      },
      {
        "number": "34",
        "name": "VDDIO",
        "type": "power_in",
        "description": "Digital supply voltage, 1.62V to 3.63V, decoupled with 100nF and 10µF capacitors close to the device."
      },
      {
        "number": "35",
        "name": "PA16",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDIO domain, with EXTINT[0], PTC input X[4], SERCOM1/SERCOM3 PAD[0], TCC2/WO[0], TCC0/WO[6] and GCLK_IO[2]."
      },
      {
        "number": "36",
        "name": "PA17",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDIO domain, with EXTINT[1], PTC input X[5], SERCOM1/SERCOM3 PAD[1], TCC2/WO[1], TCC0/WO[7] and GCLK_IO[3]."
      },
      {
        "number": "37",
        "name": "PA18",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDIO domain, with EXTINT[2], PTC input X[6], SERCOM1/SERCOM3 PAD[2], TC3/WO[0], TCC0/WO[2] and analog comparator output AC/CMP[0]."
      },
      {
        "number": "38",
        "name": "PA19",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDIO domain, with EXTINT[3], PTC input X[7], SERCOM1/SERCOM3 PAD[3], TC3/WO[1], TCC0/WO[3] and analog comparator output AC/CMP[1]."
      },
      {
        "number": "39",
        "name": "PB16",
        "type": "bidirectional",
        "description": "Port B general-purpose I/O on the VDDIO domain, with EXTINT[0], SERCOM5/PAD[0], TC6/WO[0] and TCC0/WO[4]."
      },
      {
        "number": "40",
        "name": "PB17",
        "type": "bidirectional",
        "description": "Port B general-purpose I/O on the VDDIO domain, with EXTINT[1], SERCOM5/PAD[1], TC6/WO[1] and TCC0/WO[5]."
      },
      {
        "number": "41",
        "name": "PA20",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDIO domain, with EXTINT[4], PTC input X[8], SERCOM5/SERCOM3 PAD[2], TC7/WO[0] and TCC0/WO[6]."
      },
      {
        "number": "42",
        "name": "PA21",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDIO domain, with EXTINT[5], PTC input X[9], SERCOM5/SERCOM3 PAD[3], TC7/WO[1] and TCC0/WO[7]."
      },
      {
        "number": "43",
        "name": "PA22",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDIO domain, with EXTINT[6], PTC input X[10], SERCOM3/SERCOM5 PAD[0], TC4/WO[0], TCC0/WO[4] and I2C high-speed capable SERCOM pad."
      },
      {
        "number": "44",
        "name": "PA23",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDIO domain, with EXTINT[7], PTC input X[11], SERCOM3/SERCOM5 PAD[1], TC4/WO[1], TCC0/WO[5], USB SOF 1kHz output and GCLK_IO[7]."
      },
      {
        "number": "45",
        "name": "PA24",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDIO domain, with EXTINT[12], SERCOM3/SERCOM5 PAD[2], TC5/WO[0], TCC1/WO[2] and USB DM; if left unconnected, a pull-up should be enabled through input GPIO mode to avoid up to 1mA extra consumption."
      },
      {
        "number": "46",
        "name": "PA25",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDIO domain, with EXTINT[13], SERCOM3/SERCOM5 PAD[3], TC5/WO[1], TCC1/WO[3] and USB DP; if left unconnected, a pull-up should be enabled through input GPIO mode to avoid up to 1mA extra consumption."
      },
      {
        "number": "47",
        "name": "GND",
        "type": "power_in",
        "description": "Digital ground reference for the device."
      },
      {
        "number": "48",
        "name": "VDDIO",
        "type": "power_in",
        "description": "Digital supply voltage, 1.62V to 3.63V, decoupled with 100nF and 10µF capacitors close to the device."
      },
      {
        "number": "49",
        "name": "PB22",
        "type": "bidirectional",
        "description": "Port B general-purpose I/O on the VDDIO domain, with EXTINT[6], SERCOM5/PAD[2], TC7/WO[0], TCC3/WO[0] and GCLK_IO[0]."
      },
      {
        "number": "50",
        "name": "PB23",
        "type": "bidirectional",
        "description": "Port B general-purpose I/O on the VDDIO domain, with EXTINT[7], SERCOM5/PAD[3], TC7/WO[1], TCC3/WO[1] and GCLK_IO[1]."
      },
      {
        "number": "51",
        "name": "PA27",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDIO domain, with EXTINT[15], TCC3/WO[6] and GCLK_IO[0]."
      },
      {
        "number": "52",
        "name": "RESET",
        "type": "input",
        "description": "External active-low reset input with an internal pull-up resistor; an external pull-up is optional."
      },
      {
        "number": "53",
        "name": "PA28",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDIO domain, with EXTINT[8], TCC3/WO[7] and GCLK_IO[0]."
      },
      {
        "number": "54",
        "name": "GND",
        "type": "power_in",
        "description": "Digital ground reference for the device."
      },
      {
        "number": "55",
        "name": "VDDCORE",
        "type": "power_out",
        "description": "Regulated core supply output of 1.6V to 1.8V from the internal regulator, requiring a 1µF decoupling capacitor close to the device."
      },
      {
        "number": "56",
        "name": "VDDIN",
        "type": "power_in",
        "description": "Input supply pin for the device, which operates from a single 1.62V to 3.63V supply."
      },
      {
        "number": "57",
        "name": "PA30",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDIO domain, with EXTINT[10], SERCOM1/PAD[2], TCC1/WO[0], TCC3/WO[4], GCLK_IO[0] and SWCLK debug clock pin."
      },
      {
        "number": "58",
        "name": "PA31",
        "type": "bidirectional",
        "description": "Port A general-purpose I/O on the VDDIO domain, with EXTINT[11], SERCOM1/PAD[3], TCC1/WO[1], TCC3/WO[5] and SWDIO, which is only activated in the presence of a debugger."
      },
      {
        "number": "59",
        "name": "PB30",
        "type": "bidirectional",
        "description": "Port B general-purpose I/O on the VDDIO domain, with EXTINT[14], SERCOM5/PAD[0], TCC0/WO[0] and TCC1/WO[2]."
      },
      {
        "number": "60",
        "name": "PB31",
        "type": "bidirectional",
        "description": "Port B general-purpose I/O on the VDDIO domain, with EXTINT[15], SERCOM5/PAD[1], TCC0/WO[1] and TCC1/WO[3]."
      },
      {
        "number": "61",
        "name": "PB00",
        "type": "bidirectional",
        "description": "Port B general-purpose I/O on the VDDANA domain, with EXTINT[0], analog input AIN[8], PTC input Y[6], SERCOM5/PAD[2] and TC7/WO[0]."
      },
      {
        "number": "62",
        "name": "PB01",
        "type": "bidirectional",
        "description": "Port B general-purpose I/O on the VDDANA domain, with EXTINT[1], analog input AIN[9], PTC input Y[7], SERCOM5/PAD[3] and TC7/WO[1]."
      },
      {
        "number": "63",
        "name": "PB02",
        "type": "bidirectional",
        "description": "Port B general-purpose I/O on the VDDANA domain, with EXTINT[2], analog input AIN[10], PTC input Y[8], SERCOM5/PAD[0], TC6/WO[0] and TCC3/WO[2]."
      },
      {
        "number": "64",
        "name": "PB03",
        "type": "bidirectional",
        "description": "Port B general-purpose I/O on the VDDANA domain, with EXTINT[3], analog input AIN[11], PTC input Y[9], SERCOM5/PAD[1], TC6/WO[1] and TCC3/WO[3]."
      }
    ],
    "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: Package body size 10x10 is from the package hint, not from the provided text. The 64-pin TQFP/QFN dr; Pin numbers and names come from the text extraction of the pin diagram on page 20. Left-side and rig; The pin diagram prints the reset pin as RESET, while the signal list on page 28 names it RESETN (act",
          "6/64 pins cited to the wrong page (name found elsewhere): ['21:VDDIO@p1079', '34:VDDIO@p1079', '48:VDDIO@p1079', '52:RESET@p1082']"
        ],
        "pages_sent": 121,
        "cost_usd": 0.6331,
        "at": "2026-10-30T16:18:11"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/f510492454af074f403fa88b74337cfd.pdf",
        "pages": 1115,
        "sha256": "89dcd7e783742e44",
        "source_tier": "mfr"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 64,
        "described": 64,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "atsamd21j16b-aft.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12.0,
          12.0,
          1.1
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "60567e81b0770b6c519104183a7a05ba52dddc11146b5fbe21434fbb5801696c",
        "checked": "2026-10-30",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "atsamd21j16b-aft-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12.0,
          12.0,
          1.1
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "a2c174b8749aa682f3387d6ea43910614cd7a4ec7d10d26be8bdfe175d242241",
        "checked": "2026-10-30",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}