• Home
  • Parts Library
  • ATSAMD21G18A-AU Microcontroller

    PIN and Block DIAGRAM

    What is ATSAMD21G18A-AU?

    ATSAMD21G18A-AU is a low power microcontroller with 32-bit ARM Cortex –M0+ processor to provide high performance and functions for a wide range of applications. It consists of 256KB flash program memory size, 32KB SRAM, 38 general-purpose I/O pins, 12-bit ADC resolution and comes with TQFP Tray package. These are manufactured for simple and instinctive migration with similar peripheral modules, similar linear address map, hex compatible code pins and pin suitable migration paths in all chips of ATSAMD21 series.

    It has precise and accurate lower power internal and external oscillators that can be used for the source of the system clock. Two idle and stand-by sleep modes can be selected by software and also supports SleepWalking.

    ATSAMD21G18A-AU contains additional intelligent, flexible and effective peripheral, compatible for capacitive touch screen, wheel user interface, slider and event system for inter peripheral signalling. It is supported with a full suite of program and system development tools including in-circuit emulators, C compilers, evaluation kits, macro assemblers,  and program debugger/simulators.


    • ARM Cortex -M0+ CPU operates at up to 48 MHz
    • Micro Trace Buffer (MTB)
    • Single-cycle hardware multiplier
    • System
    • Internal and external clock options with 48 MHz Digital Frequency-Locked Loop (DFLL48M) and 48 MHz to 96 MHz Fractional Digital Phase-Locked Loop (FDPLL96M)
    • 16 external interrupts
    • Two-pin Serial Wire Debug (SWD) programming, test and debugging interface
    • Power-on Reset (POR) and Brown-out Detection (BOD)
    • External Interrupt Controller (EIC)
    • One Non-maskable Interrupt (NMI)
    • Memory
    • 256KB Flash in-system self-programmable
    • 32KB SRAM Memory
    • Low Power
    • Two modes: idle and stand-by sleep
    • SleepWalking Peripherals
    • 38 I/O pins
    • AEC-Q100 Grade 1 (-40°C to 125°C)
    • 62V – 3.63V operating voltages
    • Peripherals
    • 12-channel Direct Memory Access Controller (DMAC)
    • 12-channel Event System
    • 12-channel Direct Memory Access Controller (DMAC) – 12-channel Event System
    • Up to four compare channels with optional complementary output
    • Generation of synchronized pulse width modulation (PWM) pattern across port pins
    • Deterministic fault protection, fast decay and configurable dead-time between complementary output
    • Dithering that increase resolution with up to 5 bit and reduce quantization error
    • 32-bit Real Time Counter (RTC) with clock/calendar function
    • Watchdog Timer (WDT)
    • CRC-32 generator
    • One full-speed (12 Mbps) Universal Serial Bus (USB) 2.0 interface
    • Embedded host and device function
    • Eight endpoints
    • Up to six Serial Communication Interfaces (SERCOM), each configurable to operate as either:
    • USART with full-duplex and single-wire half-duplex configuration
    • I2C up to 3.4 MHz
    • SPI
    • LIN slave
    • One two-channel Inter-IC Sound (I2S) interface
    • One 12-bit, 350ksps Analog-to-Digital Converter (ADC) with up to 20 channels
    • Differential and single-ended input
    • 1/2x to 16x programmable gain stage
    • Automatic offset and gain error compensation
    • Oversampling and decimation in hardware to support 13-, 14-, 15- or 16-bit resolution
    • 10-bit, 350 tips Digital-to-Analog Converter (DAC)
    • Up to four Analog Comparators (AC) with Window Compare function
    • Peripheral Touch Controller (PTC)
    • 256-Channel capacitive touch and proximity sensing




    There are many applications of ATSAMD21G18A-AU in automation, consumer, metering and industrial applications such as

    • Home automation
    • Consumer electronics
    • Senors and instrumentation
    • Appliances
    • Monitoring medical equipment
    • Circuitry to control processes.
    • Lighting and Motor control
    • Rectification
    • Power regulation
    • DAC applications
    • Memory testing

    It is very useful for applications that only want the processor to work when an interrupt takes place and the applications that require deterministic execution timings. In order to support applications with different types of motor control, ballast, LED, H-bridge, power converter, and other types of power switching applications, the following independent units are implemented in some of the TCC instances as optional and successive units:

    • Recoverable faults and non-recoverable faults
    • Output matrix
    • Dead-time insertion
    • Swap
    • Pattern generation


    ATSAMD21G18A-AU Related Products Prices

    PartsMfr.DescriptionStockPricesBuy Now


    AtmelMCU 32-bit ARM Cortex1000$3.027 Lowest
    ATSAMD21J18A-AUAtmel300$2.570 Lowest
    ATSAMD21G18A-AUAtmelMCU 32-bit ARM Cortex1000$3.027 Lowest
    ATMEGA32U4-MUfAtmel2296$3.832 Lowest


    DISQUS: 0