ATSAMD20J17A-AU


ARM Cortex-M0+ MCU 48MHz, 128KB Flash, 16KB SRAM, 6xSERCOM (I2C/SPI/UART), 12-bit ADC 20ch, 10-bit DAC, PTC touch, TQFP-64, -40~85C

12000

Effective Inventory
Go to Inquiry

Image for reference only

Manufacturer Part:

ATSAMD20J17A-AU

Package:

TQFP-64 EP (10 x 10 x 1.2 mm, 0.5mm pitch)

Brand:
Other recommendations you may be interested in.
Description

The ATSAMD20J17A-AU from Microchip Technology (formerly Atmel) is an ARM Cortex-M0+ based 32-bit microcontroller featuring 128 KB Flash memory and 16 KB SRAM in a 64-pin TQFP (10 x 10 mm) package with exposed pad. Key specifications: ARM Cortex-M0+ core at up to 48 MHz; single-cycle hardware multiplier; 128 KB in-system self-programmable Flash; 16 KB SRAM; 2.46 CoreMark/MHz; supply voltage 1.62 V to 3.63 V; power-on reset (POR) and brown-out detection (BOD); 48 MHz digital frequency locked loop (DFLL48M) and 48-96 MHz fractional digital phase locked loop (FDPLL96M); internal oscillators: 32 kHz, 32 kHz ULP, 8 MHz; external crystal 32.768 kHz and 0.4-32 MHz; external interrupt controller (EIC) with 16 external interrupts and one NMI; 8-channel event system; six serial communication interfaces (SERCOM) each configurable as USART (full-duplex or single-wire half-duplex), I2C (up to 400 kHz), or SPI; eight 16-bit timer/counters (TC) configurable as five independent 16-bit TC or combined into 32-bit TC; 16 PWM channels; 32-bit real-time counter (RTC) with clock/calendar; watchdog timer (WDT); CRC-32 generator; one 12-bit 350 ksps ADC with 20 channels (differential and single-ended, 1/2x to 16x programmable gain, automatic offset and gain error compensation, oversampling and decimation to 13-16 bit effective resolution); one 10-bit 350 ksps DAC; two analog comparators (AC) with window compare; peripheral touch controller (PTC) with 256-channel capacitive touch and proximity sensing; 52 GPIO pins; SleepWalking peripherals; idle and standby sleep modes; power consumption down to 70 uA/MHz in active mode, 8 uA running touch controller; SWD debug interface; operating temperature -40 to +85 degrees C (A grade) or -40 to +105 degrees C. RoHS3 compliant. Active/In Production status.

The ATSAMD20J17A-AU from Microchip Technology is a member of the SAM D20 family of low-power ARM Cortex-M0+ microcontrollers. It represents the highest pin-count (64-pin J variant) with mid-density memory (128 KB Flash / 16 KB SRAM), providing the maximum peripheral count and I/O availability in the SAM D20 family.

The SAM D20 family was originally developed by Atmel (acquired by Microchip in 2016) and is part of the SAM (Smart ARM-based Microcontroller) product line. The D20 is the base variant in the SAM D2x series, optimized for low power and general-purpose embedded applications. Other variants include the SAM D21 (with USB), SAM D10/D11 (smaller pin-count, lower cost), and SAM DA1 (automotive qualified).

The key differentiator of the SAM D20 family is the SERCOM (Serial Communication Interface) peripheral. Each SERCOM can be independently configured as USART, I2C, or SPI, providing unparalleled flexibility in communication interface allocation. With six SERCOM modules, the ATSAMD20J17A-AU can simultaneously support up to six independent serial channels in any combination (e.g., 3x SPI, 2x I2C, 1x USART). This eliminates the common problem of running out of a specific interface type (e.g., needing 3 SPI ports but the MCU only has 2).

The 8-channel event system is another unique feature that allows peripherals to communicate directly without CPU intervention. For example, an external interrupt can trigger an ADC conversion, which when complete can trigger a DMA transfer, which can trigger a timer start. This event-driven architecture reduces interrupt latency and CPU overhead, and enables SleepWalking where peripherals operate autonomously while the CPU is in sleep mode.

