Skip to the content

ATSAMD21G18A-AU

Microchip TechnologyExtended

-40℃~+85℃ 1.62V~3.6V 10bit 12bit 256KB 32 Bit 32KB 38 48MHz ARM Cortex-M0+ Built-in FLASH 上电复位(POR)、欠压检测(BOR/LVD/LVR/LVI)、看门狗复位、内置通用定时器、硬件CRC、日历功能、触控功能 TQFP-48(7x7) Microcontrollers (MCU/MPU/SOC) ROHS

Part id
microchip/ATSAMD21G18A-AU
Category
Microcontrollers (MCU, MPU, SOC)
Package
TQFP-48
Pins
48
In stock
4,184 at JLCPCB (C78624)
Used on
70 open-source boards

Overview

The ATSAMD21G18A-AU is a microcontroller made by Microchip Technology in a TQFP-48 package with 48 pins. -40℃~+85℃ 1.62V~3.6V 10bit 12bit 256KB 32 Bit 32KB 38 48MHz ARM Cortex-M0+ Built-in FLASH 上电复位(POR)、欠压检测(BOR/LVD/LVR/LVI)、看门狗复位、内置通用定时器、硬件CRC、日历功能、触控功能 TQFP-48(7x7) Microcontrollers (MCU/MPU/SOC) ROHS.

