ATSAMD21G15B-AU
ATSAMD21G15B-AU - 48MHz Cortex-M0+ MCU, 32KB Flash | Microchip
The Microchip Technology ATSAMD21G15B-AU is a 32-bit ARM Cortex-M0+ microcontroller from the SAM D21 family operating at up to 48 MHz with 32 KB of Flash and 4 KB of SRAM, housed in a 48-pin TQFP (7x7 mm) package rated for -40C to +85C industrial temperature operation. According to Microchip product page, it integrates 6 SERCOM interfaces, a 12-channel DMA, a 12-channel Event System, a 16-bit and 8-bit Timer/Counter, full-speed USB 2.0 device, and a 2-channel 12-bit 350 ksps ADC in a single low-power SoC.
A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program and data memory, peripherals, and I/O on one silicon die. The ARM Cortex-M0+ is the smallest and most energy-efficient member of the Cortex-M family, designed for low-power embedded applications such as IoT endpoints, sensor hubs, and battery-powered consumer products. The ATSAMD21G15B-AU extends the Cortex-M0+ instruction set with Thumb-2, hardware multiply, and the optional Microchip SleepWalking peripheral gating scheme, positioning it above 8-bit MCUs in code density while keeping active current in the tens of microamperes per MHz.
Key features include 32 KB Flash plus 4 KB SRAM, six SERCOM channels each reconfigurable as UART, SPI, I2C, or I2S, a built-in full-speed USB 2.0 device transceiver requiring only external pull-up and decoupling, six 16-bit Timer/Counters, and a 12-bit 350 ksps successive-approximation ADC with up to 14 analog channels. Additional features include a 10-bit 350 ksps DAC, two analog comparators, a Real-Time Clock, a 32 kHz low-power oscillator, and an Event System that lets peripherals signal each other without CPU wake-up. The 48-pin TQFP (7x7) package exposes up to 38 GPIO, all 5 V tolerant in input mode, simplifying interfacing to legacy 5 V logic.
At the architecture level, the device pairs the Cortex-M0+ core with a single-cycle hardware multiplier and a Nested Vectored Interrupt Controller (NVIC) supporting 32 IRQ lines. The 48 MHz main clock is sourced from an internal 8 MHz oscillator multiplied by a 48 MHz Digital Frequency-Locked Loop (DFLL48M) with optional 48 MHz to 96 MHz Fractional Digital Phase-Locked Loop (FDPLL96M) for USB jitter compliance. Brown-Out Detection, Power-On Reset, and a Watchdog Timer with independent window safeguard firmware execution, while a separate 32 kHz domain powers SleepWalking and RTC functions without waking the CPU.
Typical applications include consumer wearables, USB HID peripherals, IoT sensor nodes, low-cost home automation, motor-control signal conditioning, and industrial Human-Machine Interface (HMI) panels. Designers choose this part when they need the code density of Cortex-M0+ plus full-speed USB and touch-capable I/O at the smallest flash count of the SAM D21 lineup, accepting that larger firmware requires migration to the G16B or G17L pin-compatible family members.
A practical design consideration: this part is pin-compatible with the rest of the SAM D20/D21 G-series, so PCB footprints, decoupling networks, and SWD headers designed for a 48-pin TQFP can be reused across the family. When evaluating 32 KB against 64 KB flash variants, plan a firmware growth margin up front to avoid last-cycle respins.
This page synthesizes distributor pricing, same-brand drop-in alternatives, and practical design notes not found in the manufacturer datasheet, giving engineers a one-stop view for sourcing, comparison, and PCB migration decisions.
Cotización
Contacto