The 12-bit ADC with 20 channels, programmable gain stage (1/2x to 16x), and hardware oversampling (up to 16-bit effective resolution) is significantly more capable than typical M0+ MCU ADCs. The programmable gain stage eliminates the need for external signal conditioning amplifiers in many sensor applications. The differential input capability and automatic offset/gain error compensation improve measurement accuracy. The hardware oversampling and decimation provide 13, 14, 15, or 16-bit effective resolution without CPU computation.

The 10-bit 350 ksps DAC is relatively uncommon in M0+ microcontrollers and enables analog output generation (waveforms, control voltages, audio) without external DAC components. Combined with the DMA controller and timer-triggered conversion, the DAC can generate complex waveforms autonomously.

The Peripheral Touch Controller (PTC) with 256-channel capacitive touch support is inherited from Microchip’s mTouch technology and provides hardware-accelerated capacitive sensing for buttons, sliders, wheels, and proximity detection. The PTC can operate at only 8 uA in standby mode, continuously scanning touch sensors and waking the CPU only when a touch is detected. This ultra-low-power touch scanning is a key advantage for battery-powered consumer products.

The 52 GPIO pins provide extensive I/O capability for the 64-pin package. All GPIO pins are individually configurable with peripheral multiplexing (up to 8 alternate functions per pin via the PORT MUX), interrupt capability (16 external interrupts through the EIC), and configurable pull-up/pull-down resistors.

The ATSAMD20J17A-AU uses the A temperature grade (-40 to 85 degrees C). The same device is also available in the automotive-qualified and extended temperature variants. The AU suffix indicates the TQFP-64 package with tray packaging (the AUT suffix is tape and reel).

Development is supported by Microchip’s MPLAB X IDE, MPLAB Harmony v3 framework, and Atmel Studio (legacy). The SAM D20 is also well-supported by Arduino (the Arduino Zero/M0 uses the SAM D21, which shares the same architecture and peripherals), Zephyr RTOS, and ARM mbed OS (legacy).

The ATSAMD20J17A-AU operates as a complete 32-bit embedded microcontroller system on a single chip, integrating the ARM Cortex-M0+ processor core with Flash memory, SRAM, and a comprehensive set of flexible peripherals.

ARM Cortex-M0+ Core: The Cortex-M0+ is a 32-bit RISC processor implementing the ARMv6-M architecture with the Thumb instruction set. It features a 2-stage pipeline (fewer stages than the Cortex-M0 3-stage pipeline) for improved power efficiency. The M0+ includes a single-cycle hardware multiplier (32×32 to 32-bit result), a nested vectored interrupt controller (NVIC) with configurable priority levels, and a Micro Trace Buffer (MTB) for instruction trace. The core achieves 2.46 CoreMark/MHz, providing approximately 118 CoreMark at 48 MHz.

Memory System: The 128 KB Flash stores program code and constant data, organized as 512-byte pages for erase operations. The Flash supports in-system programming (ISP) via SWD and in-application programming (IAP) for firmware updates. The Flash wait states are automatically managed by the NVMCTRL based on the CPU frequency. The 16 KB SRAM is organized as a single bank with single-cycle access at 48 MHz. The SRAM is organized as two sections: the first 8 KB is bit-bandable and can be retained in standby mode, while the remaining 8 KB is not retained.

Clock System: The clock system is highly flexible with multiple sources. The internal 8 MHz RC oscillator (OSC8M) provides a default clock at startup. The DFLL48M (Digital Frequency Locked Loop) can multiply the 32 kHz reference to 48 MHz with high accuracy. The FDPLL96M (Fractional Digital Phase Locked Loop) can generate frequencies from 48 MHz to 96 MHz from various reference sources. External crystal oscillators (XOSC32K for 32.768 kHz RTC crystal, XOSC for 0.4-32 MHz main crystal) provide precise timing. The clock system supports dynamic clock switching and glitch-free frequency transitions.

SERCOM Modules: Each of the six SERCOM modules is a universal serial communication peripheral that can be configured as USART, I2C, or SPI. The configuration is set through registers and can be changed at runtime (with proper de-initialization). Each SERCOM has its own interrupt, DMA trigger, and clock domain. The I2C mode supports Standard (100 kHz), Fast (400 kHz), and High-Speed modes. The SPI mode supports master and slave operation with configurable clock polarity and phase. The USART mode supports full-duplex, half-duplex, and LIN protocol with fractional baud rate generation.

