ATSAML21G18B-ANT - 256KB Flash 48MHz Cortex-M0+ MCU | Microchip
Référence : ATSAML21G18B-ANT ✓ Actif| Qté | Prix unitaire | Total |
|---|---|---|
| 1 | $5.95 | $5,95 |
| 10 | $5.45 | $54,50 |
| 100 | $4.85 | $485,00 |
| 500 | $4.32 | $2 160,00 |
| 1 000 | $3.78 | $3 780,00 |
ATSAML21G18B-ANT Présentation
An ARM Cortex-M0+ microcontroller is a 32-bit RISC processor core designed by ARM Holdings for embedded applications that require low power consumption, deterministic interrupt response, and a rich peripheral set. The Cortex-M0+ belongs to the broader ARM Cortex-M family of microcontrollers and integrates features such as single-cycle I/O port access, a low-latency interrupt controller (NVIC), and optional single-cycle hardware multiply. Within the system hierarchy, a microcontroller (MCU) sits inside the Integrated Circuits category, with microcontrollers being a subset of microprocessors specifically designed for standalone embedded control. The SAM L21 family extends this architecture with Microchip's proprietary ultra-low-power technology, including multiple Sleep modes, a power-on reset (POR) and brown-out detector (BOD), and on-chip peripherals that can operate while the CPU is asleep.
Key features of the ATSAML21G18B include the Full-Speed USB 2.0 device and embedded host controller, a 12-bit 1 MSPS ADC, multiple SERCOM (serial communication) interfaces configurable as UART/SPI/I2C, a 32-bit RTC with calendar, and a Cryptographic Engine (CSE) supporting AES-128 and AES-256. The functional safety (FuSa) variant adds hardware diagnostic features. The peripheral touch controller (PTC) supports up to 256 channels for capacitive touch sensing without external components.
At the architectural level, the SAM L21 integrates the Cortex-M0+ core with a high-speed bus matrix and a separate low-power peripheral bus, allowing DMA transfers to occur while the CPU sleeps. The Event System (EVSYS) enables peripherals to trigger each other without CPU intervention, further reducing active-mode energy consumption. The device is fabricated on a low-leakage CMOS process and supports SleepWalking, where peripherals wake the CPU only when data is ready.
Typical applications include wearable fitness and health devices, smart home sensor nodes, low-power wireless IoT endpoints, industrial metering, battery-powered data loggers, and human-machine interfaces (HMI) with touch input. The wide operating voltage and ultra-low Sleep current also suit energy-harvesting designs where the average current must remain below 10 uA.
Design consideration: when migrating firmware from the SAM D21 family (Cortex-M0+ at higher active current), use the SAM L21 Sleep modes aggressively - placing the CPU in Sleep between ADC samples can reduce average current by 50x or more. Use the brown-out detector (BOD) at 1.6V minimum and ensure decoupling capacitors (100 nF plus 4.7 uF bulk) are placed within 2 mm of the VDD pin.
This page synthesizes distributor pricing, package-compatible alternatives, application circuits, and design notes that are not consolidated in the SAM L21 family datasheet, giving embedded engineers a single reference for part selection, supply-chain resilience, and low-power firmware design.
Alternatives de remplacement direct pour ATSAML21G18B-ANT — même boîtier, compatible broche à broche. Les références à boîtier différent nécessitant une retouche du PCB sont exclues.
Variantes de cette série
Modèles de la même série directement compatibles avec ATSAML21G18B-ANT (même facteur de forme et même empreinte) — différant par ADC, Package, SRAM, RoHS Status, Sleep Mode Current.
Outil de comparaison rapide — sélectionnez des références alternatives pour une comparaison côte à côte :
ATSAML21G17B-ANT
✅ Remplacement direct✓ En stock
$2.71 / unité
Voir la fiche technique →ATSAML21G16B-ANT
✅ Remplacement direct✓ En stock
$2.78 / unité
Voir la fiche technique →ATSAML21E15B-AUT
✅ Remplacement direct✓ En stock
$2.98 / unité
Voir la fiche technique →ATSAML21G18B-ANT Valeurs maximales et caractéristiques électriques
| Core | ARM Cortex-M0+ |
| Bit Width | 32-bit |
| Fréquence d'horloge maximale | 48 MHz |
| Program Memory (Flash) | 256 KB |
| RAM | 32 KB |
| Supply Voltage Range | 1.6 V to 3.6 V |
| Active Mode Current | < 35 uA/MHz |
| Sleep Mode Current | 200 nA |
| Plage de température de fonctionnement | -40 C to +85 C |
| Boîtier | 48-TQFP (7x7 mm) |
| Type de montage | Surface Mount |
| ADC | 12-bit, 1 MSPS |
| USB | Full-Speed USB 2.0 Device/Host |
| Communication Interfaces | SERCOM (UART/SPI/I2C) |
| Touch Sensing (PTC) | Yes, up to 256 channels |
| Cryptographic Engine | AES-128 / AES-256 |
| Functional Safety (FuSa) | Yes |
| Statut RoHS | Compliant |
Configuration des broches de ATSAML21G18B-ANT
| Broche 1 | PA00 — GPIO / SERCOM1[0] / EXTINT[0] |
| Broche 2 | PA01 — GPIO / SERCOM1[1] / EXTINT[1] |
| Broche 3 | PA02 — GPIO / SERCOM0[0] / ADC AIN[0] |
| Broche 4 | PA03 — GPIO / SERCOM0[1] / ADC AIN[1] |
| Broche 5 | VDD — Digital supply voltage |
| Broche 6 | GND — Ground |
| Broche 7 | PA04 — GPIO / SERCOM0[2] / ADC AIN[2] |
| Broche 8 | PA05 — GPIO / SERCOM0[3] / ADC AIN[3] |
| Broche 9 | PA06 — GPIO / SERCOM2[0] / ADC AIN[4] |
| Broche 10 | PA07 — GPIO / SERCOM2[1] / ADC AIN[5] |
| Broche 11 | PA08 — GPIO / SERCOM2[2] / ADC AIN[6] |
| Broche 12 | PA09 — GPIO / SERCOM2[3] / ADC AIN[7] |
| Broche 13 | PA10 — GPIO / SERCOM0[2] alt / ADC AIN[8] |
| Broche 14 | PA11 — GPIO / SERCOM0[3] alt / ADC AIN[9] |
| Broche 15 | PA12 — GPIO / SERCOM4[0] |
| Broche 16 | PA13 — GPIO / SERCOM4[1] |
| Broche 17 | PA14 — GPIO / SERCOM4[2] |
| Broche 18 | PA15 — GPIO / SERCOM4[3] |
| Broche 19 | PA16 — GPIO / SERCOM1[0] alt / I2S SD[0] |
| Broche 20 | PA17 — GPIO / SERCOM1[1] alt / I2S SD[1] |
| Broche 21 | PA18 — GPIO / SERCOM1[2] alt / I2S FS[0] |
| Broche 22 | PA19 — GPIO / SERCOM1[3] alt / I2S CK[0] |
| Broche 23 | PA20 — GPIO / SERCOM5[2] |
| Broche 24 | VDD — Digital supply voltage |
| Broche 25 | GND — Ground |
| Broche 26 | PA21 — GPIO / SERCOM5[3] |
| Broche 27 | PA22 — GPIO / SERCOM3[0] |
| Broche 28 | PA23 — GPIO / SERCOM3[1] |
| Broche 29 | PA24 — GPIO / SERCOM3[2] / USB SOF |
| Broche 30 | PA25 — GPIO / SERCOM3[3] |
| Broche 31 | PA27 — GPIO |
| Broche 32 | USB_DP — USB Full-Speed Data Plus |
| Broche 33 | USB_DM — USB Full-Speed Data Minus |
| Broche 34 | PA28 — GPIO / RESET (alternate) |
| Broche 35 | PA30 — GPIO / SWCLK |
| Broche 36 | PA31 — GPIO / SWDIO |
| Broche 37 | PB02 — GPIO / SERCOM5[0] |
| Broche 38 | VDD — Digital supply voltage |
| Broche 39 | GND — Ground |
| Broche 40 | PB03 — GPIO / SERCOM5[1] |
| Broche 41 | PB04 — GPIO / SERCOM4[0] alt |
| Broche 42 | PB05 — GPIO / SERCOM4[1] alt |
| Broche 43 | PB06 — GPIO / SERCOM4[2] alt |
| Broche 44 | VDD — Digital supply voltage |
| Broche 45 | GND — Ground |
| Broche 46 | PB07 — GPIO / SERCOM4[3] alt |
| Broche 47 | PB08 — GPIO / SERCOM4[0] alt / TC4[0] |
| Broche 48 | PB09 — GPIO / SERCOM4[1] alt / TC4[1] |
Applications typiques
ATSAML21G18B-ANT convient pour 7 applications: Wearable Fitness and Health Monitors, Battery-Powered IoT Sensor Nodes, USB-Connected Data Loggers, Smart Home Touch Interfaces, Industrial Metering and Data Loggers, Human-Machine Interface with Display, Energy-Harvesting Wireless Switches.
Wearable Fitness and Health Monitors
The ATSAML21G18B-ANT's 200 nA Sleep current and 35 uA/MHz active consumption enable multi-month battery life on a single coin cell, while the integrated 12-bit 1 MSPS ADC captures ECG, heart-rate, and SpO2 signals with sufficient resolution. The Cortex-M0+ core runs signal-processing algorithms at 48 MHz, and the AES-128/256 cryptographic engine secures BLE-bound health data. The Peripheral Touch Controller (PTC) replaces mechanical buttons with capacitive touch for waterproof enclosures, eliminating the most common failure mode in wearable electronics.
Recommandé
Battery-Powered IoT Sensor Nodes
For remote LoRaWAN or Sub-GHz wireless sensor nodes, the ATSAML21G18B-ANT serves as the central MCU, spending 99% of its time in Sleep at 200 nA and waking only to read sensors and transmit data. The wide 1.6V to 3.6V supply range supports direct connection to two AA alkaline cells or a LiFePO4 battery without a boost converter. According to the SAM L21 datasheet, the Event System (EVSYS) allows peripherals like the ADC and RTC to trigger each other without CPU wakeup, further reducing average current to under 10 uA in typical duty-cycled operation.
Recommandé
USB-Connected Data Loggers
The integrated Full-Speed USB 2.0 device and embedded host controller on the ATSAML21G18B-ANT enables direct connection to a PC or USB host without an external bridge chip, reducing BOM cost and PCB area. The on-chip USB peripheral can wake the CPU from Sleep on USB resume signaling, supporting USB-C power-delivery detection in low-power peripherals. The 256 KB Flash accommodates weeks of buffered sensor data, and the 32 KB SRAM allows real-time averaging and peak detection on incoming samples.
Recommandé
Smart Home Touch Interfaces
The ATSAML21G18B-ANT's Peripheral Touch Controller (PTC) supports up to 256 capacitive touch channels, enabling slider, wheel, and matrix touch interfaces without any external touch IC. The integrated Crypto engine secures HomeKit or Matter commissioning flows with AES-128 hardware acceleration. Sleep current of 200 nA keeps wall-powered standby consumption below the 0.5 W Energy Star threshold when the device is idle, and the 48 MHz Cortex-M0+ handles LED animation and capacitive scanning in parallel via DMA.
Recommandé
Industrial Metering and Data Loggers
In electricity, water, or gas meters, the ATSAML21G18B-ANT runs the metering algorithm, manages tamper detection, and stores billing data in its 256 KB Flash. The wide 1.6V to 3.6V supply range accommodates battery-backed RTC operation during mains outages, and the 200 nA Sleep current ensures 10+ year battery shelf life. According to the SAM L21 datasheet, the on-chip RTC supports calendar mode with leap-year compensation, replacing an external RTC in many metering designs.
Recommandé
Human-Machine Interface with Display
The ATSAML21G18B-ANT drives small TFT or OLED displays via its SERCOM-configurable SPI/I2C interfaces while simultaneously scanning capacitive touch buttons via the PTC peripheral. The 48 MHz core runs LVGL or emWin graphics stacks, and the integrated USB allows firmware updates and configuration via a USB-C connection. Sleep current of 200 nA keeps battery-powered HMI devices like wireless remote controls and electronic shelf labels operational for years on a coin cell.
Recommandé
Energy-Harvesting Wireless Switches
In battery-less or energy-harvesting designs, the ATSAML21G18B-ANT's 200 nA Sleep current is critical - the average current consumption must remain below the harvested energy budget. The integrated RTC and Event System wake the CPU only on a button press (via PTC) or scheduled interval, performing a brief active burst at 35 uA/MHz to transmit a packet via a companion radio. According to the SAM L21 datasheet, brown-out reset and power-on-reset ensure robust startup from undervoltage conditions typical of harvester sources.
Recommandé
Récapitulatif des produits recommandés
Données de référence d'ingénierie pour ATSAML21G18B-ANT — comparaison, recommandations de conception et informations de conformité.
Guide de sélection
Comparaison avec les alternatives
| Paramètre | Ce produit | ATSAML21G17B-ANT | ATSAML21G16B-ANT | ATSAML21E15B-AUT |
|---|---|---|---|---|
| Package | 48-TQFP (7x7 mm) | 48-TQFP (7x7 mm) - same | 48-TQFP (7x7 mm) - same | 32-TQFP - different |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Core | ARM Cortex-M0+ | ARM Cortex-M0+ - same | ARM Cortex-M0+ - same | ARM Cortex-M0+ - same |
| Flash | 256 KB | 128 KB (-50%) | 64 KB (-75%) | 32 KB (-87.5%) |
| SRAM | 32 KB | 32 KB - same | 8 KB (-75%) | 4 KB (-87.5%) |
| Max Clock Frequency | 48 MHz | 48 MHz - same | 48 MHz - same | 48 MHz - same |
| Sleep Current | 200 nA | 200 nA - same | 200 nA - same | 200 nA - same |
| Supply Voltage | 1.6 V to 3.6 V | 1.6 V to 3.6 V - same | 1.6 V to 3.6 V - same | 1.6 V to 3.6 V - same |
| USB | Full-Speed USB 2.0 | Full-Speed USB 2.0 - same | Full-Speed USB 2.0 - same | Full-Speed USB 2.0 - same |
| Touch (PTC) | Yes, 256 channels | Yes, 256 channels - same | Yes, 256 channels - same | Yes, fewer channels |
Principaux différenciateurs
- Industry-leading 200 nA Sleep current with full SRAM retention (vs ATSAMD21G18A (SAM D21 family))
- Integrated AES-128 / AES-256 hardware cryptographic engine (vs ATSAML21G17B-ANT (same family, lower Flash))
- 48-pin TQFP with Full-Speed USB and maximum peripheral set (vs ATSAML21E18B-ANT (32-pin))
Notes de conception
Place a 100 nF ceramic decoupling capacitor within 2 mm of each VDD pin (5, 24, 38, 44) and a single 4.7 uF bulk capacitor near the device. The SAM L21 datasheet specifies that supply ripple above 50 mVpk can cause brown-out resets, especially at low VDD (1.6 V). Use X7R or X5R ceramic capacitors (not Y5V) to maintain capacitance at 3.3 V bias. For battery-powered designs, add a 10 ohm ferrite bead on VDD to suppress switching noise from external radios or sensors.
Route the 48 MHz crystal traces (XIN, XOUT) as short as possible, symmetrically matched in length, and guarded by a ground plane on both sides. Keep the crystal within 5 mm of the MCU to minimize stray capacitance. According to the SAM L21 family datasheet, the load capacitor values must be calculated based on the crystal's CL specification and the pin capacitance (typically 2-3 pF each side). Add a 1 M ohm parallel resistor across the crystal to bias the oscillator and reduce startup time.
Avoid configuring the SERCOM peripheral on pins that conflict with PTC touch channels or ADC analog inputs - the SAM L21 pin multiplexing is complex and the same physical pin can serve different peripheral functions. When using USB, ensure the VDDUSB pin is powered even if USB is not used (tie to VDD) to prevent unwanted leakage. The NVMCTRL (Flash controller) requires the NVMCTRL_CTRLB register to be configured for write/erase operations; failing to do so is a common source of failed firmware updates.
Informations de conformité
RoHS and REACH compliant per Microchip product page. Lead-free (Pb-free) reflow-compatible. Halogen-free per Microchip green compliance statement. Not AEC-Q100 qualified - this is the industrial / consumer grade variant. For automotive, evaluate the SAM L21 AEC-Q100 versions if available.