main
Ray Set visibility: public b473f26
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575
{
  "schema_version": 1,
  "type": "component",
  "slug": "atsamd21g16b-au",
  "title": "ATSAMD21G16B-AU",
  "brief": "Microchip Tech Pre-ordered MCUs, TQFP-48(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",
    "embedded processors & controllers",
    "atsamd21g16b-au",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "ATSAMD21G16B-AU",
    "manufacturer": "Microchip Tech",
    "package": "TQFP-48(7x7)",
    "pin_count": 48,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Pre-ordered MCUs",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/d70e0a926271e38a2611b8b6dcc19c07.pdf",
    "parts": {
      "symbol": "atsamd21g16b-au.kicad_sym",
      "footprint": "atsamd21g16b-au.kicad_mod",
      "model_3d": "atsamd21g16b-au-hero.glb",
      "model_3d_plain": "atsamd21g16b-au.glb",
      "model_3d_step": "atsamd21g16b-au-etched.step",
      "model_3d_step_plain": "atsamd21g16b-au.step",
      "lbr": "atsamd21g16b-au.lbr"
    },
    "distributor_links": {
      "lcsc": "C619062",
      "digikey": "ATSAMD21G16B-AU-ND",
      "mouser": "556-ATSAMD21G16B-AU"
    },
    "distributor_check": {
      "checked_at": "2026-11-13T14:43:47Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "ATSAMD21G16B-AU-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "556-ATSAMD21G16B-AU",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PA00",
        "type": "bidirectional",
        "description": "PORT group A general-purpose I/O in the VDDANA domain, also EXTINT[0] and the XIN32 32 kHz crystal input when the 32 kHz oscillator is enabled (Table 7-3)."
      },
      {
        "number": "2",
        "name": "PA01",
        "type": "bidirectional",
        "description": "PORT group A general-purpose I/O in the VDDANA domain, also EXTINT[1] and the XOUT32 32 kHz crystal output when the 32 kHz oscillator is enabled (Table 7-3)."
      },
      {
        "number": "3",
        "name": "PA02",
        "type": "bidirectional",
        "description": "PORT group A I/O in the VDDANA domain with EXTINT[2], analog input AIN[0], and DAC output VOUT; analog functions require peripheral function B to be selected to disable digital control of the pin."
      },
      {
        "number": "4",
        "name": "PA03",
        "type": "bidirectional",
        "description": "PORT group A I/O in the VDDANA domain with EXTINT[3], analog input AIN[1], and DAC/VREFA external reference; analog functions require peripheral function B to be selected."
      },
      {
        "number": "5",
        "name": "GNDANA",
        "type": "power_in",
        "description": "Ground return for the analog domain, paired with VDDANA (pin 6)."
      },
      {
        "number": "6",
        "name": "VDDANA",
        "type": "power_in",
        "description": "Analog supply for the ADC, DAC and analog comparators; the SAM D21 operating voltage is stated as 1.62V to 3.63V."
      },
      {
        "number": "7",
        "name": "PB08",
        "type": "bidirectional",
        "description": "PORT group B I/O in the VDDANA domain with EXTINT[8], analog input AIN[2], PTC Y[14], SERCOM4/PAD[0] and TC4/WO[0]."
      },
      {
        "number": "8",
        "name": "PB09",
        "type": "bidirectional",
        "description": "PORT group B I/O in the VDDANA domain with EXTINT[9], analog input AIN[3], PTC Y[15], SERCOM4/PAD[1] and TC4/WO[1]."
      },
      {
        "number": "9",
        "name": "PA04",
        "type": "bidirectional",
        "description": "PORT group A I/O in the VDDANA domain with EXTINT[4], ADC/VREFB reference, analog input AIN[4], SERCOM0/PAD[0] and TCC0/WO[0]."
      },
      {
        "number": "10",
        "name": "PA05",
        "type": "bidirectional",
        "description": "PORT group A I/O in the VDDANA domain with EXTINT[5], analog input AIN[5], SERCOM0/PAD[1] and TCC0/WO[1]."
      },
      {
        "number": "11",
        "name": "PA06",
        "type": "bidirectional",
        "description": "PORT group A I/O in the VDDANA domain with EXTINT[6], analog input AIN[6], SERCOM0/PAD[2] and TCC1/WO[0]."
      },
      {
        "number": "12",
        "name": "PA07",
        "type": "bidirectional",
        "description": "PORT group A I/O in the VDDANA domain with EXTINT[7], analog input AIN[7], SERCOM0/PAD[3] and TCC1/WO[1]."
      },
      {
        "number": "13",
        "name": "PA08",
        "type": "bidirectional",
        "description": "PORT group A I/O in the VDDIO domain with NMI, analog input AIN[16], PTC X[0], SERCOM0/PAD[0], SERCOM2/PAD[0] and TCC0/WO[0]; supports I2C per Table 7-5."
      },
      {
        "number": "14",
        "name": "PA09",
        "type": "bidirectional",
        "description": "PORT group A I/O in the VDDIO domain with EXTINT[9], analog input AIN[17], PTC X[1], SERCOM0/PAD[1], SERCOM2/PAD[1] and TCC0/WO[1]; supports I2C per Table 7-5."
      },
      {
        "number": "15",
        "name": "PA10",
        "type": "bidirectional",
        "description": "PORT group A I/O in the VDDIO domain with EXTINT[10], analog input AIN[18], PTC X[2], SERCOM0/PAD[2], SERCOM2/PAD[2] and TCC1/WO[0]."
      },
      {
        "number": "16",
        "name": "PA11",
        "type": "bidirectional",
        "description": "PORT group A I/O in the VDDIO domain with EXTINT[11], analog input AIN[19], PTC X[3], SERCOM0/PAD[3], SERCOM2/PAD[3] and TCC1/WO[1]."
      },
      {
        "number": "17",
        "name": "VDDIO",
        "type": "power_in",
        "description": "Digital I/O supply for the I/O pins of this group; the SAM D21 operating voltage is stated as 1.62V to 3.63V."
      },
      {
        "number": "18",
        "name": "GND",
        "type": "power_in",
        "description": "Digital ground for the I/O ring, paired with VDDIO (pin 17)."
      },
      {
        "number": "19",
        "name": "PB10",
        "type": "bidirectional",
        "description": "PORT group B I/O in the VDDIO domain with EXTINT[10], SERCOM4/PAD[2], TC5/WO[0], TCC0/WO[4], I2S/MCK[1] and GCLK_IO[4]."
      },
      {
        "number": "20",
        "name": "PB11",
        "type": "bidirectional",
        "description": "PORT group B I/O in the VDDIO domain with EXTINT[11], SERCOM4/PAD[3], TC5/WO[1], TCC0/WO[5], I2S/SCK[1] and GCLK_IO[5]."
      },
      {
        "number": "21",
        "name": "PA12",
        "type": "bidirectional",
        "description": "PORT group A I/O in the VDDIO domain with EXTINT[12], SERCOM2/PAD[0], SERCOM4/PAD[0], TCC2/WO[0], TCC0/WO[6] and AC/CMP[0]."
      },
      {
        "number": "22",
        "name": "PA13",
        "type": "bidirectional",
        "description": "PORT group A I/O in the VDDIO domain with EXTINT[13], SERCOM2/PAD[1], SERCOM4/PAD[1], TCC2/WO[1], TCC0/WO[7] and AC/CMP[1]."
      },
      {
        "number": "23",
        "name": "PA14",
        "type": "bidirectional",
        "description": "PORT group A I/O in the VDDIO domain with EXTINT[14], SERCOM2/PAD[2], SERCOM4/PAD[2], TC3/WO[0], TCC0/WO[4] and GCLK_IO[0]; also the XIN input of the main crystal oscillator (Table 7-3)."
      },
      {
        "number": "24",
        "name": "PA15",
        "type": "bidirectional",
        "description": "PORT group A I/O in the VDDIO domain with EXTINT[15], SERCOM2/PAD[3], SERCOM4/PAD[3], TC3/WO[1], TCC0/WO[5] and GCLK_IO[1]; also the XOUT output of the main crystal oscillator (Table 7-3)."
      },
      {
        "number": "25",
        "name": "PA16",
        "type": "bidirectional",
        "description": "PORT group A I/O in the VDDIO domain with EXTINT[0], PTC X[4], SERCOM1/PAD[0], SERCOM3/PAD[0], TCC2/WO[0], TCC0/WO[6] and GCLK_IO[2]."
      },
      {
        "number": "26",
        "name": "PA17",
        "type": "bidirectional",
        "description": "PORT group A I/O in the VDDIO domain with EXTINT[1], PTC X[5], SERCOM1/PAD[1], SERCOM3/PAD[1], TCC2/WO[1], TCC0/WO[7] and GCLK_IO[3]."
      },
      {
        "number": "27",
        "name": "PA18",
        "type": "bidirectional",
        "description": "PORT group A I/O in the VDDIO domain with EXTINT[2], PTC X[6], SERCOM1/PAD[2], SERCOM3/PAD[2], TC3/WO[0], TCC0/WO[2] and AC/CMP[0]."
      },
      {
        "number": "28",
        "name": "PA19",
        "type": "bidirectional",
        "description": "PORT group A I/O in the VDDIO domain with EXTINT[3], PTC X[7], SERCOM1/PAD[3], SERCOM3/PAD[3], TC3/WO[1], TCC0/WO[3], I2S/SD[0] and AC/CMP[1]."
      },
      {
        "number": "29",
        "name": "PA20",
        "type": "bidirectional",
        "description": "PORT group A I/O in the VDDIO domain with EXTINT[4], PTC X[8], SERCOM5/PAD[2], SERCOM3/PAD[2], TC7/WO[0], TCC0/WO[6], I2S/SCK[0] and GCLK_IO[4]."
      },
      {
        "number": "30",
        "name": "PA21",
        "type": "bidirectional",
        "description": "PORT group A I/O in the VDDIO domain with EXTINT[5], PTC X[9], SERCOM5/PAD[3], SERCOM3/PAD[3], TC7/WO[1], TCC0/WO[7], I2S/FS[0] and GCLK_IO[5]; the name is taken from the G-series column of Table 7-1 because the page 21 pin text omits it."
      },
      {
        "number": "31",
        "name": "PA22",
        "type": "bidirectional",
        "description": "PORT group A I/O in the VDDIO domain with EXTINT[6], PTC X[10], SERCOM3/PAD[0], SERCOM5/PAD[0], TC4/WO[0], TCC0/WO[4] and GCLK_IO[6]; supports I2C per Table 7-5."
      },
      {
        "number": "32",
        "name": "PA23",
        "type": "bidirectional",
        "description": "PORT group A I/O in the VDDIO domain with EXTINT[7], PTC X[11], SERCOM3/PAD[1], SERCOM5/PAD[1], TC4/WO[1], TCC0/WO[5], USB SOF 1kHz and GCLK_IO[7]; supports I2C per Table 7-5."
      },
      {
        "number": "33",
        "name": "PA24",
        "type": "bidirectional",
        "description": "USB DM data line with EXTINT[12], SERCOM3/PAD[2], SERCOM5/PAD[2], TC5/WO[0] and TCC1/WO[2]; if unconnected, a pull-up is recommended to avoid power draw below 1 mA, and this pin has no drive strength option."
      },
      {
        "number": "34",
        "name": "PA25",
        "type": "bidirectional",
        "description": "USB DP data line with EXTINT[13], SERCOM3/PAD[3], SERCOM5/PAD[3], TC5/WO[1] and TCC1/WO[3]; if unconnected, a pull-up is recommended to avoid power draw below 1 mA, and this pin has no drive strength option."
      },
      {
        "number": "35",
        "name": "GND",
        "type": "power_in",
        "description": "Digital ground for the I/O ring."
      },
      {
        "number": "36",
        "name": "VDDIO",
        "type": "power_in",
        "description": "Digital I/O supply for the I/O pins of this group; the SAM D21 operating voltage is stated as 1.62V to 3.63V."
      },
      {
        "number": "37",
        "name": "PB22",
        "type": "bidirectional",
        "description": "PORT group B I/O in the VDDIO domain with EXTINT[6], SERCOM5/PAD[2], TC7/WO[0], TCC3/WO[0] and GCLK_IO[0]."
      },
      {
        "number": "38",
        "name": "PB23",
        "type": "bidirectional",
        "description": "PORT group B I/O in the VDDIO domain with EXTINT[7], SERCOM5/PAD[3], TC7/WO[1], TCC3/WO[1] and GCLK_IO[1]."
      },
      {
        "number": "39",
        "name": "PA27",
        "type": "bidirectional",
        "description": "PORT group A I/O in the VDDIO domain with EXTINT[15], TCC3/WO[6] and GCLK_IO[0]."
      },
      {
        "number": "40",
        "name": "RESET",
        "type": "input",
        "description": "Active-low external reset input for the device."
      },
      {
        "number": "41",
        "name": "PA28",
        "type": "bidirectional",
        "description": "PORT group A I/O in the VDDIO domain with EXTINT[8], TCC3/WO[7] and GCLK_IO[0]."
      },
      {
        "number": "42",
        "name": "GND",
        "type": "power_in",
        "description": "Digital ground for the core and I/O domain, paired with VDDCORE and VDDIN."
      },
      {
        "number": "43",
        "name": "VDDCORE",
        "type": "power_out",
        "description": "Regulated output of the internal voltage regulator that supplies the core; the datasheet pin legend classifies it as a regulated output supply, not an input."
      },
      {
        "number": "44",
        "name": "VDDIN",
        "type": "power_in",
        "description": "Input supply to the internal voltage regulator; the SAM D21 operating voltage is stated as 1.62V to 3.63V."
      },
      {
        "number": "45",
        "name": "PA30",
        "type": "bidirectional",
        "description": "PORT group A I/O in the VDDIO domain with EXTINT[10], SERCOM1/PAD[2], TCC1/WO[0], TCC3/WO[4], GCLK_IO[0] and the SWCLK Serial Wire Debug clock (Table 7-4)."
      },
      {
        "number": "46",
        "name": "PA31",
        "type": "bidirectional",
        "description": "PORT group A I/O in the VDDIO domain with EXTINT[11], SERCOM1/PAD[3], TCC1/WO[1], TCC3/WO[5] and the SWDIO Serial Wire Debug data line, which is only activated when a debugger is present."
      },
      {
        "number": "47",
        "name": "PB02",
        "type": "bidirectional",
        "description": "PORT group B I/O in the VDDANA domain with EXTINT[2], analog input AIN[10], PTC Y[8], SERCOM5/PAD[0], TC6/WO[0] and TCC3/WO[2]."
      },
      {
        "number": "48",
        "name": "PB03",
        "type": "bidirectional",
        "description": "PORT group B I/O in the VDDANA domain with EXTINT[3], analog input AIN[11], PTC 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: The page 21 pin text for TQFP48 shows pin 30 with no name. PA21 was taken from the SAMD2xG column of; The 48-pin TQFP package drawing and its 7x7 mm body size are not in the extracted text; only the 64-; Pins listed as VDDANA-domain analog-capable I/O are typed bidirectional, the KiCad class for PORT GP"
        ],
        "pages_sent": 118,
        "cost_usd": 0.6201,
        "at": "2026-11-13T14:43:36"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/d70e0a926271e38a2611b8b6dcc19c07.pdf",
        "pages": 1148,
        "sha256": "18ca1ccab5aa330f",
        "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": "atsamd21g16b-au.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": "14ca7676e4932e92f0eca0c6d56ce3018cd28a2531204a70ab7bbacb3eeb3cf5",
        "checked": "2026-11-13",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "atsamd21g16b-au-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": "653d26fb157dd260c85b9607b2d10556824f0bc6578ade32be3bfebff8ac9f4e",
        "checked": "2026-11-13",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ],
    "package_dims": {
      "package_code": "Y8",
      "source_page": 1069,
      "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.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": "atsamd21g16b-au.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-48(7x7)",
      "Category": "Embedded Processors & Controllers",
      "Pins": "48"
    },
    "appearance": {
      "contacts": {
        "quote": "including indium tin oxide (ITO) sensor grids. The PTC requires one pin per X-line and one pin per Y-line. In the self-capacitance mode, the PTC requires only one pin (Y-line) for each touch sensor.",
        "page": 859,
        "doc": "ds.pdf",
        "plating": "tin"
      },
      "version": 1,
      "datasheet_sha256": "18ca1ccab5aa330f16dfb0b24f5acf9e817998f61734ccad9f56657d409a708b"
    },
    "characteristics": {
      "version": 1,
      "source": "datasheet",
      "datasheet_sha256": "18ca1ccab5aa330f16dfb0b24f5acf9e817998f61734ccad9f56657d409a708b",
      "rows": [
        {
          "name": "VDDIO supply voltage",
          "symbol": "VDDIO",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 1.62,
          "typ": null,
          "max": 3.63,
          "conditions": "Powers I/O lines, OSC8M and XOSC",
          "source_page": 35,
          "source": "datasheet"
        },
        {
          "name": "VDDIN supply voltage",
          "symbol": "VDDIN",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 1.62,
          "typ": null,
          "max": 3.63,
          "conditions": "Powers I/O lines and the internal regulator",
          "source_page": 35,
          "source": "datasheet"
        },
        {
          "name": "VDDANA supply voltage",
          "symbol": "VDDANA",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 1.62,
          "typ": null,
          "max": 3.63,
          "conditions": "Powers I/O lines, ADC, AC, DAC, PTC, OSCULP32K, OSC32K, XOSC32K",
          "source_page": 35,
          "source": "datasheet"
        },
        {
          "name": "Operating temperature (ordering grade U)",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "°C",
          "min": -40,
          "typ": null,
          "max": 85,
          "conditions": "Package grade U = -40 to 85°C per SAM D21 ordering code; MPN suffix -AU",
          "source_page": 16,
          "source": "datasheet"
        }
      ]
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "atsamd21g16b-au"
  ],
  "discovery_pitch": "ATSAMD21G16B-AU (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",
    "atsamd21g16b-au.kicad_sym",
    "atsamd21g16b-au.kicad_mod",
    "atsamd21g16b-au.glb",
    "atsamd21g16b-au.step",
    "atsamd21g16b-au.lbr",
    "docs/hero.png",
    "docs/atsamd21g16b-au-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "atsamd21g16b-au-hero.glb",
    "atsamd21g16b-au-hero.overlay.json"
  ],
  "visibility": {
    "public": true
  }
}