Event System: The 8-channel event system connects event generators (timers, ADC, EIC, etc.) to event users (ADC triggers, DMA requests, timer actions, etc.) without CPU intervention. Events are transmitted in 1-2 clock cycles, much faster than interrupt-driven handling. The event system operates even in standby sleep mode, enabling SleepWalking peripherals. For example, the RTC can generate a periodic event that triggers the ADC to sample a sensor, and if the ADC result exceeds a threshold (via the analog comparator window function), the CPU is woken from standby.

ADC Operation: The 12-bit ADC supports single-ended and differential input modes. In differential mode, the positive and negative inputs can be any of the 20 ADC channels, providing maximum flexibility. The programmable gain stage (1/2x to 16x) amplifies small signals before conversion, improving the effective resolution for low-amplitude sensors. The hardware oversampling accumulates 2^N samples and divides by 2^N to achieve N/2 bits of additional resolution (e.g., 4x oversampling gives 13-bit effective resolution). The offset and gain error compensation automatically corrects systematic ADC errors using factory-calibrated or user-programmed correction values.

Power Management: The SAM D20 supports multiple sleep modes. Idle mode stops the CPU but keeps peripherals running; any interrupt wakes the CPU. Standby mode stops the CPU, most clocks, and Flash; only the RTC, EIC, and event system remain active; SRAM can be retained (first 8 KB); wakeup sources include external interrupts, RTC alarm, and touch detection; current consumption is approximately 3 uA in standby with RTC running. SleepWalking allows peripherals like the ADC and SERCOM to operate briefly in standby mode, triggered by events, without waking the CPU.

Debug Interface: The 2-pin SWD interface (SWDIO, SWCLK) provides debug access and Flash programming. The Micro Trace Buffer (MTB) records the last 256-4096 executed instructions in a circular buffer in SRAM, providing basic instruction trace capability without requiring an external trace port.

