SAM G53G / SAM G53N
Atmel | SMART ARM-based Flash MCU
DATASHEET
Description
The Atmel® | SMART SAM G53 is a series of Flash microcontrollers based on the
high-performance 32-bit ARM ® Cortex ® -M4 RISC processor. It operates at a
maximum speed of 48 MHz and features up to 512 Kbytes of Flash and 96 Kbytes
of SRAM. The peripheral set includes one USART, two UARTs, three I2C-bus
interfaces (TWI), up to two SPIs, two three-channel general-purpose 16-bit timers,
two I2S controllers with two-way, one-channel pulse density modulation, one realtime timer (RTT) and one 8-channel 12-bit ADC.
The Atmel | SMART SAM G53 devices have two software-selectable low-power
modes: Sleep and Wait. In Sleep mode, the processor is stopped while all other
functions can be kept running. In Wait mode, all clocks and functions are stopped
but some peripherals can be configured to wake up the system based on events,
including partial asynchronous wake-up (SleepWalking™).
The Event System allows peripherals to receive, react to and send events in
Active and Sleep modes without processor intervention.
A general-purpose microcontroller with the best ratio in terms of reduced power
consumption, processing power and peripheral set, the SAM G53 series sustains
a wide range of applications including consumer, industrial control, and PC
peripherals.
The device operates from 1.62V to 3.6V and is available in a 49-ball WLCSP
package and a 100-pin LQFP package.
Features
Core
̶
ARM Cortex-M4 up to 48 MHz
̶
Memory Protection Unit (MPU)
̶
DSP Instructions
̶
Floating Point Unit (FPU)
̶
Thumb®-2 instruction set
Memories
̶
512 Kbytes embedded Flash
̶
96 Kbytes embedded SRAM
System
̶
Embedded voltage regulator for single-supply operation
Atmel-11240F-ATARM-SAM-G53G-SAM-G53N-Datasheet_24-Jul-15
̶
Power-on reset (POR) and Watchdog for safe operation
̶
Quartz or ceramic resonator oscillators: 3 to 20 MHz with clock failure detection and 32.768 kHz for
RTT or device clock
̶
High-precision 8/16/24 MHz factory-trimmed internal RC oscillator. In-application trimming access for
frequency adjustment
̶
Slow clock internal RC oscillator as permanent Low-power mode device clock
̶
PLL range from 24 MHz to 48 MHz for device clock
̶
28 peripheral DMA (PDC) channels
̶
256-bit General-Purpose Registers (GPBR)
̶
16 external interrupt lines
Power consumption in Active mode
̶
102 µA/MHz running Fibonacci in SRAM
Low power modes (typical value)
̶
Wait mode down to 8 µA
̶
Wake-up time less than 5 µs
̶
Asynchronous partial wake-up (SleepWalking™) on UART and TWI
Peripherals
̶
One USART with SPI mode
̶
Two Inter-IC Sound Controllers (I2S)
Two UARTs
̶
Three Two-Wire Interface (TWI) modules featuring two TWI masters and one high-speed TWI slave
̶
One fast SPI at up to 24Mbit/s
̶
Two three-channel 16-bit Timer/Counters (TC) with Capture, Waveform, Compare and PWM modes
̶
One 32-bit Real-Time Timer (RTT)
Analog
One 8-channel ADC, resolution up to 12 bits, sampling rate up to 800 kSps
Package
̶
49-ball WLCSP
̶
100-pin LQFP, 14 x 14 mm, pitch 0.5 mm
Temperature operating range
̶
2
̶
Up to 38 controllable I/O lines with external interrupt capability (edge or level sensitivity), debouncing,
glitch filtering and on-die series resistor termination. Individually programmable open-drain, pull-up
and pull-down resistor and synchronous output
̶
Two-way one-channel Pulse Density Modulation (PDM) (interfaces up to two microphones in PDM
mode)
I/O
̶
̶
Industrial (-40 °C to +85 °C)
SAM G53G / SAM G53N [DATASHEET]
Atmel-11240F-ATARM-SAM-G53G-SAM-G53N-Datasheet_24-Jul-15
1.
Configuration Summary
Table 1-1 summarizes the SAM G53 device configurations.
Table 1-1.
Configuration Summary
Feature
SAM G53G19
SAM G53N19
Flash
512 Kbytes
512 Kbytes
SRAM
96 Kbytes
96 Kbytes
Package
WLCSP49
LQFP100
Number of PIOs
38
38
Event System
Yes
Yes
8 channels
8 channels
Performance:
Performance
800 KSps at 10-bit resolution
800 KSps at 10-bit resolution
200 KSps at 11-bit resolution
200 KSps at 11-bit resolution
50 KSps at 12-bit resolution
50 KSps at 12-bit resolution
6 channels
6 channels
16-bit Timer
(3 external channels)
(3 external channels)
I2SC/PDM
2 / 1-channel 2-way
2 / 1-channel 2-way
12-bit ADC
PDC Channels
28
28
USART/UART
1/2
1/2
SPI
1
1
2 masters at 400Kbits/s and
2 masters 400Kbits/s and
1 slave at 3.4Mbit/s
1 slave 3.4Mbit/s
TWI
SAM G53G / SAM G53N [DATASHEET]
Atmel-11240F-ATARM-SAM-G53G-SAM-G53N-Datasheet_24-Jul-15
3
Block Diagram
SAM G53 Block Diagram
V
TST
U
O
D
D
D
D
IO
T
TD
I
TD
O
TM
S
TC /SW
K D
/S IO
W
JT
C
LK
A
G
S
E
L
Figure 2-1.
V
2.
Voltage
Regulator
PCK[2:0]
PLL
RC OSC
8/16/24 MHz
Power
Management
Controller
JTAG and Serial Wire
In-Circuit Emulator
WKUP[15:0]
XIN
XOUT
Cortex-M4 Processor
fMAX 48 MHz
3-20 MHz
Crystal Osc. or
External Osc.
(bypass)
Supply
Controller
DSP
Tamper Detection
32K
Crystal Osc. or
External Osc.
(bypass)
XIN32
XOUT32
ERASE
24-bit SysTick
Counter
NVIC
MPU
FPU
I/D
Flash
Unique
Identifier
S
User
Signature
32K RC
Power-on
Reset
Real-time
Clock
256-bit
GPBR
Real-time
Timer
VDDCORE
3-layer Bus Matrix
fMAX 48 MHz
Reset
Controller
NRST
Watchdog
Timer
M
M
VDDIO
S
M
Bridge
PDC
Supply
Monitor
Flash
S
512 Kbytes
S
96 Kbytes
SRAM
ROM(1)
S
8 Kbytes
PIOA/PIOB
System Controller
PDMDAT0
PDMCLK0
PDMIC0
PDMIC1
I2SCK[1:0]
I2SWS[1:0]
I2SDI[1:0]
I2SDO[1:0]
I2SMCK[1:0]
PDC
PDC
SPI
PDC
PDC
2 x I2SC
PDC
3 x TWI
SCK
TXD
RXD
RTS
CTS
PDC
PDC Timer Counter A
TC[0..2]
2 x UART
Timer Counter B
TC[3..5]
AD[7:0]
ADTRG
PDC
12-bit ADC
VDDIO
Note:
4
TWCK[2:0]
TWD[2:0]
USART
PDC
URXD[1:0]
UTXD[1:0]
NPCS0
NPCS1
MISO
MOSI
SPCK
1. The ROM is reserved for future use.
SAM G53G / SAM G53N [DATASHEET]
Atmel-11240F-ATARM-SAM-G53G-SAM-G53N-Datasheet_24-Jul-15
Event
System
TCLK[2:0]
TIOA[2:0]
TIOB[2:0]
3.
Signal Description
Table 3-1 provides details on the signal names classified by peripheral.
Table 3-1.
Signal Description List
Signal Name
Function
Type
Active
Level
Voltage
Reference
Comments
Power Supplies
VDDIO
Peripheral I/O Lines, Voltage Regulator,
ADC Power Supply
Power
–
–
VDDOUT
Voltage Regulator Output
Power
–
–
–
VDDCORE
Core Chip Power Supply
Power
–
–
Connected externally
to VDDOUT
GND
Ground
Ground
–
–
–
Input
–
VDDIO
Reset state:
Output
–
–
- PIO input
Input
–
VDDIO
- Internal pull-up
disabled
Output
–
–
- Schmitt Trigger
enabled
1.62V to 3.6V
Clocks, Oscillators and PLLs
XIN
Main Oscillator Input (Bypass mode)
XOUT
Main Oscillator Output
XIN32
Slow Clock Oscillator Input (Bypass mode)
XOUT32
Slow Clock Oscillator Output
Reset state:
- PIO input
PCK0 - PCK2
Programmable Clock Output
Output
–
–
- Internal pull-up
enabled
- Schmitt Trigger
enabled
ICE and JTAG
TCK
Test Clock
Input
–
VDDIO
No pull-up resistor
TDI
Test Data In
Input
–
VDDIO
No pull-up resistor
TDO
Test Data Out
Output
–
VDDIO
–
TRACESWO
Trace Asynchronous Data Out
Output
–
VDDIO
–
SWDIO
Serial Wire Input/Output
I/O
–
VDDIO
–
SWCLK
Serial Wire Clock
Input
–
VDDIO
–
TMS
Test Mode Select
Input
–
VDDIO
No pull-up resistor
JTAGSEL
JTAG Selection
Input
High
VDDIO
Pull-down resistor
High
VDDIO
Pull-down (15 kΩ)
resistor
Flash Memory
ERASE
Flash and NVM Configuration Bits Erase
Command
Input
SAM G53G / SAM G53N [DATASHEET]
Atmel-11240F-ATARM-SAM-G53G-SAM-G53N-Datasheet_24-Jul-15
5
Table 3-1.
Signal Description List (Continued)
Signal Name
Function
Type
Active
Level
Voltage
Reference
I/O
Low
VDDIO
Pull-up resistor
Input
–
VDDIO
Pull-down resistor
Comments
Reset/Test
NRST
Microcontroller Reset
TST
Test Mode Select
Universal Ansynchronous Receiver Transceiver - UARTx
URXDx
UART Receive Data
Input
–
–
–
UTXDx
UART Transmit Data
Output
–
–
–
PIO Controller - PIOA - PIOB
PA0 - PA24
Parallel I/O Controller A
I/O
–
VDDIO
Pulled-up input at
reset. No pull-down
for PA3/PA4/PA14.
PB0 - PB12
Parallel I/O Controller B
I/O
–
VDDIO
Pulled-up input at
reset
I/O
–
VDDIO
Wake-up pins are
used also as External
Interrupt
Wake-up Pins
WKUP 0-15
Wake-up Pin / External Interrupt
Universal Synchronous Asynchronous Receiver Transmitter USART
SCK
USART Serial Clock
I/O
–
–
–
TXD
USART Transmit Data
I/O
–
–
–
RXD
USART Receive Data
Input
–
–
–
RTS
USART Request To Send
Output
–
–
–
CTS
USART Clear To Send
Input
–
–
–
Input
–
–
–
Timer/Counter - TCx
TCLKx
TC Channel x External Clock Input
TIOAx
TC Channel x I/O Line A
I/O
–
–
–
TIOBx
TC Channel x I/O Line B
I/O
–
–
–
Serial Peripheral Interface - SPI
MISO
Master In Slave Out
I/O
–
–
–
MOSI
Master Out Slave In
I/O
–
–
–
SPCK
SPI Serial Clock
I/O
–
–
NPCS0
SPI Peripheral Chip Select 0
I/O
Low
–
–
NPCS1
SPI Peripheral Chip Select 1
Output
Low
–
–
6
SAM G53G / SAM G53N [DATASHEET]
Atmel-11240F-ATARM-SAM-G53G-SAM-G53N-Datasheet_24-Jul-15
High-speed pad
Table 3-1.
Signal Description List (Continued)
Signal Name
Function
Type
Active
Level
Voltage
Reference
Comments
Two-Wire Interface- TWIx
TWDx
TWIx Two-wire Serial Data
I/O
–
–
High-speed pad for
TWD0
TWCKx
TWIx Two-wire Serial Clock
I/O
–
–
High-speed pad for
TWDCK0
10-bit Analog-to-Digital Converter - ADCC
AD0 - AD7
Analog Inputs
Analog
–
–
–
ADTRG
ADC Trigger
Input
–
–
–
Inter-IC Sound Controller - I2SCx
I2SMCKx
Master Clock
Output
–
–
–
I2SCKx
Serial Clock
I/O
–
–
–
I2SWSx
I2S Word Select
I/O
–
–
–
I2SDIx
Serial Data Input
Input
–
–
–
I2SDOx
Serial Data Output
Output
–
–
–
PDMCLK0
Pulse Density Modulation Clock
Output
–
–
–
PDMDAT0
Pulse Density Modulation Data
Input
–
–
–
SAM G53G / SAM G53N [DATASHEET]
Atmel-11240F-ATARM-SAM-G53G-SAM-G53N-Datasheet_24-Jul-15
7
4.
Package and Pinout
Table 4-1.
4.1
Device
Package
SAM G53G19
WLCSP49
SAM G53N19
LQFP100
49-ball WLCSP Pinout
Table 4-2.
8
SAM G53 Packages
SAM G53G19 49-ball WLCSP Pinout
A1
PA9
C1
VDDCORE
E1
PB2/AD6
G1
VDDIO
A2
GND
C2
PA11
E2
PB0/AD4
G2
VDDOUT
A3
PA24
C3
PA12
E3
PA18/AD1
G3
GND
A4
PB8/XOUT
C4
PB6
E4
PA14
G4
VDDIO
A5
PB9/XIN
C5
PA4
E5
PA10
G5
PA22
A6
PB4
C6
PA3
E6
TST
G6
PA15
A7
VDDIO
C7
PA0
E7
PA7/XIN32
G7
PA6
B1
PB11
D1
PA13
F1
PA20/AD3
B2
PB5
D2
PB3/AD7
F2
PA19/AD2
B3
PB7
D3
PB1/AD5
F3
PA17/AD0
B4
PA2
D4
PB10
F4
PA21
B5
JTAGSEL
D5
PA1
F5
PA23
B6
NRST
D6
PA5
F6
PA16
B7
PB12
D7
VDDCORE
F7
PA8/XOUT32
SAM G53G / SAM G53N [DATASHEET]
Atmel-11240F-ATARM-SAM-G53G-SAM-G53N-Datasheet_24-Jul-15
4.2
100-lead LQFP Pinout
Table 4-3.
SAM G53N19 100-pin LQFP Pinout
1
NC
26
NC
51
NC
76
NC
2
NC
27
NC
52
NC
77
NC
3
NC
28
PA6
53
PA17
78
NC
4
NC
29
VDDIO
54
PA18
79
PA9
5
VDDIO
30
PA16
55
PA19
80
PB5
6
VDDIO
31
PA15
56
PA20
81
GND
7
NRST
32
PA23
57
PB0
82
GND
8
PB12
33
NC
58
PB1
83
GND
9
PA4
34
NC
59
PB2
84
PB6
10
PA3
35
PA22
60
PB3
85
PB7
11
PA0
36
PA21
61
VDDIO
86
PA24
12
PA1
37
VDDIO
62
PA14
87
PB8
13
PA5
38
VDDIO
63
PA13
88
PB9
14
VDDIO
39
GND
64
PA12
89
VDDIO
15
VDDCORE
40
GND
65
PA11
90
PA2
16
VDDCORE
41
GND
66
VDDCORE
91
PB4
17
TEST
42
GND
67
VDDCORE
92
NC
18
PA7
43
GND
68
PB10
93
JTAGSEL
19
PA8
44
VDDOUT
69
PB11
94
VDDIO
20
GND
45
VDDOUT
70
GND
95
VDDIO
21
NC
46
VDDIO
71
GND
96
NC
22
NC
47
VDDIO
72
PA10
97
NC
23
NC
48
VDDIO
73
NC
98
NC
24
NC
49
NC
74
NC
99
NC
25
NC
50
NC
75
NC
100
NC
SAM G53G / SAM G53N [DATASHEET]
Atmel-11240F-ATARM-SAM-G53G-SAM-G53N-Datasheet_24-Jul-15
9
5.
Power Considerations
5.1
Power Supplies
The SAM G53 has several types of power supply pins:
VDDCORE pins: Power the core, including the processor, the embedded memories and the peripherals.
VDDCORE must be connected to VDDOUT.
VDDIO pins: Power the peripheral I/O lines, voltage regulator and ADC; voltage ranges from 1.62V to 3.6V.
The ground pins GND are common to VDDCORE and VDDIO.
5.2
Voltage Regulator
The SAM G53 embeds a core voltage regulator that is managed by the Supply Controller and that supplies the
Cortex-M4 core, internal memories (SRAM and Flash logic) and the peripherals. An internal adaptative biasing
adjusts the regulator quiescent current depending on the required load current.
For adequate input and output power supply decoupling/bypassing, refer to Table 37-4 “VDDCORE Voltage
Regulator Characteristics” in the Electrical Characteristics section of the datasheet.
5.3
Typical Powering Schematics
The SAM G53 supports a 1.62V to 3.6V single supply mode. The internal regulator input is connected to the
source and its output feeds VDDCORE. Power schematics are illustrated in Figure 5-1.
To achieve the system performance levels, the internal regulator must be used.
Figure 5-1.
Single Supply
VDDIO
Main Supply (1.62V to 3.6V)
VDDIO
Voltage
Regulator
VDDOUT
VDDCORE
5.4
Functional Modes
5.4.1
Active Mode
Active mode is the normal running mode with the core clock running from the fast RC oscillator, the main crystal
oscillator or the PLL. The Power Management Controller can be used to adapt the frequency and to disable the
peripheral clocks.
10
SAM G53G / SAM G53N [DATASHEET]
Atmel-11240F-ATARM-SAM-G53G-SAM-G53N-Datasheet_24-Jul-15
5.4.2
Wait Mode
Wait mode allows the device to achieve very low power consumption levels while remaining in a powered state
with a wake-up time of less than 5 µs. Current consumption in Wait mode is typically less than 8 µA (total current
consumption). In Wait mode, the clocks of the core, the peripherals and memories are stopped. However, power
supplies are maintained to ensure memory and CPU context retention.
The wake-up time of 5 µs is achieved when entry into and exit from Wait mode are performed in internal SRAM.
The wake-up time increases to 70 µs if entry into Wake-up mode is performed in internal Flash.
Wait mode is entered using either the WAITMODE bit in the PMC Clock Generator Main Oscillator register
(CKGR_MOR) or the Wait for Event (WFE) instruction. Detailed sequences are provided below.
Note that the WFE instruction can add complexity in application state machines due to the fact that the WFE
instruction goes along with an event flag of the Cortex core (cannot be managed by the software application). The
event flag can be set by interrupts, a debug event or an event signal from another processor. Since an interrupt
can take place just before the execution of WFE, WFE takes into account events that happened in the past. As a
result, WFE prevents the device from entering Wait mode if an interrupt event has occurred. To work around this
complexity, follow the sequence using the WAITMODE bit described below.
The Cortex-M4 processor is able to handle external or internal events in order to wake up the core. This is done by
configuring the external lines WKUP0–15 as fast start-up wake-up pins (refer to Section 5.5 “Fast Start-up”) or the
RTT and RTC alarms for internal events.
To enter Wait mode using the WAITMODE bit:
1. Select the 8/16/24 MHz fast RC oscillator as the Main Clock. If frequency of 24 MHz is selected and the code is
running from the SRAM, wake-up time is less than 5 µs.
2. Program the FLPM field in the PMC Fast Startup Mode Register (PMC_FSMR)(1).
3.
Set the number of Flash wait states to 0 by writing a zero to the FWS field in the EEFC Flash Mode Register
(EEFC_MR).
4.
Write a one to the WAITMODE bit in the PMC Clock Generator Main Oscillator Register (CKGR_MOR).
5.
Wait for MCKRDY = 1 in the PMC Status Register (PMC_SR).
To enter Wait mode using the WFE instruction:
1. Select the 8/16/24 MHz fast RC oscillator as the Main Clock. If 24 MHz is selected and the code is running on the
SRAM, wake-up time is less than 5 µs.
2. Program the FLPM field in the PMC Fast Startup Mode Register (PMC_FSMR)(1).
3.
Set the number of Flash wait states to 0 by writing a zero to the FWS field in the EEFC Flash Mode Register
(EEFC_MR).
4.
Write a one to the LPM bit in the PMC Fast Startup Mode Register (PMC_FSMR).
5.
Ensure that the SLEEPDEEP bit in the System Control Register (SCB_SCR) is cleared.
6.
Execute the Wait For Event (WFE) instruction of the processor.
Note:
5.4.3
1. Depending on the value of the field FLPM, the Flash enters three different modes:
FLPM = 0: Flash in Stand-by mode (low power consumption levels)
FLPM = 1: Flash in Deep power-down mode (extra low power consumption levels)
FLPM = 2: Flash in Idle mode. Memory ready for Read access.
Sleep Mode
In Sleep mode, power consumption of the device versus response time is optimized. Only the core clock is
stopped. The peripheral clocks can be enabled. The current consumption in Sleep mode is application-dependent.
Sleep mode is entered via Wait for Interrupt (WFI) instructions.
The processor can be awakened from an interrupt if the WFI instruction of the Cortex-M4 is used.
SAM G53G / SAM G53N [DATASHEET]
Atmel-11240F-ATARM-SAM-G53G-SAM-G53N-Datasheet_24-Jul-15
11
5.4.4
Low-Power Mode Configuration Summary
Table 5-1 summarizes the power consumption, wake-up time and system state in low-power modes.
Table 5-1.
Mode
Low-Power Mode Configuration Summary
SUPC
32 kHz
Oscillator
RTT
POR
Regulator
POR
Supply
Monitor on
VDDIO
RAM
Power
Switch
Core Memory
Peripherals
All RAM
powered
Wait Mode with
Flash in Deeppower-down
mode
ON
OFF
64 Kbytes
RAM
powered
Powered
(Not clocked)
32 Kbytes
RAM
powered
Sleep Mode
Notes:
ON
ON
Powered
Mode Entry
FLPM = 1
+ WAITMODE = 1
or
SLEEPDEEP = 0
+FLPM = 1
+ LPM = 1
+ WFE
Potential Wake-up
Sources
Core at
Wake-up
PIO State
while in LowPower Mode
PIO State at
Wake-up
Consumptio
n
(2) (3)
100 kHz. Changed max value of Data
Hold Time. Changed min value of Data Setup Time. In Note (4), added information on HOLD field.
Table 36-35 “Two-wire Serial Bus Requirements” and Table 36-36 “High-speed Two-wire Serial Bus Requirements”:
removed redundant VIL and VIH parameters.
Table 36-36 “High-speed Two-wire Serial Bus Requirements”: changed conditions and max values for RP. Removed Note
(1) on fTWCK > 100 kHz.
Table 36-39 “AC Flash Characteristics”: added Erase Pin Assertion Time. Changed values for Full Chip Erase parameter.
Added Flash Active Current values.
Section 37. “Mechanical Characteristics”
Figure 37-1 “49-lead WLCSP Package Mechanical Drawing”: changed values for backside coating and for min of Total
Thickness.
Section 40. “Errata”
Modified device revision in Table 40-1, “Device List for Errata Described in Section 40.1”.
Table 42-5. SAM G53 Datasheet Rev. 11240B Revision History
Doc. Rev.
11240B
Changes
17-Jan-14
Preliminary datasheet status marking added.
940
SAM G53G / SAM G53N [DATASHEET]
Atmel-11240F-ATARM-SAM-G53G-SAM-G53N-Datasheet_24-Jul-15
Table 42-6. SAM G53 Datasheet Rev. 11240A Revision History
Doc. Rev.
11240A
Changes
13-Jan-14
First issue.
SAM G53G / SAM G53N [DATASHEET]
Atmel-11240F-ATARM-SAM-G53G-SAM-G53N-Datasheet_24-Jul-15
941
Table of Contents
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.
Configuration Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3.
Signal Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
4.
Package and Pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4.1
4.2
5.
Power Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
5.1
5.2
5.3
5.4
5.5
6.
49-ball WLCSP Pinout. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
100-lead LQFP Pinout. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Power Supplies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Voltage Regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Typical Powering Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Functional Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Fast Start-up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10
10
10
10
13
Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
6.1
Peripheral DMA Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
7.
Product Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
8.
Boot Loader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
9.
Memories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
9.1
9.2
Internal SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Embedded Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
10. System Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
10.1
10.2
10.3
10.4
10.5
10.6
10.7
10.8
10.9
10.10
10.11
10.12
10.13
10.14
10.15
10.16
System Controller and Peripherals Mapping. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Power-on Reset, Supply Monitor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Reset Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Supply Controller (SUPC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Clock Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Power Management Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Watchdog Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SysTick Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Real-Time Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Real Time Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
General-Purpose Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Nested Vectored Interrupt Controller. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chip Identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PIO Controllers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Peripheral Identifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Peripherals Signals Multiplexing on I/O Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22
22
22
22
23
24
24
25
25
25
25
25
26
26
27
29
11. Event System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
11.1
i
Embedded Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
SAM G53G / SAM G53N [DATASHEET]
Atmel-11240F-ATARM-SAM-G53G-SAM-G53N-Datasheet_24-Jul-15
11.2
Real-Time Event Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
12. ARM Cortex-M4 Processor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
12.1
12.2
12.3
12.4
12.5
12.6
12.7
12.8
12.9
12.10
12.11
12.12
12.13
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Embedded Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Cortex-M4 Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Power Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Cortex-M4 Instruction Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Cortex-M4 Core Peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
Nested Vectored Interrupt Controller (NVIC). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
System Control Block (SCB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
System Timer (SysTick) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
Memory Protection Unit (MPU) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
Floating Point Unit (FPU) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
13. Debug and Test Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
13.1
13.2
13.3
13.4
13.5
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Embedded Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Application Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Debug and Test Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Functional Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
290
290
291
292
293
14. Reset Controller (RSTC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
14.1
14.2
14.3
14.4
14.5
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Embedded Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Functional Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Reset Controller (RSTC) User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
299
299
299
300
305
15. Real-time Timer (RTT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
15.1
15.2
15.3
15.4
15.5
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Embedded Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Functional Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Real-time Timer (RTT) User Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
309
309
309
310
312
16. Real-time Clock (RTC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
16.1
16.2
16.3
16.4
16.5
16.6
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Embedded Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Product Dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Functional Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Real-time Clock (RTC) User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
317
317
318
318
318
326
17. Watchdog Timer (WDT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
17.1
17.2
17.3
17.4
17.5
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Embedded Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Functional Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Watchdog Timer (WDT) User Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
342
342
343
344
346
SAM G53G / SAM G53N [DATASHEET]
Atmel-11240F-ATARM-SAM-G53G-SAM-G53N-Datasheet_24-Jul-15
ii
18. Supply Controller (SUPC) Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351
18.1
18.2
18.3
18.4
Embedded Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Supply Controller Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Supply Controller (SUPC) User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
351
352
353
357
19. General Purpose Backup Registers (GPBR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
19.1
19.2
19.3
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
Embedded Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
General Purpose Backup Registers (GPBR) User Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364
20. Memory to Memory (MEM2MEM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366
20.1
20.2
20.3
20.4
20.5
20.6
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Embedded Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Product Dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Functional Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Memory to Memory (MEM2MEM) User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
366
366
367
368
368
369
21. Enhanced Embedded Flash Controller (EEFC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376
21.1
21.2
21.3
21.4
21.5
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376
Embedded Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376
Product Dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376
Functional Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376
Enhanced Embedded Flash Controller (EEFC) User Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . 394
22. Bus Matrix (MATRIX) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 400
22.1
22.2
22.3
22.4
22.5
22.6
22.7
22.8
22.9
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Embedded Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Master/Slave Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Memory Mapping. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Special Bus Granting Techniques . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Arbitration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
System I/O Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Register Write Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Bus Matrix (MATRIX) User Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
400
400
401
401
402
402
404
404
405
23. Peripheral DMA Controller (PDC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412
23.1
23.2
23.3
23.4
23.5
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Embedded Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Functional Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Peripheral DMA Controller (PDC) User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
412
412
413
414
416
24. Clock Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428
24.1
24.2
24.3
24.4
24.5
24.6
iii
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428
Embedded Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429
Slow Clock. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430
Main Clock. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431
Divider and PLL Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 435
SAM G53G / SAM G53N [DATASHEET]
Atmel-11240F-ATARM-SAM-G53G-SAM-G53N-Datasheet_24-Jul-15
25. Power Management Controller (PMC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 436
25.1
25.2
25.3
25.4
25.5
25.6
25.7
25.8
25.9
25.10
25.11
25.12
25.13
25.14
25.15
25.16
25.17
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 436
Embedded Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 436
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 437
Master Clock Controller. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 437
Processor Clock Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438
SysTick Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438
Peripheral Clock Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438
Asynchronous Partial Wake-up (SleepWalking) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438
Free-Running Processor Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 440
Programmable Clock Output Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 440
Fast Startup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 440
Startup from Embedded Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 442
Main Clock Failure Detector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 442
Programming Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 443
Clock Switching Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445
Register Write Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 448
Power Management Controller (PMC) User Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449
26. Chip Identifier (CHIPID) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 479
26.1
26.2
26.3
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 479
Embedded Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 479
Chip Identifier (CHIPID) User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 480
27. Parallel Input/Output Controller (PIO) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 485
27.1
27.2
27.3
27.4
27.5
27.6
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 485
Embedded Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 486
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 487
Product Dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 487
Functional Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 489
Parallel Input/Output Controller (PIO) User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 499
28. Serial Peripheral Interface (SPI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 549
28.1
28.2
28.3
28.4
28.5
28.6
28.7
28.8
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Embedded Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Application Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Signal Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Product Dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Functional Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Serial Peripheral Interface (SPI) User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
549
549
550
550
551
551
552
565
29. Two-wire Interface (TWIHS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 581
29.1
29.2
29.3
29.4
29.5
29.6
29.7
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 581
Embedded Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 581
List of Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 582
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 582
Product Dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 583
Functional Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 584
Two-wire Interface High Speed (TWIHS) User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613
30. Two-wire Interface (TWI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 634
SAM G53G / SAM G53N [DATASHEET]
Atmel-11240F-ATARM-SAM-G53G-SAM-G53N-Datasheet_24-Jul-15
iv
30.1
30.2
30.3
30.4
30.5
30.6
30.7
30.8
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Embedded Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
List of Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
I/O Lines Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Product Dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Functional Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Two-wire Interface (TWI) User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
634
634
635
635
635
636
636
660
31. Inter-IC Sound Controller (I2SC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 677
31.1
31.2
31.3
31.4
31.5
31.6
31.7
31.8
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Embedded Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
I/O Lines Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Product Dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Functional Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
I2SC Application Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Inter-IC Sound Controller (I2SC) User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
677
678
679
679
679
681
685
687
32. Pulse Density Modulation Interface Controller (PDMIC) . . . . . . . . . . . . . . . . . . . . . . . . . 701
32.1
32.2
32.3
32.4
32.5
32.6
32.7
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Embedded Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Signal Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Product Dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Functional Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Pulse Density Modulation Interface Controller (PDMIC) User Interface . . . . . . . . . . . . . . . . . . . . .
701
701
701
702
703
704
711
33. Universal Synchronous Asynchronous Receiver Transmitter (USART) . . . . . . . . . 723
33.1
33.2
33.3
33.4
33.5
33.6
33.7
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 723
Embedded Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 723
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 724
I/O Lines Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 724
Product Dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 725
Functional Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 726
Universal Synchronous Asynchronous Receiver Transmitter (USART) User Interface . . . . . . . . . 748
34. Universal Asynchronous Receiver Transmitter (UART) . . . . . . . . . . . . . . . . . . . . . . . . . 775
34.1
34.2
34.3
34.4
34.5
34.6
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Embedded Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Product Dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Functional Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Universal Asynchronous Receiver Transmitter (UART) User Interface . . . . . . . . . . . . . . . . . . . . .
775
775
775
776
776
786
35. Timer Counter (TC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 800
35.1
35.2
35.3
35.4
35.5
35.6
v
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Embedded Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Pin List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Product Dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Functional Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SAM G53G / SAM G53N [DATASHEET]
Atmel-11240F-ATARM-SAM-G53G-SAM-G53N-Datasheet_24-Jul-15
800
800
800
802
802
803
35.7
Timer Counter (TC) User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 817
36. Analog-to-Digital Converter (ADC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 843
36.1
36.2
36.3
36.4
36.5
36.6
36.7
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Embedded Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Signal Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Product Dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Functional Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Analog-to-Digital (ADC) User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
843
844
845
845
846
847
861
37. Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 884
37.1
37.2
37.3
37.4
37.5
37.6
37.7
37.8
Absolute Maximum Ratings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Recommended Operating Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Power Consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Oscillator Characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PLL Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12-bit ADC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
AC Characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
884
884
885
890
895
901
902
905
38. Mechanical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 917
38.1
38.2
38.3
38.4
49-lead WLCSP Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
100-lead LQFP Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Soldering Profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Packaging Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
917
919
920
920
39. Marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 921
40. Ordering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 922
41. Errata . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 923
41.1
Errata SAM G53 Rev A Parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 923
42. Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 925
Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 942
SAM G53G / SAM G53N [DATASHEET]
Atmel-11240F-ATARM-SAM-G53G-SAM-G53N-Datasheet_24-Jul-15
vi
ARM Connected Logo
XXXXXX
Atmel Corporation
1600 Technology Drive, San Jose, CA 95110 USA
T: (+1)(408) 441.0311
F: (+1)(408) 436.4200
|
www.atmel.com
© 2015 Atmel Corporation. / Rev.: Atmel-11240F-ATARM-SAM-G53G-SAM-G53N-Datasheet_24-Jul-15.
Atmel®, Atmel logo and combinations thereof, Enabling Unlimited Possibilities®, and others are registered trademarks or trademarks of Atmel Corporation in U.S. and
other countries. ARM®, ARM Connected® logo, and others are the registered trademarks or trademarks of ARM Ltd. Other terms and product names may be
trademarks of others.
DISCLAIMER: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right
is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE
ATMEL WEBSITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT
SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES
FOR LOSS AND PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS
BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this
document and reserves the right to make changes to specifications and products descriptions at any time without notice. Atmel does not make any commitment to update the information
contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel products are not intended,
authorized, or warranted for use as components in applications intended to support or sustain life.
SAFETY-CRITICAL, MILITARY, AND AUTOMOTIVE APPLICATIONS DISCLAIMER: Atmel products are not designed for and will not be used in connection with any applications where
the failure of such products would reasonably be expected to result in significant personal injury or death (“Safety-Critical Applications”) without an Atmel officer's specific written
consent. Safety-Critical Applications include, without limitation, life support devices and systems, equipment or systems for the operation of nuclear facilities and weapons systems.
Atmel products are not designed nor intended for use in military or aerospace applications or environments unless specifically designated by Atmel as military-grade. Atmel products are
not designed nor intended for use in automotive applications unless specifically designated by Atmel as automotive-grade.