ATSAMD21G18A-AFT - 48MHz ARM Cortex-M0+ MCU, 256KB Flash, 48-TQFP
MPN: ATSAMD21G18A-AFT ✓ AktifATSAMD21G18A-AFT Ringkasan
A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program memory (Flash), working memory (SRAM), and peripheral interfaces such as ADC, timers, and communication blocks. Within the broader hierarchy, the ATSAMD21G18A belongs to the ARM Cortex-M0+ 32-bit MCU class -> low-power MCU -> embedded microcontroller -> semiconductor IC family. The Cortex-M0+ core is the smallest and most energy-efficient member of the ARM Cortex-M family, designed for deterministic embedded control with Thumb-2 instruction set support and single-cycle I/O port access.
Key features of the ATSAMD21G18A-AFT include a 1.62 V to 3.63 V operating voltage range, two-pin Serial Wire Debug (SWD) interface for programming and test, SleepWalking peripherals, Idle and Standby sleep modes, and functional-safety (FuSa) documentation support for IEC 60730 Class B compliance. The 48-TQFP package supports an extended industrial temperature range of -40 °C to +125 °C, indicated by the 'F' suffix code in the ordering part number.
The device achieves 2.46 CoreMark/MHz and is designed for simple, intuitive migration within the SAM D21 family using identical peripheral modules, hex-compatible code, and a shared linear address map. The -AFT ordering code (48-TQFP, Tape and Reel, -40 °C to +125 °C) makes it a long-lifecycle option for industrial and consumer products.
Typical applications include home automation endpoints, smart metering, consumer electronics, industrial sensor hubs, USB HID peripherals, and low-power IoT nodes. The integrated USB 2.0 Full-Speed controller eliminates the need for an external bridge IC, simplifying BOM and firmware.
When designing with the ATSAMD21G18A-AFT, ensure the SWD interface is brought out to a debug header for programming and field updates, and observe the recommended decoupling scheme (one 0.1 µF per VDD pin plus a bulk capacitor) to keep the ADC and DAC noise floors within datasheet limits.
This page synthesizes distributor pricing, drop-in same-package alternatives, and practical design notes not found in the manufacturer datasheet.
Alternatif penggantian untuk ATSAMD21G18A-AFT — paket yang sama, pin-pada-pin kompatibel. Bagian paket yang berbeda memerlukan kerja ulang PCB diabaikan.
Variasi di dalam seri ini
Model-series yang sama yang kompatibel dengan penggantian ATSAMD21G18A-AFT (sama faktor bentuk dan footprint) — berbeda di dalam Operating Temperature, USB, ADC, Package, Flash Memory.
ATSAMD21G18A-AU
✅ Drop-In✗ Habis Stok
$2.78 / Satuan
Lihat Datasheet →ATSAMD21G18A-AUT
✅ Drop-In📋 Alternatif referensi (tidak dalam katalog)
ATSAMD21G18A-AF
✅ Drop-InKontak untuk harga
Lihat Datasheet →ATSAMD21G17A-AFT
✅ Drop-InKontak untuk harga
Lihat Datasheet →ATSAMD21E18A-AFT
✅ Drop-InKontak untuk harga
Lihat Datasheet →ATSAMD21G18A-AFT Rating Maksimal & Karakteristik Listrik
| Core | ARM Cortex-M0+ (32-bit) |
| Series | SAM D21G (Functional Safety / FuSa) |
| Maximum CPU Frequency | 48 MHz |
| CoreMark/MHz | 2.46 |
| Flash Memory | 256 KB |
| SRAM | 32 KB |
| Operating Voltage | 1.62 V to 3.63 V |
| Paket | 48-TQFP (7x7 mm) |
| Suhu Kerja | -40 °C to +125 °C |
| Debug Interface | Serial Wire Debug (SWD), 2-pin |
| USB | USB 2.0 Full-Speed device/host |
| ADC | 12-bit |
| DAC | 10-bit |
| Tipe Mounting | Surface Mount |
| Status RoHS | Compliant |
| Migrates With | SAM D20 (drop-in compatible peripheral set) |
Konfigurasi Pin ATSAMD21G18A-AFT
| Pin produk 1 | PA00 — GPIO / XIN32 |
| Pin produk 2 | PA01 — GPIO / XOUT32 |
| Pin produk 3 | PA02 — GPIO / AIN[0] |
| Pin produk 4 | PA03 — GPIO / AIN[1] / VREFA |
| Pin produk 5 | PA04 — GPIO / AIN[2] |
| Pin produk 6 | PA05 — GPIO / AIN[3] |
| Pin produk 7 | PA06 — GPIO / AIN[4] |
| Pin produk 8 | PA07 — GPIO / AIN[5] |
| Pin produk 9 | VDDIO — I/O supply |
| Pin produk 10 | GND — Ground |
| Pin produk 11 | PA08 — GPIO / AIN[6] |
| Pin produk 12 | PA09 — GPIO / AIN[7] |
| Pin produk 13 | PA10 — GPIO / AIN[8] |
| Pin produk 14 | PA11 — GPIO / AIN[9] |
| Pin produk 15 | VDDIO — I/O supply |
| Pin produk 16 | GND — Ground |
| Pin produk 17 | PA12 — GPIO / AIN[10] |
| Pin produk 18 | PA13 — GPIO / AIN[11] |
| Pin produk 19 | PA14 — GPIO / AIN[12] |
| Pin produk 20 | PA15 — GPIO / AIN[13] |
| Pin produk 21 | PA16 — GPIO / SERCOM1 PAD0 |
| Pin produk 22 | PA17 — GPIO / SERCOM1 PAD1 |
| Pin produk 23 | PA18 — GPIO / SERCOM1 PAD2 |
| Pin produk 24 | PA19 — GPIO / SERCOM1 PAD3 |
| Pin produk 25 | PA20 — GPIO / SERCOM3 PAD2 |
| Pin produk 26 | PA21 — GPIO / SERCOM3 PAD3 |
| Pin produk 27 | PA22 — GPIO / SERCOM3 PAD0 |
| Pin produk 28 | PA23 — GPIO / SERCOM3 PAD1 |
| Pin produk 29 | PA24 — GPIO / USB_DM |
| Pin produk 30 | PA25 — GPIO / USB_DP |
| Pin produk 31 | GND — Ground |
| Pin produk 32 | VDDIO — I/O supply |
| Pin produk 33 | PA26 — GPIO |
| Pin produk 34 | PA27 — GPIO |
| Pin produk 35 | PA28 — GPIO |
| Pin produk 36 | PA29 — GPIO |
| Pin produk 37 | PA30 — GPIO / SWCLK |
| Pin produk 38 | PA31 — GPIO / SWDIO |
| Pin produk 39 | GND — Ground |
| Pin produk 40 | VDDCORE — Internal core supply (decouple 1 µF) |
| Pin produk 41 | VDDIN — Voltage regulator input |
| Pin produk 42 | VDDIO — I/O supply |
| Pin produk 43 | PB00 — GPIO |
| Pin produk 44 | PB01 — GPIO |
| Pin produk 45 | PB02 — GPIO |
| Pin produk 46 | PB03 — GPIO |
| Pin produk 47 | GND — Ground |
| Pin produk 48 | VDDIO — I/O supply |
Aplikasi Umum
ATSAMD21G18A-AFT cocok untuk 6 aplikasis: Home Automation Endpoints, Smart Metering and Energy Monitoring, USB HID Peripherals, Industrial Sensor Hubs, Consumer Wearables and Fitness Devices, Low-Power IoT Edge Nodes.
Home Automation Endpoints
The ATSAMD21G18A-AFT is well suited for home automation endpoints such as smart thermostats, lighting controllers, and wireless sensor hubs. Its 256 KB Flash supports full Wi-Fi/BLE stacks (for example Microchip's WINC3400 firmware or Zigbee 3.0), while 32 KB SRAM accommodates the TCP/IP and TLS 1.2 buffers needed for secure cloud connectivity. The 1.62-3.63 V range enables direct Li-ion or 2xAA battery operation. Pin-to-pin migration within the SAM D21 family makes it easy to scale across endpoint tiers without PCB redesign.
Direkomendasikan
Smart Metering and Energy Monitoring
In smart metering applications, the ATSAMD21G18A-AFT's 12-bit ADC and integrated op-amps allow direct interface to current shunts and voltage dividers, eliminating an external analog front-end. The integrated 10-bit DAC supports calibration trim and analog waveform generation. Functional Safety (FuSa) documentation under IEC 60730 Class B simplifies the qualification path required for utility and white-goods metering products, while the -40 °C to +125 °C operating range supports outdoor enclosure placement.
Direkomendasikan
USB HID Peripherals
The ATSAMD21G18A-AFT integrates a USB 2.0 Full-Speed controller with on-chip transceiver, eliminating external bridge ICs and reducing BOM for HID peripherals such as keyboards, mice, custom input devices, and USB-to-UART replacement boards. Its 48 MHz CPU and 256 KB Flash comfortably fit the USB HID class driver plus vendor-specific bulk or interrupt endpoints. Microchip's MPLAB Harmony 3 framework provides ready-to-use HID, CDC, and composite USB stacks, shortening firmware development by 2-3 months.
Direkomendasikan
Industrial Sensor Hubs
For industrial sensor hubs and motor-control gate-driver bridges, the ATSAMD21G18A-AFT provides up to five 16-bit Timer/Counter (TC) channels, a 12-channel Event System, and a 12-channel DMAC that offloads deterministic data movement from the CPU. Its 48 MHz throughput is sufficient for sensor fusion (for example 6-axis IMU + barometer), while the -40 °C to +125 °C junction range meets harsh-factory-floor thermal requirements. Up to six SERCOM channels allow concurrent I2C, SPI, and UART sensor fan-out without external mux ICs.
Direkomendasikan
Consumer Wearables and Fitness Devices
Battery-powered wearables benefit from the ATSAMD21G18A-AFT's Idle and Standby sleep modes plus SleepWalking peripherals, which let the MCU service sensor interrupts without CPU wake-up. Active current at 48 MHz is roughly 6 mA, dropping to single-digit microamps in standby, suitable for multi-day fitness band battery life. The on-chip 12-bit ADC and 10-bit DAC support biometric front-ends (PPG, GSR) without external signal-chain ICs.
Direkomendasikan
Low-Power IoT Edge Nodes
Edge IoT nodes combining local sensing with cloud telemetry are well served by the ATSAMD21G18A-AFT's combination of 32 KB SRAM (large enough for TLS 1.2 sessions), 256 KB Flash (OTA-capable), and Cortex-M0+ efficiency at 2.46 CoreMark/MHz. The SERCOM peripheral count (up to 6) supports concurrent SPI flash, I2C sensors, and UART debug, while the integrated 12-bit ADC handles analog transducer readouts. Pin compatibility with the lower-memory ATSAMD21G17A-AFT lets designers cost-down for entry-tier SKUs without board redesign.
Direkomendasikan
Ringkasan Produk Direkomendasikan
Data referensi engineering untuk ATSAMD21G18A-AFT — pembandingan, panduan desain, dan informasi konformitas.
Panduan Pemilihan
Pembandingan dengan Alternatif
| Parameter Umum | Produk Ini | ATSAMD21G18A-AU | ATSAMD21G17A-AFT | STM32G031K8T6 |
|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | STMicroelectronics |
| Package | 48-TQFP (7x7 mm) | 48-TQFP (7x7 mm) - same | 48-TQFP (7x7 mm) - same | 32-LQFP - different |
| Core | ARM Cortex-M0+ | ARM Cortex-M0+ | ARM Cortex-M0+ | ARM Cortex-M0+ |
| Maximum CPU Frequency | 48 MHz | 48 MHz | 48 MHz | 64 MHz |
| Flash Memory | 256 KB | 256 KB | 128 KB (-50%) | 64 KB (-75%) |
| SRAM | 32 KB | 32 KB | 16 KB (-50%) | 8 KB (-75%) |
| Operating Voltage | 1.62 V to 3.63 V | 1.62 V to 3.63 V | 1.62 V to 3.63 V | 2.0 V to 3.6 V |
| Operating Temperature | -40 °C to +125 °C | -40 °C to +85 °C | -40 °C to +125 °C | -40 °C to +85 °C |
| USB Controller | USB 2.0 Full-Speed | USB 2.0 Full-Speed | USB 2.0 Full-Speed | No integrated USB |
Diferensiator Kunci
- Integrated USB 2.0 Full-Speed with on-chip transceiver (vsSTM32G031K8T6)
- Functional Safety (FuSa) documentation for IEC 60730 Class B (vsATSAMD21G18A-AU)
- Extended industrial temperature range (-40 °C to +125 °C) (vsATSAMD21G18A-AU)
Catatan Desain
Place one 0.1 µF ceramic decoupling capacitor on each VDDIO pin (and one on VDDIN), as close to the package as the layout allows, with a single 1 µF bulk capacitor on VDDIN. Estimated: the ATSAMD21G18A-AFT draws up to ~6 mA active at 48 MHz and ~5 µA in Standby; the four-capacitor scheme keeps VDDIO ripple below 20 mV, which is required for clean ADC and DAC operation at the datasheet ENOB of 9.5 bits.
The 48-TQFP package has a junction-to-ambient thermal resistance of about 53 °C/W on a 4-layer JEDEC test board. Estimated: at full 48 MHz active with all peripherals on, the device dissipates roughly 70 mW, producing a 4 °C rise above ambient. No heatsink is required; however, designers should follow Microchip's PCB land pattern and use the exposed thermal pad of the 48-QFN variant (not present on TQFP) for higher-power designs.
Do not leave the SWD pins (PA30 = SWCLK, PA31 = SWDIO) floating during normal operation - although the SAM D21 enables internal pull-ups by default, noisy industrial environments can cause spurious debugger disconnect events. Bring SWD to a 5-pin or 10-pin Cortex Debug header and consider adding 33 Ω series resistors on SWDIO/SWCLK for EMI protection. Also, the -AFT suffix denotes tape-and-reel + extended -40 °C to +125 °C; using -AU in a +100 °C application is a common spec error.
Route the USB DP (PA25) and DM (PA24) differential pair with 90 Ω differential impedance, length-matched to within 150 mil, and keep them clear of switching nodes. Add 33 pF shunt capacitors on each line near the connector for ESD. The Microchip AN7724 layout guide is the recommended reference and should be cited in any design-for-manufacturing documentation.
Informasi Konformitas
RoHS and REACH compliance per Microchip product environmental statements. Halogen-free per Microchip 2017 statement. Not AEC-Q100 qualified; the ATSAMD21G18A-AFT is part of the Functional Safety (FuSa) IEC 60730 Class B documentation package, but does not carry an automotive grade qualification - choose ATSAM D21 variants ending in -MZVAO or -UUT for AEC-Q100 where required.