Pin Group Name Type Description
Power VDD, VDDIO, VDDANA, GND Power VDD: digital core supply 1.62-3.63 V; VDDIO: I/O supply (same as VDD in this package, bonded internally); VDDANA: analog supply for ADC/DAC/AC (must be connected to VDD through a filtered path); GND: ground (multiple pins); VDDIO pins supply the GPIO banks; decouple each VDD/VDDIO/VDDANA pin with 100 nF ceramic capacitor plus a 4.7 uF bulk capacitor
Clock XIN32, XOUT32, XIN, XOUT Analog I/O XIN32/XOUT32: 32.768 kHz crystal for RTC; XIN/XOUT: 0.4-32 MHz main crystal; can be left unconnected if using internal oscillators only; connect crystal with load capacitors (6-12 pF typical for 32 kHz, per crystal datasheet for main crystal)
Reset RESET Input Active-low system reset with internal pull-up; asserting LOW for at least 100 ns generates a system reset; open-drain output during reset; connect 100 nF capacitor to GND for ESD filtering; also serves as SWDIO during debug (dual-function pin, selected by hardware condition at reset)
SWD Debug SWDIO, SWCLK Digital I/O Serial wire debug interface; SWDIO is shared with RESET pin; SWCLK is a dedicated pin; provides access to the Cortex-M0+ debug resources (breakpoints, watchpoints, MTB trace) and Flash programming via the NVMCTRL; connect to debug probe (Atmel ICE, J-Link, EDBG)
GPIO Ports PA[00-31], PB[00-31] I/O 52 general-purpose I/O pins organized as Port A (32 pins) and Port B (20 pins); each pin has configurable pull-up/pull-down, input enable, output enable, and peripheral MUX (up to 8 alternate functions); 16 pins can be mapped to external interrupts via the EIC; all pins are 3.63 V tolerant (not 5 V tolerant); pin MUX connects each GPIO to the selected peripheral function (SERCOM, TC, ADC, DAC, etc.)
Analog AIN[0-19], VREF, DAC Analog I/O 20 ADC input channels (single-ended) or 10 differential pairs; AIN0-19 shared with GPIO pins; VREF: external ADC reference input (optional, can use internal reference); DAC: 10-bit DAC output (shared with AIN0 or dedicated pin depending on configuration); AC0/AC1: analog comparator inputs
Touch PTC X/Y lines Analog Peripheral Touch Controller lines; shared with GPIO/AIN pins via specific MUX configuration; up to 256 mutual capacitance channels or self-capacitance channels; PTC scanning runs autonomously with 8 uA typical current in standby mode; requires specific pin assignments per the PTC pin table in the datasheet
USB (not available) The SAM D20 does not include USB; use SAM D21 for USB 2.0 Full-Speed device support; otherwise pin-compatible and code-compatible
Thermal Pad EP Thermal Exposed thermal pad on bottom of TQFP-64 package; connect to PCB ground plane with multiple thermal vias; improves thermal dissipation and electrical ground connection
Application Description
Capacitive Touch User Interface Leverage the 256-channel PTC for touch buttons, sliders, wheels, and proximity sensors; 8 uA standby touch scanning enables always-on touch in battery-powered devices; event system can wake CPU from standby on touch detection; 6 SERCOM provide SPI/I2C for display and communication; DAC can drive audio feedback; ideal for home appliances, consumer electronics, and industrial HMIs
Multi-Sensor Data Acquisition Use the 20-channel ADC with programmable gain (1/2x to 16x) to interface directly with multiple sensors (thermistors, pressure sensors, strain gauges) without external amplifiers; differential mode rejects common-mode noise; oversampling provides up to 16-bit effective resolution; 6 SERCOM connect to I2C/SPI digital sensors; event system triggers ADC conversions from timer or external interrupt
Industrial Control with Event System Use the event system to create autonomous control loops without CPU intervention; e.g., external interrupt triggers ADC, ADC result compared by AC window comparator, comparator event triggers DAC output change; all in standby mode at 3 uA; wake CPU only on alarm condition; timer events generate PWM outputs for motor control; 52 GPIO pins handle extensive I/O requirements
Portable Medical Device Low-power ARM Cortex-M0+ with 70 uA/MHz active power and 3 uA standby; 12-bit ADC with gain stage for biosensor signals; DAC for stimulus generation; touch interface for user input; RTC for time-stamping; SERCOM for BLE module communication; operates from a single Li-ion cell (1.62-3.63 V); BOD protects against battery depletion
Smart Metering / IoT Sensor Node Collect data from multiple sensors via ADC and SERCOM; process with 48 MHz Cortex-M0+; transmit via SPI-connected RF module (LoRa, Sub-GHz); RTC provides time-stamping and periodic wakeup; standby at 3 uA extends battery life to years; CRC-32 ensures data integrity; event system enables autonomous data collection while CPU sleeps
Model Manufacturer Compatibility Key Difference
ATSAMD21J17A-AU Microchip Pin-Compatible, Adds USB Same SAM D20 architecture with USB 2.0 Full-Speed device support; same TQFP-64 pinout; same peripherals; adds USB SERCOM and USB DM/DP pins; slightly higher cost; use when USB connectivity is required; code-compatible with SAM D20
ATSAMD20J18A-AU Microchip Same Package, More Memory 256 KB Flash (2x) and 32 KB SRAM (2x) version; same TQFP-64 pinout and peripherals; pin-compatible upgrade; use when 128 KB Flash is insufficient; same power consumption and peripheral features
STM32F072CBT6 STMicroelectronics Competitive M0 Cortex-M0 at 48 MHz; 128 KB Flash, 16 KB SRAM; LQFP-48 (fewer pins); USB 2.0 FS; fewer SERCOM (1x I2C, 2x SPI, 2x USART); no event system; no PTC; no DAC; more standard peripheral set; not pin-compatible; use when USB is needed and event system/PTC are not required
LPC1549JBD48 NXP Competitive M0 Cortex-M0 at 72 MHz (faster); 256 KB Flash, 36 KB SRAM; LQFP-48; more timers; no event system; no PTC; not pin-compatible; use when higher CPU performance and more memory are needed without the SAM D20 event/touch features
PIC32MX270F256D Microchip Microchip 32-bit Alternative MIPS M4K at 50 MHz; 256 KB Flash, 64 KB SRAM; TQFP-64; different architecture (MIPS vs ARM); more RAM; USB; no event system; no PTC; use for Microchip-ecosystem customers who prefer MIPS over ARM; not code-compatible
Recommend Parts
8-bit AVR MCU, 20MHz, 32KB Flash, 2KB SRAM, TQFP-32, NRND

