ATSAMD21G16B-AUT - 48MHz Cortex-M0+ 64KB MCU | Microchip
MPN: ATSAMD21G16B-AUT ✓ نشطATSAMD21G16B-AUT نظرة عامة
A microcontroller (MCU) is a single-chip computer containing a CPU core, program memory (Flash), working memory (SRAM), and on-chip peripherals. The SAM D21 series uses the ARM Cortex-M0+ core, the smallest and most energy-efficient of the ARM Cortex-M family, designed for deterministic real-time control in cost- and power-sensitive applications. Cortex-M0+ -> ARM Cortex-M -> 32-bit RISC core -> microcontroller -> integrated circuit -> semiconductor. The D21 family is a member of Microchip's SAM family of low-power Cortex-M microcontrollers.
Key features of the ATSAMD21G16B-AUT include six SERCOM serial-communication interfaces (each configurable as UART/SPI/I2C), a 12-bit 1 MSPS ADC with up to 20 channels, a 10-bit 350 kSPS DAC, six 16-bit Timer/Counters, and a full-speed USB 2.0 device/host interface. The device achieves 2.46 CoreMark/MHz and supports the Functional Safety (FuSa) feature set intended for IEC 60730 class B safety applications.
The ATSAMD21G16B-AUT's SleepWalking peripherals and Event System allow the CPU to remain idle while I/O events are serviced autonomously, reducing active-mode current to a minimum and supporting battery-powered designs. The 48-pin TQFP footprint exposes 38 GPIO, all interrupt-capable with configurable pull-ups and drive strength.
Typical applications include IoT sensor nodes, consumer wearables, USB Human Interface Devices (HID), industrial control front-ends, and home-automation controllers. The combination of Cortex-M0+ efficiency, USB FS, and advanced analog suits designs that need clean signal acquisition and wired communication on a tight power budget.
When designing with the ATSAMD21G16B-AUT, follow the reference PCB layout in the SAM D21 datasheet: place the decoupling capacitor within 3 mm of VDDCORE pin 5 and add a 4.7 uF bulk capacitor on VDDIN. Use the Atmel-ICE or Curiosity Nano board for programming and debugging over SWD.
This page synthesizes verified distributor pricing, drop-in compatible SAMD21 / SAM3 variants, and practical design notes not found in the manufacturer datasheet.
بدائل مباشرة لـ ATSAMD21G16B-AUT — نفس الحزمة، متوافق دبوس بدبوس. تُستثنى القطع ذات الحزم المختلفة التي تتطلب تعديل PCB.
الطرازات في هذه السلسلة
طرازات من نفس السلسلة متوافقة تمامًا مع ATSAMD21G16B-AUT (نفس عامل الشكل والبصمة) — يختلف في Operating Temperature, ADC, DAC, SERCOM Modules, Flash Memory.
ATSAMD21G16B-AU
✅ بديل مباشرتواصل لمعرفة السعر
عرض ورقة البيانات ←ATSAMD21G15B-AU
✅ بديل مباشر ⚠️ مواصفات غير مُتحقق منهاتواصل لمعرفة السعر
عرض ورقة البيانات ←ATSAMD21G16B-AUT الحدود القصوى والخصائص الكهربائية
| Core Architecture | ARM Cortex-M0+ |
| Family | SAM D21G (Functional Safety / FuSa) |
| Flash Memory | 64 KB |
| SRAM | 8 KB |
| Maximum CPU Frequency | 48 MHz |
| Operating Voltage Range | 1.62 V to 3.63 V |
| العلبة | 48-pin TQFP (7x7 mm) |
| GPIO Count | 38 |
| ADC | 12-bit, up to 20 channels, 1 MSPS |
| DAC | 10-bit, 1 channel, 350 kSPS |
| SERCOM Modules | 6 (each UART/SPI/I2C configurable) |
| USB | USB 2.0 Full-Speed Device & Host |
| Timer/Counters | 6 x 16-bit |
| نطاق درجة حرارة التشغيل | -40 C to +85 C (Industrial) |
| حالة RoHS | Compliant (Green) |
تكوين أطراف ATSAMD21G16B-AUT
| دبوس 1 | PA00 — General-purpose I/O, XIN (external clock input) |
| دبوس 2 | PA01 — General-purpose I/O, XOUT (external clock output) |
| دبوس 3 | PA02 — General-purpose I/O, AIN0 (ADC input) |
| دبوس 4 | PA03 — General-purpose I/O, AIN1, VREFA reference |
| دبوس 5 | VDDCORE — Internal LDO output, decouple with 1 uF to GND |
| دبوس 6 | VDDIN — Main power supply input (1.62-3.63 V) |
| دبوس 7 | PA04 — General-purpose I/O, AIN2, VREFB reference |
| دبوس 8 | PA05 — General-purpose I/O, AIN3, DAC output |
| دبوس 9 | PA06 — General-purpose I/O, AIN4 |
| دبوس 10 | PA07 — General-purpose I/O, AIN5, VBUS detect |
| دبوس 11 | PA08 — General-purpose I/O, AIN6, I2S SCK |
| دبوس 12 | PA09 — General-purpose I/O, AIN7, I2S MCK |
| دبوس 13 | PA10 — General-purpose I/O, AIN8, I2S SDO |
| دبوس 14 | PA11 — General-purpose I/O, AIN9, I2S SDI |
| دبوس 15 | PA12 — General-purpose I/O, AIN10, I2S FS |
| دبوس 16 | PA13 — General-purpose I/O, AIN11 |
| دبوس 17 | PA14 — General-purpose I/O, AIN12 |
| دبوس 18 | PA15 — General-purpose I/O, AIN13 |
| دبوس 19 | PA16 — General-purpose I/O, AIN14, SERCOM1 PAD0 |
| دبوس 20 | PA17 — General-purpose I/O, AIN15, SERCOM1 PAD1 |
| دبوس 21 | PA18 — General-purpose I/O, RESET (default) |
| دبوس 22 | PA19 — General-purpose I/O, SERCOM3 PAD0 |
| دبوس 23 | PA20 — General-purpose I/O, SERCOM3 PAD1 |
| دبوس 24 | PA21 — General-purpose I/O, SERCOM3 PAD2 |
| دبوس 25 | PA22 — General-purpose I/O, SERCOM3 PAD3 |
| دبوس 26 | PA23 — General-purpose I/O, USB SOF |
| دبوس 27 | PA24 — USB_DM (USB Full-Speed data minus) |
| دبوس 28 | PA25 — USB_DP (USB Full-Speed data plus) |
| دبوس 29 | PA26 — General-purpose I/O, SERCOM5 PAD0 |
| دبوس 30 | PA27 — General-purpose I/O, SERCOM5 PAD1 |
| دبوس 31 | PA28 — General-purpose I/O, SERCOM5 PAD2 |
| دبوس 32 | PA29 — General-purpose I/O, SERCOM5 PAD3 |
| دبوس 33 | PA30 — General-purpose I/O, SWDIO |
| دبوس 34 | PA31 — General-purpose I/O, SWDCLK |
| دبوس 35 | PB00 — General-purpose I/O |
| دبوس 36 | PB01 — General-purpose I/O |
| دبوس 37 | PB02 — General-purpose I/O, SERCOM5 PAD0 alt |
| دبوس 38 | PB03 — General-purpose I/O, SERCOM5 PAD1 alt |
| دبوس 39 | PB04 — General-purpose I/O |
| دبوس 40 | PB05 — General-purpose I/O |
| دبوس 41 | PB06 — General-purpose I/O |
| دبوس 42 | PB07 — General-purpose I/O |
| دبوس 43 | PB08 — General-purpose I/O, I2S MCK alt |
| دبوس 44 | PB09 — General-purpose I/O |
| دبوس 45 | PB10 — General-purpose I/O |
| دبوس 46 | PB11 — General-purpose I/O |
| دبوس 47 | GND — Ground |
| دبوس 48 | VDDIO — I/O supply voltage |
التطبيقات النموذجية
ATSAMD21G16B-AUT مناسب لـ 6 التطبيقs: IoT Sensor Node, USB Human Interface Device (HID), Industrial Control Front-End, Wearable Health Monitor, Home Automation Controller, Consumer Game Controller.
IoT Sensor Node
The ATSAMD21G16B-AUT is an ideal host for low-power IoT sensor nodes: its 64 KB Flash comfortably holds TLS client stacks and application code, while 8 KB SRAM supports small sensor-data buffers. The six SERCOM peripherals (UART/SPI/I2C) interface directly to common sensors such as Bosch BME280 (I2C) and Semtech SX1276 (SPI). With SleepWalking peripherals plus Event System, the Cortex-M0+ core can remain in standby while ADC and I/O events are serviced autonomously, achieving active-mode current below 100 uA/MHz. The 1.62-3.63 V input range lets a single 3.3 V LDO power the MCU plus radio module.
موصى به
USB Human Interface Device (HID)
On-chip USB 2.0 Full-Speed device/host with internal pull-up and transceiver makes the ATSAMD21G16B-AUT well-suited to USB HID peripherals such as keyboards, mice, and game controllers. Designers avoid an external USB PHY and save BOM cost. The PA24/PA25 USB data lines and VBUS detection pin (PA7) are routed to the USB connector without an external pull-up. The 48 MHz core handles HID report descriptor parsing plus LED matrix scanning, while the 12-bit ADC reads joystick analog inputs. The SAM D21 USB stack in Atmel Studio / MPLAB X supports HID class natively.
موصى به
Industrial Control Front-End
With its 12-bit 1 MSPS ADC (up to 20 channels), 10-bit DAC, and six SERCOM interfaces, the ATSAMD21G16A-AUT (note: this is the prior A-revision; B-revision datasheet-compatible) is widely deployed in industrial PLC expansion modules and motor-control front-ends. The Functional Safety (FuSa) variant in the B-suffix supports IEC 60730 class B, providing CRC peripherals and dedicated watchdog timer for appliance-class safety compliance. Operating from -40 C to +85 C industrial temperature range, the device survives factory-floor environments. The Event System enables deterministic timing for PWM-driven motor control loops.
موصى به
Wearable Health Monitor
Wearables benefit from the ATSAMD21G16B-AUT's low-power Cortex-M0+ core, small TQFP-48 footprint, and 6 SERCOM channels that drive multiple biometric sensors simultaneously. The 12-bit ADC reads PPG (photoplethysmogram) signals from pulse-oximeter sensors, while the 10-bit DAC drives constant-current LED bias. With deep-sleep current in the microamp range and active-mode current under 100 uA/MHz, a small Li-ion battery can sustain days of continuous monitoring. The small 7x7 mm TQFP package fits easily inside wrist-worn enclosures.
موصى به
Home Automation Controller
Smart-home gateways use the ATSAMD21G16B-AUT as a low-cost bridge between wireless radios (Zigbee, Thread, BLE) and the home network. The six SERCOM interfaces support SPI to nRF2812 BLE modules and I2C to environmental sensors, while the USB Full-Speed port provides wired connectivity for commissioning. The 64 KB Flash runs Thread/BLE stack plus application logic; the Functional Safety variant enables compliance with IEC 60335 household appliance safety standards. The Event System handles real-time sensor responses without CPU wakeup.
موصى به
Consumer Game Controller
Game controllers rely on the ATSAMD21G16B-AUT's USB Full-Speed device mode plus 12-bit ADC for joystick and trigger inputs. Six SERCOM peripherals drive analog sticks, buttons, and trigger potentiometers simultaneously. The Cortex-M0+ core processes HID reports at 1 kHz polling rates with deterministic latency under 1 ms. Designers use the on-chip DAC to drive haptic feedback motors via PWM, eliminating an external haptic-driver IC. Operating at 48 MHz and 3.3 V, the part supports battery-powered wireless controllers when paired with a 2.4 GHz radio.
موصى به
ملخص المنتجات الموصى بها
بيانات مرجعية هندسية لـ ATSAMD21G16B-AUT — المقارنة وإرشادات التصميم ومعلومات الامتثال.
دليل الاختيار
المقارنة مع البدائل
| المعامل | هذا المنتج | ATSAMD21G16B-AU | ATSAMD21G15B-AU | ATSAMD21G15B-MUT |
|---|---|---|---|---|
| Package | 48-TQFP (7x7) | 48-TQFP (7x7) - same | 48-TQFP (7x7) - same | 48-QFN (7x7) - different |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 64 KB | 64 KB | 48 KB (-25%) | 48 KB (-25%) |
| SRAM | 8 KB | 8 KB | 8 KB | 8 KB |
| Core / Frequency | Cortex-M0+ / 48 MHz | Cortex-M0+ / 48 MHz | Cortex-M0+ / 48 MHz | Cortex-M0+ / 48 MHz |
| Functional Safety (FuSa) | Yes (IEC 60730 class B) | Yes | Yes | Yes |
| Operating Voltage | 1.62-3.63 V | 1.62-3.63 V | 1.62-3.63 V | 1.62-3.63 V |
| Packaging Format | Tape & Reel (AUT) | Tray (AU) | Tray (AU) | Tape & Reel (MUT) |
أبرز الفروقات
- On-chip USB Full-Speed with internal transceiver (مقابلATSAMD21G16A-AU (prior revision))
- Functional Safety (FuSa) variant for IEC 60730 class B (مقابلATSAMD21G15B-AU (lower Flash variant))
- 48 MHz Cortex-M0+ with 2.46 CoreMark/MHz (مقابلATSAM3N1CB-AUR (Cortex-M3 alternative))
ملاحظات التصميم
Estimated power-decoupling reference. Place a 4.7 nF ceramic decoupling capacitor within 3 mm of the VDDCORE pin 5 to stabilize the internal 1.2 V LDO. Add a 10 nF ceramic + 4.7 uF bulk capacitor on VDDIN pin 6 to suppress load-transient ringing. The on-chip LDO can source up to ~80 mA; ensure total VDDIO + analog current stays within budget to avoid brown-out resets.
Thermal management in TQFP-48: with theta_JA around 60-70 C/W for the 7x7 TQFP package and 48 MHz full-load operation (~10 mA active), the junction temperature rise above ambient is approximately 1 C - no heatsink needed. For industrial environments exceeding +70 C ambient, ensure the copper pour under the exposed pad (or thermal vias) keeps Tj below +100 C per the SAM D21 datasheet.
PCB layout for the SAM D21 family: route the USB differential pair (PA24/PA25) with 90-ohm impedance and keep the length-matched within 2 mm. Decoupling capacitors must have vias directly to the GND plane - never share vias between caps. Place the SWD header (PA30 SWDIO, PA31 SWDCLK) on the board edge for Atmel-ICE debugger access during bring-up.
Common pitfall: in production firmware, the BOOTPROT fuse must be configured BEFORE locking the device, otherwise the SAM-BA bootloader becomes inaccessible and field updates require a debugger. Another pitfall is leaving PA24/PA25 GPIO pull-ups enabled during USB operation - this can corrupt USB bus signaling. Disable pull-ups via the PORT->PINCFG register before USB enumeration.
Signal-integrity tip: when using the SERCOM SPI peripheral at high speed (>10 MHz), add a 33 ohm series resistor on the SCK, MOSI, and MISO traces to dampen reflections on long board traces (>50 mm). For I2C buses above 400 kHz, ensure the bus capacitance stays below 200 pF per the SAM D21 datasheet, and use 4.7 kohm pull-ups instead of the 10 kohm default.
معلومات الامتثال
RoHS compliant per Microchip product page (Green compound). Not AEC-Q100 qualified - this is an industrial-grade part. Functional Safety variant supports IEC 60730 class B for appliance applications.