main
Ray Publish 0.1.0 cb0cf88
{
  "slug": "atsamd21g16b-au",
  "version": "0.1.0",
  "type": "component",
  "description": "Microchip Tech Pre-ordered MCUs, TQFP-48(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "atsamd21g16b-au",
    "factory-2.0.0",
    "extractor-text"
  ],
  "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"
  ],
  "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.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": "atsamd21g16b-au-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": "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.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": "atsamd21g16b-au.step",
        "verdict": "PASS",
        "reasons": [
          "height and body within the datasheet's package drawing"
        ],
        "by": "factory/package_fit.py"
      }
    }
  }
}