Brand:

Package:

TQFP-32 (7×7×1.05 mm)
In stock:
13010pcs

Cargo cycle: 3~7 Days
The minimum order is 1

Go to Inquiry
E1/T1 Line Interface Unit, 8.192Mbps, short/long haul, integrated CDR, 80-MQFP, 3.3V

Brand:

Package:

80-MQFP (14x14mm)
In stock:
14099pcs

Cargo cycle: 3~7 Days
The minimum order is 1

Go to Inquiry
ARM7TDMI MCU, 55MHz, 256KB Flash, 64KB SRAM, Ethernet MAC, USB, CAN, LQFP-100

Brand:

Package:

LQFP-100
In stock:
3752pcs

Cargo cycle: 3~7 Days
The minimum order is 1

Go to Inquiry
3A adjustable LDO, 1.24-15V output, 450mV dropout, TO-263-5, fast transient response

Brand:

Package:

TO-263-5 (10.67 x 9.17 x 4.6 mm)
In stock:
7577pcs

Cargo cycle: 3~7 Days
The minimum order is 1

Go to Inquiry
12-bit single-channel voltage DAC, SPI, rail-to-rail output, 2.7-5.5V, SOIC-8, AEC-Q100

Brand:

Package:

SOIC-8 (4.9 x 3.9 mm)
In stock:
2849pcs

Cargo cycle: 3~7 Days
The minimum order is 1

Go to Inquiry
8-bit AVR MCU, 32KB Flash, 2KB SRAM, 23 I/O, 8ch 10-bit ADC, TQFP-32, T&R

Brand:

Package:

TQFP-32 (7.0 x 7.0 x 1.05mm)
In stock:
6946pcs

Cargo cycle: 3~7 Days
The minimum order is 1

Go to Inquiry
Quality Assurance

All electronic components we source from our partnered supply chains go through strict incoming inspections.Through careful testing, we ensure everything delivered to customers is genuine original parts and meets quality requirements.In addition, we keep complete inspection records to make the entire supply chain process clear and traceable.

Certification
We have obtained a number of professional certifications and built our own professional testing laboratory.This ensures that every product we deliver to our customers meets the highest quality requirements.We conduct tests in strict accordance with procedures to ensure stable product quality and accurate parameters.To guarantee genuine original parts, we also cooperate with reliable third-party testing institutions for strict quality inspection.We always attach great importance to quality and fully comply with industry standards, relevant regulations, and ISO 9001:2015 requirements.

Shipping & Payment

All electronic components we source from our partnered supply chains go through strict incoming inspections.Through careful testing, we ensure everything delivered to customers is genuine original parts and meets quality requirements.In addition, we keep complete inspection records to make the entire supply chain process clear and traceable.

Certification
We have obtained a number of professional certifications and built our own professional testing laboratory.This ensures that every product we deliver to our customers meets the highest quality requirements.We conduct tests in strict accordance with procedures to ensure stable product quality and accurate parameters.To guarantee genuine original parts, we also cooperate with reliable third-party testing institutions for strict quality inspection.We always attach great importance to quality and fully comply with industry standards, relevant regulations, and ISO 9001:2015 requirements.

Service & Packaging

All electronic components we source from our partnered supply chains go through strict incoming inspections.Through careful testing, we ensure everything delivered to customers is genuine original parts and meets quality requirements.In addition, we keep complete inspection records to make the entire supply chain process clear and traceable.

Certification
We have obtained a number of professional certifications and built our own professional testing laboratory.This ensures that every product we deliver to our customers meets the highest quality requirements.We conduct tests in strict accordance with procedures to ensure stable product quality and accurate parameters.To guarantee genuine original parts, we also cooperate with reliable third-party testing institutions for strict quality inspection.We always attach great importance to quality and fully comply with industry standards, relevant regulations, and ISO 9001:2015 requirements.