PCBKit's library has its KiCad symbol (MCU_Microchip_SAMD:ATSAMD21G18A-A, from KiCad's library) and its footprint (Package_QFP:TQFP-48_7x7mm_P0.5mm, from KiCad's library), ready for a KiCad board. 4,184 are in stock at JLCPCB (part C78624). 70 open-source boards in 58 repositories on GitHub use it.

Symbol

1PA002PA013PA024PA035GNDANA6VDDANA7PB088PB099PA0410PA0511PA0612PA0713PA0814PA0915PA1016PA1117VDDIO18GND19PB1020PB1121PA1222PA1323PA1424PA1525PA1626PA1727PA1828PA1929PA2030PA2131PA2232PA2333PA2434PA2536VDDIO37PB2238PB2339PA2740RESET41PA2843VDDCORE44VDDIN45PA3046PA3147PB0248PB03
MCU_Microchip_SAMD:ATSAMD21G18A-AFrom KiCad's library

Footprint

Package_QFP:TQFP-48_7x7mm_P0.5mmFrom KiCad's library

From the datasheet

11
Supply, least
1.62 V · VDD, recommended operating min, BOD33 disabled · p. 864
Supply, most
3.63 V · VDD, recommended operating max · p. 864
Supply, absolute maximum
3.8 V · VDD, absolute max · p. 864
Works from
-40 °C · TA, operating ambient min · p. 864
Works up to
85 °C · TA, operating ambient max · p. 864
Junction, hottest
100 °C · TJ, operating junction max · p. 864
Takes working
6.32 mA · VDDIN, typical ACTIVE CoreMark, 48 MHz, 3.3 V, 25°C · p. 868
Takes at most
7 mA · VDDIN, max ACTIVE CoreMark, 48 MHz, 3.3 V, 85°C · p. 868
A pin gives at most
10 mA · IOL, max sink, VDD=3V-3.63V, DRVSTR=1 · p. 875
Junction to air (48-pin TQFP)
63.6 K/W · junction-to-ambient · p. 863
Junction to case (48-pin TQFP)
12.2 K/W · junction-to-case · p. 863

What it is and has

22
Processor
Arm Cortex-M0+ CPU, up to 48 MHz · p. 1
Hardware multiplier
Single-cycle · p. 1
Trace
Micro Trace Buffer (MTB) · p. 1
Reset protection
Power-on Reset (POR) and Brown-out Detection (BOD) · p. 1
External interrupts
16 · p. 1
Non-maskable interrupt
1 · p. 1
Debug interface
Two-pin SWD programming, test and debugging · p. 1
Sleep modes
Idle and Standby · p. 1
SleepWalking
Peripheral support · p. 1
DMA
12 channels · p. 1
Event System
12 channels · p. 1
RTC
32-bit with clock/calendar · p. 1
Watchdog
Watchdog Timer (WDT) · p. 1
CRC
CRC-32 generator · p. 1
Processor
Arm Cortex-M0+, up to 48 MHz · p. 1
Reset and brown-out detection
Power-on Reset (POR), Brown-out Detection (BOD) · p. 1
Debug interface
Two-pin Serial Wire Debug (SWD) · p. 1
SleepWalking
SleepWalking peripherals · p. 1
DMA
12-channel Direct Memory Access Controller · p. 1
CPU
Arm Cortex-M0+, up to 48 MHz · p. 1
Low-power peripherals
SleepWalking · p. 1
Event System
12-channel · p. 1

Around it

3
cap 10 µF
between VDDIN and GND; Ceramic X7R with low series resistance. · p. 877
cap 100 nF
between VDDIN and GND; Input regulator decoupling; ceramic X7R with low series resistance. · p. 877
cap 1 µF
between VDDCORE and GND; Minimum 0.8 uF; ceramic or solid tantalum recommended; ESR <= 1 ohms. · p. 877

Specifications

232
ParameterConditionsAs printedPage
Junction-to-ambient thermal resistance θJA48-pin TQFPtyp 63.6 °C/W863
Junction-to-case thermal resistance θJC48-pin TQFPtyp 12.2 °C/W863
Power supply voltage VDDmin 0 · max 3.8 V864
Current into a VDD pin IVDDMaximum source current is 46mA per clustermax 92 mA864
Current out of a GND pin IGNDMaximum sink current is 65mA per clustermax 130 mA864
Storage temperature Tstoragemin -60 · max 150 °C864
Power supply voltage VDDWith BOD33 disabledmin 1.62 · typ 3.3 · max 3.63 V864
Analog supply voltage VDDANAWith BOD33 disabledmin 1.62 · typ 3.3 · max 3.63 V864
Temperature range TAmin -40 · typ 25 · max 85 °C864
Junction temperature TJmax 100 °C864
Full Voltage Range VDDIO, VDDIN, VDDANATA = -40°C to 85°C; TJ up to 100°Cmin 1.62 · max 3.63 V865
DC supply peripheral I/Os, internal regulator and analog supply voltage VDDIO, VDDIN, VDDANAmax 0.1 V/us865
GCLK Generator Output Frequency fGCLKGEN0 / fGCLK_MAIN, fGCLKGEN1, fGCLKGEN2, fGCLKGEN3, fGCLKGEN4, fGCLKGEN5, fGCLKGEN6, fGCLKGEN7, fGCLKGEN8Undividedmax 96 MHz865
GCLK Generator Output Frequency fGCLKGEN0 / fGCLK_MAIN, fGCLKGEN1, fGCLKGEN2, fGCLKGEN3, fGCLKGEN4, fGCLKGEN5, fGCLKGEN6, fGCLKGEN7, fGCLKGEN8Dividedmax 48 MHz865
CPU clock frequency fCPUmax 48 MHz865
AHB clock frequency fAHBmax 48 MHz865
APBA clock frequency fAPBAmax 48 MHz865
APBB clock frequency fAPBBmax 48 MHz865
AC1 analog input clock frequency fGCLK_AC1_ANAmax 64 KHz867
DAC input clock frequency fGCLK_DACmax 48 MHz867
PTC input clock frequency fGCLK_PTCmax 48 MHz867
I2S serializer 0 input clock frequency fGCLK_I2S_0max 13 MHz867
I2S serializer 1 input clock frequency fGCLK_I2S_1max 13 MHz867
ACTIVECPU running a While(1) algorithm; 25°C; default operating conditionsmin 3.11 · typ 3.37 · max 3.64 mA868
ACTIVECPU running a While(1) algorithm; 85°C; default operating conditionsmin 3.24 · typ 3.48 · max 3.76 mA868
ACTIVECPU running a While(1) algorithm; VDDIN=1.8V; Flash with 3 wait states; 25°Cmin 3.1 · typ 3.36 · max 3.64 mA868
ACTIVECPU running a While(1) algorithm; VDDIN=1.8V; Flash with 3 wait states; 85°Cmin 3.24 · typ 3.48 · max 3.75 mA868
ACTIVECPU running a Fibonacci algorithm; 25°C; default operating conditionsmin 4.12 · typ 4.53 · max 4.92 mA868
ACTIVECPU running a Fibonacci algorithm; 85°C; default operating conditionsmin 4.27 · typ 4.63 · max 4.98 mA868
ACTIVECPU running a Fibonacci algorithm; VDDIN=1.8V; Flash with 3 wait states; 25°Cmin 4.12 · typ 4.53 · max 4.92 mA868
ACTIVECPU running a Fibonacci algorithm; VDDIN=1.8V; Flash with 3 wait states; 85°Cmin 4.27 · typ 4.63 · max 4.98 mA868
ACTIVECPU running a CoreMark algorithm; 25°C; default operating conditionsmin 5.78 · typ 6.32 · max 6.8 mA868
ACTIVECPU running a CoreMark algorithm; 85°C; default operating conditionsmin 5.93 · typ 6.47 · max 7 mA868
ACTIVECPU running a CoreMark algorithm; VDDIN=1.8V; Flash with 3 wait states; 25°Cmin 5.17 · typ 5.6 · max 5.96 mA868
ACTIVECPU running a CoreMark algorithm; VDDIN=1.8V; Flash with 3 wait states; 85°Cmin 5.35 · typ 5.73 · max 6.1 mA868
IDLE0Default operating conditions; 25°Cmin 1.89 · typ 2.04 · max 2.2 mA868
IDLE0Default operating conditions; 85°Cmin 1.98 · typ 2.14 · max 2.33 mA868
IDLE1Default operating conditions; 25°Cmin 1.34 · typ 1.46 · max 1.58 mA868
IDLE1Default operating conditions; 85°Cmin 1.41 · typ 1.55 · max 1.71 mA868
IDLE2Default operating conditions; 25°Cmin 1.07 · typ 1.17 · max 1.28 mA868
IDLE2Default operating conditions; 85°Cmin 1.13 · typ 1.27 · max 1.4 mA868
Wait connectionGCLK_USB is off, using USB wakeup asynchronous interrupt. USB bus not connected.typ 0.1 uA874
Wait connectionGCLK_USB is on. USB bus not connected.typ 0.19 mA874
SuspendGCLK_USB is off, using USB wakeup asynchronous interrupt. USB bus in suspend mode.typ 201 uA874
SuspendGCLK_USB is on. USB bus in suspend mode.typ 0.83 mA874
IDLEStart Of Frame is running. No packet transferred.typ 1.17 mA874
Active OUTStart Of Frame is running. Bulk OUT on 100% bandwidth.typ 2.17 mA874
Active INStart Of Frame is running. Bulk IN on 100% bandwidth.typ 10.3 mA874
Pull-up - Pull-down resistance RPULLAll pins except for PA24 and PA25min 20 · typ 40 · max 60 kΩ874
Output low-level current IOLVDD=1.62V-3V, PORT.PINCFG.DRVSTR=0max 1 mA875
Output low-level current IOLVDD=3V-3.63V, PORT.PINCFG.DRVSTR=0max 2.5 mA875
Output low-level current IOLVDD=1.62V-3V, PORT.PINCFG.DRVSTR=1max 3 mA875
Output low-level current IOLVDD=3V-3.63V, PORT.PINCFG.DRVSTR=1max 10 mA875
Output high-level current IOHVDD=1.62V-3V, PORT.PINCFG.DRVSTR=0max 0.7 mA875
Output high-level current IOHVDD=3V-3.63V, PORT.PINCFG.DRVSTR=0max 2 mA875
Output high-level current IOHVDD=1.62V-3V, PORT.PINCFG.DRVSTR=1max 2 mA875
Output high-level current IOHVDD=3V-3.63V, PORT.PINCFG.DRVSTR=1max 7 mA875
Rise time(1) tRISEPORT.PINCFG.DRVSTR=0; load = 5pF; VDD = 3.3V; based on simulationmax 15 ns875
Rise time(1) tRISEPORT.PINCFG.DRVSTR=1; load = 20pF; VDD = 3.3V; based on simulationmax 15 ns875
Fall time(1) tFALLPORT.PINCFG.DRVSTR=0; load = 5pF; VDD = 3.3V; based on simulationmax 15 ns875
Fall time(1) tFALLPORT.PINCFG.DRVSTR=1; load = 20pF; VDD = 3.3V; based on simulationmax 15 ns875
Input leakage current ILEAKPull-up resistors disabledmin -1 · max 1 uA875
Output low-level voltage VOLVDD> 2.0V, IOL=3mAmax 0.4 V875
Output low-level current IOLVOL =0.4V; Standard, Fast and HS Modesmin 3 mA876
Output low-level current IOLVOL =0.4V; Fast Mode +min 20 mA876
Output low-level current IOLVOL =0.6Vmin 6 mA876
SCL clock frequency fSCLmax 3.4 MHz876
IO pin injection current Iinj1Vpin < GND-0.6V or 3.6V<Vpin≤4.2V; 3V<VDD≤3.6Vmin -1 · max 1 mA876
IO pin injection current Iinj2Vpin < GND-0.6V or Vpin≤3.6V; VDD≤3Vmin -15 · max 15 mA876
Sum of IO pins injection current Iinjtotalmin -45 · max 45 mA876
DC calibrated output voltage VDDCOREVoltage regulator normal modemin 1.1 · typ 1.23 · max 1.3 V877
Input regulator capacitor, between VDDIN and GND CINCeramic dielectric X7Rtyp 10 uF877
Input regulator capacitor, between VDDIN and GND CINCeramic dielectric X7Rtyp 100 nF877
Output regulator capacitor, between VDDCORE and GND COUTmin 0.8 · typ 1 uF877
External Series Resistance of Cout ESR Coutmax 1 Ω877
Voltage threshold on VDD rising VPOT+VDD falls at 1V/ms or slowermin 1.27 · typ 1.45 · max 1.58 V877
Voltage threshold on VDD falling VPOT-min 0.72 · typ 0.99 · max 1.32 V877
Power supply voltage VDD85°C characteristicsmin 0 · max 3.8 V864
Current into a VDD pin IVDD85°C characteristics; maximum source current 46mA per GPIO clustermax 92 mA864
Current out of a GND pin IGND85°C characteristics; maximum sink current 65mA per GPIO clustermax 130 mA864
Storage temperature Tstorage85°C characteristicsmin -60 · max 150 °C864
Power supply voltage VDD85°C characteristics; minimum with BOD33 disabledmin 1.62 · typ 3.3 · max 3.63 V864
Analog supply voltage VDDANA85°C characteristics; minimum with BOD33 disabledmin 1.62 · typ 3.3 · max 3.63 V864
Temperature range TA85°C characteristicsmin -40 · typ 25 · max 85 °C864
Junction temperature TJ85°C characteristicsmax 100 °C864
RTCfGCLK_RTC = 32kHz, 32bit counter mode; incremental peripheral consumptiontyp 7.4 uA872
WDTfGCLK_WDT=32kHz, normal mode with EW; incremental peripheral consumptiontyp 5.5 uA872
ACxBoth fGCLK=8MHz, Enable both COMP; incremental peripheral consumptiontyp 31.3 uA872
TCC2fGCLK=8MHz, Enable + COUNTER; incremental peripheral consumptiontyp 95.5 uA872
TCC1fGCLK=8MHz, Enable + COUNTER; incremental peripheral consumptiontyp 167.5 uA872
TCC0fGCLK=8MHz, Enable + COUNTER; incremental peripheral consumptiontyp 180.3 uA872
SERCOMx.I2CMfGCLK=8MHz, Enable; incremental peripheral consumptiontyp 69.7 uA872
SERCOMx.I2CSfGCLK=8MHz, Enable; incremental peripheral consumptiontyp 29.2 uA872
SERCOMx.SPIfGCLK=8MHz, Enable; incremental peripheral consumptiontyp 64.6 uA872
SERCOMx.USARTfGCLK=8MHz, Enable; incremental peripheral consumptiontyp 65.5 uA872
I2SfGCLK_I2S_0=12.288MHz with source FDPLL with fFDPLL=49,152MHz; includes FDPLLtyp 26.4 uA872
DMACRAM to RAM transfer; includes RAM R/W accesstyp 399.5 uA872
SuspendGCLK_USB is off, using USB wakeup asynchronous interrupt; USB bus in suspend mode; excludes clock source and CPUtyp 201 uA873
SuspendGCLK_USB is on; USB bus in suspend mode; excludes clock source and CPUtyp 0.83 mA873
IDLEStart Of Frame is running; no packet transferred; excludes clock source and CPUtyp 1.17 mA873
Active OUTStart Of Frame is running; Bulk OUT on 100% bandwidth; excludes clock source and CPUtyp 2.17 mA873
Active INStart Of Frame is running; Bulk IN on 100% bandwidth; excludes clock source and CPUtyp 10.3 mA873
Output regulator capacitor, between VDDCORE and GND COUTCeramic or solid tantalum capacitor with low ESR <= 1 ohms recommendedmin 0.8 · typ 1 uF877
Crystal load capacitance CLmax 12.5 pF894
Crystal shunt capacitance CSHUNTtyp 0.1 pF894
Parasitic capacitor load CXIN32typ 3.1 pF894
Parasitic capacitor load CXOUT32typ 3.3 pF894
Current consumption IXOSC32Ktyp 1.22 · max 2.19 uA894
Crystal equivalent series resistance ESRCL=12.5pF; f=32.768kHz; Safety Factor = 3max 141 kΩ894
Output frequency fOUTDFLLVAL.COARSE = DFLL48M COARSE CAL; DFLLVAL.FINE = 512; after calibration at room temperaturemin 47 · typ 48 · max 49 MHz894
Power consumption on VDDIN IDFLLIDFLLVAL.COARSE = DFLL48M COARSE CAL; DFLLVAL.FINE = 512typ 403 · max 453 uA894
Start-up time tSTARTUPDFLLVAL.COARSE = DFLL48M COARSE CAL; DFLLVAL.FINE = 512; fOUT within 90 % of final valuetyp 8 · max 9 us894
Current consumption IOSC8MIDLE2 on OSC32K versus IDLE2 on calibrated OSC8M enabled at 8MHz (FRANGE=1, PRESC=0)typ 64 · max 96 uA897
Startup time tSTARTUPtyp 2.4 · max 3.3 us897
Duty cycle Dutytyp 50 %897
Input frequency fINDevice Variant Amin 32 · max 2000 KHz897
Output frequency fOUTDevice Variant Amin 48 · max 96 MHz897
Current consumption IFDPLL96MDevice Variant A; fIN= 32 kHz, fOUT= 48 MHztyp 500 · max 700 uA897
Current consumption IFDPLL96MDevice Variant A; fIN= 32 kHz, fOUT= 96 MHztyp 900 · max 1200 uA897
Period jitter JpDevice Variant A; fIN= 32 kHz, fOUT= 48 MHztyp 1.5 · max 2 %897
Period jitter JpDevice Variant A; fIN= 32 kHz, fOUT= 96 MHztyp 3 · max 10 %897
Period jitter JpDevice Variant A; fIN= 2 MHz, fOUT= 48 MHztyp 1.3 · max 2 %897
Period jitter JpDevice Variant A; fIN= 2 MHz, fOUT= 96 MHztyp 3 · max 7 %897
Lock Time tLOCKDevice Variant A; after start-up, time to get lock signal; fIN= 32 kHz, fOUT= 96 MHztyp 1.3 · max 2 ms897
Lock Time tLOCKDevice Variant A; after start-up, time to get lock signal; fIN= 2 MHz, fOUT= 96 MHztyp 25 · max 50 us897
Duty cycle DutyDevice Variant Amin 40 · typ 50 · max 60 %897
Power supply voltage VDD105°C characteristicsmin 0 · max 3.8 V916
Current into a VDD pin IDD105°C characteristics; maximum source current 46mA per GPIO clustermax 92 mA916
Current out of a GND pin IGND105°C characteristics; maximum sink current 65mA per GPIO clustermax 130 mA916
Storage temperature Tstorgae105°C characteristicsmin -60 · max 150 °C916
Power supply voltage VDD105°C characteristics; minimum with BOD33 disabledmin 1.62 · typ 3.3 · max 3.63 V916
Analog supply voltage VDDANA105°C characteristics; minimum with BOD33 disabledmin 1.62 · typ 3.3 · max 3.63 V916
Temperature range TA105°C characteristicsmin -40 · typ 25 · max 105 °C916
Junction temperature TJ105°C characteristicsmax 125 °C916
ACTIVE105°C; CPU running a While(1) algorithmtyp 2.55 · max 2.75 mA919
ACTIVE105°C; CPU running a While(1) algorithm; VDDIN=1.8V; Flash with 3 wait statestyp 2.56 · max 2.82 mA919
ACTIVE105°C; CPU running a Fibonacci algorithmtyp 4.21 · max 4.59 mA919
ACTIVE105°C; CPU running a Fibonacci algorithm; VDDIN=1.8V; Flash with 3 wait statestyp 4.23 · max 4.57 mA919
ACTIVE105°C; CPU running a CoreMark algorithmtyp 6.02 · max 6.54 mA919
ACTIVE105°C; CPU running a CoreMark algorithm; VDDIN=1.8V; Flash with 3 wait statestyp 5.21 · max 5.57 mA919
IDLE0105°Ctyp 1.55 · max 1.62 mA919
IDLE1105°Ctyp 1.13 · max 1.18 mA919
IDLE2105°Ctyp 0.96 · max 1.01 mA919
STANDBY105°C; rev. E silicon; XOSC32K running / RTC running at 1kHztyp 214 · max 627 uA919
STANDBY105°C; rev. E silicon; XOSC32K and RTC stoppedtyp 212 · max 624 uA919
STANDBY105°C; rev. F silicon; XOSC32K running / RTC running at 1kHztyp 175 · max 452 uA919
STANDBY105°C; rev. F silicon; XOSC32K and RTC stoppedtyp 173 · max 450 uA919
Output frequency fOUT105°C characteristics; IDFLLVAL.COARSE = DFLL48M COARSE CAL; DFLLVAL.FINE = 512min 47 · typ 48 · max 49 MHz932
Power consumption on VDDIN IDFLL105°C characteristics; IDFLLVAL.COARSE = DFLL48M COARSE CAL; DFLLVAL.FINE = 512typ 403 · max 453 uA932
Startup time tSTARTUP105°C characteristics; DFLLVAL.COARSE = DFLL48M COARSE CAL; DFLLVAL.FINE = 512; fOUT within 90 % of final valuetyp 8 · max 9 us932
Average Output frequency fOUT105°C characteristics; fREF = 32.768kHzmin 47.76 · typ 48 · max 48.24 MHz932
Reference frequency fREF105°C characteristicsmin 0.732 · typ 32.768 · max 33 kHz932
Period Jitter Jitter105°C characteristics; fREF = 32.768kHzmax 0.42 ns932
Power consumption on VDDIN IDFLL105°C characteristics; fREF = 32.768kHztyp 403 · max 453 uA932
Lock time tLOCK105°C characteristics; fREF = 32.768kHz; DFLLVAL.COARSE = DFLL48M COARSE CAL; DFLLVAL.FINE = 512; DFLLCTRL.BPLCKC = 1; DFLLCTRL.QLDIS = 0; DFLLCTRL.CCDIS = 1; DFLLMUL.FSTEP = 10typ 200 · max 500 us932
Output frequency fOUTCalibrated against a 32.768 kHz reference at 25°C, over [-40, +105]°C, over [1.62, 3.63]Vmin 28.508 · typ 32.768 · max 35.132 kHz932
Output frequency fOUTCalibrated against a 32.768 kHz reference at 25°C, at VDD = 3.3Vmin 32.276 · typ 32.768 · max 33.26 kHz932
Output frequency fOUTCalibrated against a 32.768 kHz reference at 25°C, over [1.62, 3.63]Vmin 31.457 · typ 32.768 · max 34.079 kHz932
Current consumption IOSC32K105°C characteristicstyp 0.67 · max 1.9 uA932
Startup time tSTARTUP105°C characteristicstyp 1 · max 2 cycle932
Duty Cycle Duty105°C characteristicstyp 50 %932
Output frequency fOUTCalibrated against a 32.768 kHz reference at 25°C, over [-40, +105]°C, over [1.62, 3.63]Vmin 25.559 · typ 32.768 · max 40.305 kHz933
Output frequency fOUTCalibrated against a 32.768 kHz reference at 25°C, at VDD = 3.3Vmin 31.293 · typ 32.768 · max 34.57 kHz933
Output frequency fOUTCalibrated against a 32.768 kHz reference at 25°C, over [1.62, 3.63]Vmin 31.293 · typ 32.768 · max 34.57 kHz933
Duty cycle Duty105°C characteristicstyp 50 %933
Output frequency fOUTCalibrated against a 8 MHz reference at 25°C, over [-40, +105]°C, over [1.62, 3.63]Vmin 7.65 · typ 8 · max 8.17 MHz933
Output frequency fOUTCalibrated against a 8 MHz reference at 25°C, at VDD = 3.3Vmin 7.94 · typ 8 · max 8.06 MHz933
Output frequency fOUTCalibrated against a 8 MHz reference at 25°C, over [1.62, 3.63]Vmin 7.92 · typ 8 · max 8.08 MHz933
Frequency vs. temperature drift TempCo105°C characteristics; unit not printedmin -1.2 · max 1933
Frequency vs. supply drift SupplyCo105°C characteristics; unit not printedmin -2 · max 2933
Current consumption IOSC8M105°C characteristics; IDLE2 on OSC32K versus IDLE2 on calibrated OSC8M enabled at 8 MHz (FRANGE = 1, PRESC = 0)typ 64 · max 96 uA933
Startup time tSTARTUP105°C characteristicstyp 2.4 · max 3.3 us933
Duty cycle Duty105°C characteristicstyp 50 %933
Input frequency fIN105°C characteristics; Silicon Revision F and Gmin 32 · max 2000 KHz934
Output frequency fOUT105°C characteristics; Silicon Revision F and Gmin 48 · max 96 MHz934
Current consumption IFDPLL96M105°C characteristics; Silicon Revision F and G; fIN= 32 kHz, fOUT= 48 MHztyp 500 uA934
Current consumption IFDPLL96M105°C characteristics; Silicon Revision F and G; fIN= 32 kHz, fOUT= 96 MHztyp 900 uA934
Period jitter Jp105°C characteristics; Silicon Revision F and G; fIN= 32 kHz, fOUT= 48 MHztyp 2.1 · max 3 %934
Period jitter Jp105°C characteristics; Silicon Revision F and G; fIN= 32 kHz, fOUT= 96 MHztyp 3.8 · max 9.2 %934
Period jitter Jp105°C characteristics; Silicon Revision F and G; fIN= 2 MHz, fOUT= 48 MHztyp 2.2 · max 3.2 %934
Period jitter Jp105°C characteristics; Silicon Revision F and G; fIN= 2 MHz, fOUT= 96 MHztyp 4.4 · max 10 %934
Lock Time tLOCK105°C characteristics; Silicon Revision F and G; after startup, time to get lock signal; fIN= 32 kHz, fOUT= 96 MHztyp 1.2 · max 2 ms934
Lock Time tLOCK105°C characteristics; Silicon Revision F and G; fIN= 2 MHz, fOUT= 96 MHztyp 25 · max 50 us934
Duty cycle Duty105°C characteristics; Silicon Revision F and Gmin 40 · typ 50 · max 60 %934
Power supply voltage VDD125°C characteristicsmin 0 · max 3.8 V936
Current into a VDD pin IVDD125°C characteristics; maximum source current 14mA per GPIO clustermax 28 mA936
Current out of a GND pin IGND125°C characteristics; maximum sink current 19.5mA per GPIO clustermax 39 mA936
Storage temperature Tstorage125°C characteristicsmin -60 · max 150 °C936
Power supply voltage VDD125°C characteristics; minimum with BOD33 disabledmin 1.62 · typ 3.3 · max 3.63 V936
Analog supply voltage VDDANA125°C characteristics; minimum with BOD33 disabledmin 1.62 · typ 3.3 · max 3.63 V936
Temperature range TA125°C characteristicsmin -40 · typ 25 · max 125 °C936
Junction temperature TJ125°C characteristicsmax 145 °C936
ACTIVE125°C; CPU running a While(1) algorithm; Silicon Revision Ftyp 3.75 · max 4.12 mA941
ACTIVE125°C; CPU running a While(1) algorithm; VDDIN=1.8V; Flash with 3 wait states; Silicon Revision Ftyp 3.77 · max 4.13 mA941
ACTIVE125°C; CPU running a Fibonacci algorithm; Silicon Revision Ftyp 4.85 · max 5.29 mA941
ACTIVE125°C; CPU running a Fibonacci algorithm; VDDIN=1.8V; Flash with 3 wait states; Silicon Revision Ftyp 4.87 · max 5.29 mA941
ACTIVE125°C; CPU running a CoreMark algorithm; Silicon Revision Ftyp 6.7 · max 7.3 mA941
ACTIVE125°C; CPU running a CoreMark algorithm; VDDIN=1.8V; Flash with 3 wait states; Silicon Revision Ftyp 5.98 · max 6.41 mA941
IDLE0125°C; Default operating conditions; Silicon Revision Ftyp 2.4 · max 2.69 mA941
IDLE1125°C; Default operating conditions; Silicon Revision Ftyp 1.79 · max 2.05 mA941
IDLE2125°C; Default operating conditions; Silicon Revision Ftyp 1.5 · max 1.76 mA941
Output frequency fOUTDevice Variant A; IDFLLVAL.COARSE = DFLL48M COARSE CAL; DFLLVAL.FINE = 512; open loop after calibration at room temperaturemin 47 · typ 48 · max 49 MHz959
Power consumption on VDDIN IDFLLDevice Variant A; IDFLLVAL.COARSE = DFLL48M COARSE CAL; DFLLVAL.FINE = 512; open loop after calibration at room temperaturetyp 403 · max 457 uA959
Start-up time tSTARTUPDevice Variant A; IDFLLVAL.COARSE = DFLL48M COARSE CAL; DFLLVAL.FINE = 512; fOUT within 90 % of final value; open loop after calibration at room temperaturemin 7 · typ 8 · max 9 us959
Average Output frequency fOUTDevice Variant A; fREF = 32 .768kHzmin 47.76 · typ 48 · max 48.24 MHz959
Reference frequency fREFDevice Variant Amin 0.732 · typ 32.768 · max 33 kHz959
Cycle to Cycle jitter JitterDevice Variant A; fREF = 32 .768kHzmax 1.04 ns959
Power consumption on VDDIN IDFLLDevice Variant A; fREF = 32 .768kHztyp 425 · max 482 uA960
Lock time tLOCKDevice Variant A; fREF = 32 .768kHz; DFLLVAL.COARSE = DFLL48M COARSE CAL; DFLLVAL.FINE = 512; DFLLCTRL.BPLCKC = 1; DFLLCTRL.QLDIS = 0; DFLLCTRL.CCDIS = 1; DFLLMUL.FSTEP = 10min 100 · typ 200 · max 500 us960
Output frequency fOUTDevice Variant A; Calibrated against a 32.768 kHz reference at 25°C, over [-40, +125]°C, over [1.62, 3.63]Vmin 28.508 · typ 32.768 · max 35.389 kHz960
Output frequency fOUTDevice Variant A; Calibrated against a 32.768 kHz reference at 25°C, at VDD = 3.3Vmin 32.276 · typ 32.768 · max 33.26 kHz960
Output frequency fOUTDevice Variant A; Calibrated against a 32.768 kHz reference at 25°C, over [1.62, 3.63]Vmin 31.457 · typ 32.768 · max 34.079 kHz960
Current consumption IOSC32KDevice Variant Atyp 0.79 · max 1.8 uA960
Start-up time tSTARTUPDevice Variant Atyp 1 · max 2 cycle960
Duty Cycle DutyDevice Variant Atyp 50 %960
Output frequency fOUTDevice Variant A; Calibrated against a 8MHz reference at 25°C, over [-40, +125]°C, over [1.62, 3.63]Vmin 7.54 · typ 8 · max 8.19 MHz962
Output frequency fOUTDevice Variant A; Calibrated against a 8MHz reference at 25°C, at VDD=3.3Vmin 7.94 · typ 8 · max 8.06 MHz962
Output frequency fOUTDevice Variant A; Calibrated against a 8MHz reference at 25°C, over [1.62, 3.63]Vmin 7.92 · typ 8 · max 8.08 MHz962
Current consumption IOSC8MDevice Variant A; IIDLEIDLE2 on OSC32K versus IDLE2 on calibrated OSC8M enabled at 8MHz (FRANGE=1, PRESC=0)typ 64 · max 100 uA962
Startup time tSTARTUPDevice Variant Atyp 2.1 · max 3 us962
Duty cycle DutyDevice Variant Atyp 50 %962
Input frequency fINDevice Variant A; FILTSEL[1/0] default valuemin 32 · max 2000 KHz962
Output frequency fOUTDevice Variant A; FILTSEL[1/0] default valuemin 48 · max 96 MHz962
Current consumption IFDPLL96MDevice Variant A; fIN= 32 kHz, fOUT= 48 MHz; FILTSEL[1/0] default valuetyp 500 · max 700 uA962
Current consumption IFDPLL96MDevice Variant A; fIN= 32 kHz, fOUT= 96 MHz; FILTSEL[1/0] default valuetyp 900 · max 1200 uA962
Period jitter JpDevice Variant A; fIN= 32 kHz, fOUT= 48 MHz; FILTSEL[1/0] default valuetyp 1.5 · max 2 %962
Period jitter JpDevice Variant A; fIN= 32 kHz, fOUT= 96 MHz; FILTSEL[1/0] default valuetyp 3 · max 10 %962
Period jitter JpDevice Variant A; fIN= 2 MHz, fOUT= 48 MHz; FILTSEL[1/0] default valuetyp 1.3 · max 2 %962
Period jitter JpDevice Variant A; fIN= 2 MHz, fOUT= 96 MHz; FILTSEL[1/0] default valuetyp 3 · max 7 %962
Lock Time tLOCKDevice Variant A; After start-up, time to get lock signal; fIN= 32 kHz, fOUT= 96 MHz; FILTSEL[1/0] default valuetyp 1.3 · max 2 ms962
Lock Time tLOCKDevice Variant A; After start-up, time to get lock signal; fIN= 2 MHz, fOUT= 96 MHz; FILTSEL[1/0] default valuetyp 25 · max 50 us962
Duty cycle DutyDevice Variant A; FILTSEL[1/0] default valuemin 40 · typ 50 · max 60 %963

Open-source boards using it

70See all 70
  • 4 layers70.8 × 108 mmCastor and Pollux, the printed circuit board in 3D

    Castor and Pollux

    wntrblm/Castor_and_Pollux

    A Juno-inspired dual oscillator

    235 parts587
  • 2 layers36 × 20 mmCombined, the printed circuit board in 3D

    Combined

    adamb314/ServoProject

    Getting the most out of your hobby servo

    24 parts545
  • 4 layers35.1 × 76.3 mmTiny4FSK, the printed circuit board in 3D

    Tiny4FSK

    New-England-Weather-Balloon-Society/Tiny4FSK

    Horus Binary v2 HAB Tracker

    90 parts96CERN-OHL-W-2.0
  • 4 layers36.6 × 60.3 mmStratoSoar MK3.0, the printed circuit board in 3D

    StratoSoar MK3.0

    crnicholson/StratoSoar-MK3

    StratoSoar MK3, an autonomous glider meant for high-altitudes, accessible to everyone

    85 parts43
  • 4 layers42 × 83.9 mmStratoSoar MK2.2, the printed circuit board in 3D

    StratoSoar MK2.2

    crnicholson/StratoSoar-MK2

    StratoSoar is an engineering project that aims to be able to fly a glider (dropped from a high-altitude balloon), down to any selected coordinates.

    116 parts24
  • 2 layers69.8 × 40.4 mmT Piece Kicad, the printed circuit board in 3D

    T Piece Kicad

    calebmarting/os2026-badge

    Schematics and firmware for the Open Sauce 2026 Badge and SAOs

    82 parts23MIT
  • 2 layers51.8 × 51.8 mmPawpet, the printed circuit board in 3D

    Pawpet

    NanoCodeBug/pawpet

    A virtual pet using the atsamd21g and sharp memory lcd, runs off of 2xAAA for a couple of months. See PawPet on Hacakday.io for full gallery.

    41 parts20
  • 4 layers117 × 107 mmMainboard dual battery, the printed circuit board in 3D

    Mainboard dual battery

    shurik179/yozh

    Small robot based on Pololu's Zumo chassis but programmable in CircuitPython

    121 parts8MIT

Parts like it

8

Questions

Is there a KiCad symbol and footprint for the ATSAMD21G18A-AU?

Yes. The symbol is MCU_Microchip_SAMD:ATSAMD21G18A-A and the footprint Package_QFP:TQFP-48_7x7mm_P0.5mm, both drawn on this page. PCBKit places them on a board for you when you design with it.

What package is the ATSAMD21G18A-AU?

TQFP-48, with 48 pins. Its footprint is drawn on this page.

Where is the ATSAMD21G18A-AU datasheet?

Microchip Technology publishes it: the Datasheet link on this page opens it.

Where can I order the ATSAMD21G18A-AU?

JLCPCB lists it as part C78624, with 4,184 in stock; the sellers' links on this page open their listings.

What can replace the ATSAMD21G18A-AU?

Parts like it in the library: the STM32F103C8T6 by STMicroelectronics, the STM32F030C8T6 by STMicroelectronics, the STM32G070CBT6 by STMicroelectronics and the STM32G030C8T6 by STMicroelectronics. Check their datasheets: a part that fits the footprint may still differ in its ratings.

Which open-source boards use the ATSAMD21G18A-AU?

70 boards in 58 repositories on GitHub; the most starred are listed on this page, with their KiCad files.