Features
• Core
•
•
•
•
•
•
•
– ARM® Cortex®-M3 revision 2.0 running at up to 64 MHz
– Memory Protection Unit (MPU)
– Thumb®-2 instruction set
Pin-to-pin compatible with AT91SAM7S legacy products (48- and 64-pin versions)
Memories
– From 64 to 256 Kbytes embedded Flash, 128-bit wide access, memory accelerator,
single plane
– From 16 to 48 Kbytes embedded SRAM
– 16 Kbytes ROM with embedded bootloader routines (UART, USB) and IAP routines
– 8-bit Static Memory Controller (SMC): SRAM, PSRAM, NOR and NAND Flash
support
– Memory Protection Unit (MPU)
System
– Embedded voltage regulator for single supply operation
– Power-on-Reset (POR), Brown-out Detector (BOD) and Watchdog for safe
operation
– Quartz or ceramic resonator oscillators: 3 to 20 MHz main power with Failure
Detection and optional low power 32.768 kHz for RTC or device clock
– High precision 8/12 MHz factory trimmed internal RC oscillator with 4 MHz default
frequency for device startup. In-application trimming access for frequency
adjustment
– Slow Clock Internal RC oscillator as permanent low-power mode device clock
– Two PLLs up to 130 MHz for device clock and for USB
– Temperature Sensor
– Up to 22 peripheral DMA (PDC) channels
Low Power Modes
– Sleep and Backup modes, down to 3 µA in Backup mode
– Ultra low power RTC
Peripherals
– USB 2.0 Device: 12 Mbps, 2668 byte FIFO, up to 8 bidirectional Endpoints. On-Chip
Transceiver
– Up to 2 USARTs with ISO7816, IrDA®, RS-485, SPI, Manchester and Modem Mode
– Two 2-wire UARTs
– Up to 2 Two Wire Interface (I2C compatible), 1 SPI, 1 Serial Synchronous Controller
(I2S), 1 High Speed Multimedia Card Interface (SDIO/SD Card/MMC)
– Up to 6 Three-Channel 16-bit Timer/Counter with capture, waveform, compare and
PWM mode. Quadrature Decoder Logic and 2-bit Gray Up/Down Counter for
Stepper Motor
– 4-channel 16-bit PWM with Complementary Output, Fault Input, 12-bit Dead Time
Generator Counter for Motor Control
– 32-bit Real-time Timer and RTC with calendar and alarm features
– Up to 15-channel, 1Msps ADC with differential input mode and programmable gain
stage
– One 2-channel 12-bit 1Msps DAC
– One Analog Comparator with flexible input selection, Selectable input hysteresis
– 32-bit Cyclic Redundancy Check Calculation Unit (CRCCU)
I/O
– Up to 79 I/O lines with external interrupt capability (edge or level sensitivity),
debouncing, glitch filtering and on-die Series Resistor Termination
– Three 32-bit Parallel Input/Output Controllers, Peripheral DMA assisted Parallel
Capture Mode
Packages
– 100-lead LQFP, 14 x 14 mm, pitch 0.5 mm/100-ball LFBGA, 9 x 9 mm, pitch 0.8 mm
– 64-lead LQFP, 10 x 10 mm, pitch 0.5 mm/64-pad QFN 9x9 mm, pitch 0.5 mm
– 48-lead LQFP, 7 x 7 mm, pitch 0.5 mm/48-pad QFN 7x7 mm, pitch 0.5 mm
AT91SAM
ARM-based
Flash MCU
SAM3S Series
Summary
NOTE: This is a summary document.
The complete document is available on
the Atmel website at www.atmel.com.
6500CS–ATARM–24-Jan-11
1. SAM3S Description
Atmel's SAM3S series is a member of a family of Flash microcontrollers based on the high performance 32-bit ARM Cortex-M3 RISC processor. It operates at a maximum speed of 64 MHz
and features up to 256 Kbytes of Flash and up to 48 Kbytes of SRAM. The peripheral set
includes a Full Speed USB Device port with embedded transceiver, a High Speed MCI for
SDIO/SD/MMC, an External Bus Interface featuring a Static Memory Controller providing connection to SRAM, PSRAM, NOR Flash, LCD Module and NAND Flash, 2x USARTs, 2x UARTs,
2x TWIs, 3x SPI, an I2S, as well as 1 PWM timer, 6x general-purpose 16-bit timers, an RTC, an
ADC, a 12-bit DAC and an analog comparator.
The SAM3S series is ready for capacitive touch thanks to the QTouch library, offering an easy
way to implement buttons, wheels and sliders
The SAM3S device is a medium range general purpose microcontroller with the best ratio in
terms of reduced power consumption, processing power and peripheral set. This enables the
SAM3S to sustain a wide range of applications including consumer, industrial control, and PC
peripherals.
It operates from 1.62V to 3.6V and is available in 48-, 64- and 100-pin QFP, 48- and 64-pin
QFN, and 100-pin BGA packages.
The SAM3S series is the ideal migration path from the SAM7S series for applications that
require more performance. The SAM3S series is pin-to-pin compatible with the SAM7Sseries.
1.1
Configuration Summary
The SAM3S series devices differ in memory size, package and features list. Table 1-1 below
summarizes the configurations of the device family
Table 1-1.
Device
Configuration Summary
Flash
SRAM
Timer
Counter
Channels
GPIOs
UART/
USARTs
ADC
12-bit
DAC
Output
External Bus
Interface
HSMCI
Package
1 port
4 bits
LQFP100
BGA100
SAM3S4C
256 Kbytes
single plane
48 Kbytes
6
79
2/2(1)
16 ch.
2
8-bit data,
4 chip selects,
24-bit address
SAM3S4B
256 Kbytes
single plane
48 Kbytes
3
47
2/2
10 ch.
2
-
1 port
4 bits
LQFP64
QFN 64
SAM3S4A
256 Kbytes
single plane
48 Kbytes
3
34
2/1
8 ch.
-
-
-
LQFP48
QFN 48
SAM3S2C
128 Kbytes
single plane
32 Kbytes
6
79
2/2(1)
16 ch.
2
8-bit data,
4 chip selects,
24-bit address
1 port
4 bits
LQFP100
BGA100
SAM3S2B
128 Kbytes
single plane
32 Kbytes
3
47
2/2
10 ch.
2
-
1 port
4 bits
LQFP64
QFN 64
SAM3S2A
128 Kbytes
single plane
32 Kbytes
3
34
2/1
8 ch.
-
-
-
LQFP48
QFN 48
SAM3S1C
64 Kbytes
single plane
16 Kbytes
6
79
2/2(1)
16 ch.
2
8-bit data,
4 chip selects,
24-bit address
1 port
4 bits
LQFP100
BGA100
SAM3S1B
64 Kbytes
single plane
16 Kbytes
3
47
2/2
10 ch.
2
-
1 port
4 bits
LQFP64
QFN 64
SAM3S1A
64 Kbytes
single plane
16 Kbytes
3
34
2/1
8 ch.
-
-
-
LQFP48
QFN 48
Note:
2
1. Full Modem support on USART1.
SAM3S Summary
6500CS–ATARM–24-Jan-11
SAM3S Summary
2. SAM3S Block Diagram
TST
System Controller
UT
O
VD
D
JTA
G
VD
D
IN
SE
L
SAM3S 100-pin Version Block Diagram
TD
TDI
TMO
TC S/S
K/ W
SW DI
CL O
K
Figure 2-1.
Voltage
Regulator
PCK0-PCK2
PLLA
PLLB
PMC
JTAG & Serial Wire
RC
12/8/4 M
In-Circuit Emulator
24-Bit
N
Cortex-M3 Processor SysTick Counter V
Fmax 64 MHz
I
C
3-20 MHz
Osc.
XIN
XOUT
Flash
Unique
Identifier
SUPC
MPU
XIN32
XOUT32
OSC 32k
ERASE
RC 32k
I/D
FLASH
256 KBytes
128 KBytes
64 KBytes
SRAM
48 KBytes
32 KBytes
16 KBytes
ROM
16 KBytes
S
4-layer AHB Bus Matrix Fmax 64 MHz
8 GPBREG
VDDIO
RTT
VDDCORE
RTC
VDDPLL
POR
Peripheral
Bridge
SM
2668 USB 2.0
Bytes
Full
FIFO
Speed
PIOA / PIOB / PIOC
TWCK0
TWD0
TWCK1
TWD1
URXD0
UTXD0
URXD1
UTXD1
RXD0
TXD0
SCK0
RTS0
CTS0
RXD1
TXD1
SCK1
RTS1
CTS1
DSR1
DTR1
RI1
DCD1
TWI0
PDC
TWI1
PDC
UART0
PDC
UART1
PDC
PDC
USART1
PDC
TIOA[0:2]
TIOB[0:2]
TC[0..2]
TCLK[3:5]
Timer Counter B
NPCS0
NPCS1
NPCS2
NPCS3
MISO
MOSI
SPCK
TF
TK
TD
RD
RK
RF
PDC
SPI
PDC
TC[3..5]
SSC
PWMH[0:3]
PWML[0:3]
PWMFI0
ADTRG
AD[0..14]
ADVREF
DAC0
DAC1
DATRG
D[7:0]
A[0:23]
A21/NANDALE
A22/NANDCLE
NCS0
NCS1
NCS2
NCS3
NRD
NWE
NANDOE
NANDWE
NWAIT
PIODC[7:0]
PIODCEN1
PIODCEN2
PIODCCLK
PIO
Timer Counter A
TIOB[3:5]
NAND Flash
Logic
Static Memory
Controller
TCLK[0:2]
TIOA[3:5]
External Bus
Interface
PDC
USART0
DDP
DDM
PIO
WDT
Transceiver
RSTC
NRST
PWM
PDC
PDC
Temp. Sensor
ADC
PDC
DAC
PDC
MCCK
MCCDA
MCDA[0..3]
High Speed MCI
Analog
Comparator
ADC
DAC
Temp Sensor
ADVREF
CRC Unit
3
6500CS–ATARM–24-Jan-11
System Controller
O
UT
VD
D
IN
VD
D
JT
AG
TD
TST
SE
L
SAM3S 64-pin Version Block Diagram
I
TD
O
TM
S/
TC SW
K/ DIO
SW
CL
K
Figure 2-2.
Voltage
Regulator
PCK0-PCK2
PLLA
PLLB
PMC
JTAG & Serial Wire
RC
12/8/4 M
In-Circuit Emulator
3-20 MHz
Osc.
XIN
XOUT
Flash
Unique
Identifier
SUPC
24-Bit
N
Cortex-M3 Processor
SysTick Counter V
Fmax 64 MHz
I
C
MPU
XIN32
XOUT32
OSC 32K
I/D
FLASH
256 KBytes
128 KBytes
64 KBytes
SRAM
48 KBytes
32 KBytes
16 KBytes
ROM
16 KBytes
S
RC 32k
4-layer AHB Bus Matrix Fmax 64 MHz
8 GPBREG
VDDIO
RTT
VDDCORE
RTC
POR
VDDPLL
Peripheral
Bridge
RSTC
NRST
WDT
2668 USB 2.0
Bytes Full
FIFO Speed
Transceiver
ERASE
DDP
DDM
SM
PIOA / PIOB
TWCK0
TWD0
TWI0
PDC
TWCK1
TWD1
TWI1
PDC
URXD0
UTXD0
UART0
PDC
URXD1
UTXD1
RXD0
TXD0
SCK0
RTS0
CTS0
UART1
PDC
RXD1
TXD1
SCK1
RTS1
CTS1
DSR1
DTR1
RI1
DCD1
PDC
TC[0..2]
PDC
MCCK
MCCDA
High Speed MCI
PWM
MCDA[0..3]
PDC
Temp. Sensor
ADC
4
SSC
TF
TK
TD
RD
RK
RF
PDC
USART1
Timer Counter A
ADVREF
DAC0
DAC1
DATRG
SPI
NPCS0
NPCS1
NPCS2
NPCS3
MISO
MOSI
SPCK
PDC
PDC
TIOA[0:2]
TIOB[0:2]
ADTRG
AD[0..8]
PIODC[7:0]
PIODCEN1
PIODCEN2
PIODCCLK
PIO
USART0
TCLK[0:2]
PWMH[0:3]
PWML[0:3]
PWMFI0
PDC
PDC
Analog
Comparator
ADC
DAC
Temp Sensor
ADVREF
CRC Unit
DAC
PDC
SAM3S Summary
6500CS–ATARM–24-Jan-11
SAM3S Summary
O
UT
IN
System Controller
VD
D
VD
D
TD
TST
JT
AG
SE
L
SAM3S 48-pin Version Block Diagram
I
TD
O
TM
S/
TC SW
K/ DIO
SW
CL
K
Figure 2-3.
Voltage
Regulator
PCK0-PCK2
PLLA
PLLB
PMC
JTAG & Serial Wire
RC
12/8/4 M
XIN
XOUT
Flash
Unique
Identifier
In-Circuit Emulator
3-20 MHz
Osc.
Cortex-M3 Processor
Fmax 64 MHz
24-Bit
SysTick Counter
SUPC
MPU
XIN32
OSC32K
XOUT32
I/D
N
V
I
C
FLASH
256 KBytes
128 KBytes
64 KBytes
SRAM
48 KBytes
32 KBytes
16 KBytes
ROM
16 KBytes
S
RC 32k
ERASE
4-layer AHB Bus Matrix Fmax 64 MHz
8 GPBREG
RTT
VDDIO
VDDCORE
POR
VDDPLL
Peripheral
Bridge
RSTC
WDT
2668 USB 2.0
Bytes Full
FIFO Speed
Transceiver
RTC
DDP
DDM
SM
PIOA / PIOB
TWCK0
TWD0
TWI0
PDC
TWCK1
TWD1
TWI1
PDC
URXD0
UTXD0
UART0
PDC
URXD1
UTXD1
UART1
PDC
RXD0
TXD0
SCK0
SSC
TF
TK
TD
RD
RK
RF
PDC
USART0
RTS0
CTS0
TCLK[0:2]
SPI
NPCS0
NPCS1
NPCS2
NPCS3
MISO
MOSI
SPCK
PDC
PDC
Timer Counter A
TIOA[0:2]
TIOB[0:2]
TC[0..2]
Analog
Comparator
ADC
Temp Sensor
ADVREF
PWMH[0:3]
PWML[0:3]
PWMFI0
PWM
PDC
CRC Unit
ADTRG
Temp. Sensor
AD[0..7]
ADVREF
ADC
PDC
5
6500CS–ATARM–24-Jan-11
3. Signal Description
Table 3-1 gives 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
Peripherals I/O Lines and USB transceiver
Power Supply
Power
1.62V to 3.6V
VDDIN
Voltage Regulator Input, ADC, DAC and
Analog Comparator Power Supply
Power
1.8V to 3.6V(4)
VDDOUT
Voltage Regulator Output
Power
1.8V Output
VDDPLL
Oscillator and PLL Power Supply
Power
1.62 V to 1.95V
VDDCORE
Power the core, the embedded memories
and the peripherals
Power
GND
Ground
Ground
1.62V to 1.95V
Clocks, Oscillators and PLLs
XIN
Main Oscillator Input
XOUT
Main Oscillator Output
XIN32
Slow Clock Oscillator Input
XOUT32
Slow Clock Oscillator Output
PCK0 - PCK2
Input
Output
Input
Output
Programmable Clock Output
VDDIO
Reset State:
- PIO Input
- Internal Pull-up disabled
- Schmitt Trigger enabled(1)
Reset State:
- PIO Input
- Internal Pull-up enabled
- Schmitt Trigger enabled(1)
Output
Serial Wire/JTAG Debug Port - SWJ-DP
TCK/SWCLK
Test Clock/Serial Wire Clock
Input
TDI
Test Data In
Input
TDO/TRACESWO
Test Data Out / Trace Asynchronous Data
Out
Output
TMS/SWDIO
Test Mode Select /Serial Wire Input/Output
Input / I/O
JTAGSEL
JTAG Selection
Input
VDDIO
Reset State:
- SWJ-DP Mode
- Internal pull-up disabled
- Schmitt Trigger enabled(1)
High
Permanent Internal
pull-down
High
Reset State:
- Erase Input
- Internal pull-down enabled
- Schmitt Trigger enabled(1)
Flash Memory
ERASE
Flash and NVM Configuration Bits Erase
Command
Input
VDDIO
Reset/Test
NRST
Synchronous Microcontroller Reset
TST
Test Select
6
I/O
Input
Low
VDDIO
Permanent Internal
pull-up
Permanent Internal
pull-down
SAM3S Summary
6500CS–ATARM–24-Jan-11
SAM3S Summary
Table 3-1.
Signal Description List (Continued)
Signal Name
Function
Type
Active
Level
Voltage
reference
Comments
Universal Asynchronous Receiver Transmitter - UARTx
URXDx
UART Receive Data
Input
UTXDx
UART Transmit Data
Output
PIO Controller - PIOA - PIOB - PIOC
PA0 - PA31
Parallel IO Controller A
I/O
PB0 - PB14
Parallel IO Controller B
I/O
PC0 - PC31
Parallel IO Controller C
I/O
VDDIO
Reset State:
- PIO or System IOs(2)
- Internal pull-up enabled
- Schmitt Trigger enabled(1)
PIO Controller - Parallel Capture Mode (PIOA Only)
PIODC0-PIODC7
Parallel Capture Mode Data
Input
PIODCCLK
Parallel Capture Mode Clock
Input
PIODCEN1-2
Parallel Capture Mode Enable
Input
VDDIO
External Bus Interface
D0 - D7
Data Bus
I/O
A0 - A23
Address Bus
NWAIT
External Wait Signal
Output
Input
Low
Static Memory Controller - SMC
NCS0 - NCS3
Chip Select Lines
Output
Low
NRD
Read Signal
Output
Low
NWE
Write Enable
Output
Low
NAND Flash Logic
NANDOE
NAND Flash Output Enable
Output
Low
NANDWE
NAND Flash Write Enable
Output
Low
High Speed Multimedia Card Interface - HSMCI
MCCK
Multimedia Card Clock
I/O
MCCDA
Multimedia Card Slot A Command
I/O
MCDA0 - MCDA3
Multimedia Card Slot A Data
I/O
Universal Synchronous Asynchronous Receiver Transmitter USARTx
SCKx
USARTx Serial Clock
I/O
TXDx
USARTx Transmit Data
I/O
RXDx
USARTx Receive Data
Input
RTSx
USARTx Request To Send
CTSx
USARTx Clear To Send
DTR1
USART1 Data Terminal Ready
DSR1
USART1 Data Set Ready
Input
DCD1
USART1 Data Carrier Detect
Input
RI1
USART1 Ring Indicator
Input
Output
Input
I/O
7
6500CS–ATARM–24-Jan-11
Table 3-1.
Signal Name
Signal Description List (Continued)
Function
Type
Active
Level
Voltage
reference
Comments
Synchronous Serial Controller - SSC
TD
SSC Transmit Data
Output
RD
SSC Receive Data
Input
TK
SSC Transmit Clock
I/O
RK
SSC Receive Clock
I/O
TF
SSC Transmit Frame Sync
I/O
RF
SSC Receive Frame Sync
I/O
Timer/Counter - TC
TCLKx
TC Channel x External Clock Input
Input
TIOAx
TC Channel x I/O Line A
I/O
TIOBx
TC Channel x I/O Line B
I/O
Pulse Width Modulation Controller- PWMC
PWMHx
PWM Waveform Output High for channel x
PWMLx
PWM Waveform Output Low for channel x
PWMFI0
PWM Fault Input
Output
only output in
complementary mode when
dead time insertion is
enabled
Output
Input
Serial Peripheral Interface - SPI
MISO
Master In Slave Out
I/O
MOSI
Master Out Slave In
I/O
SPCK
SPI Serial Clock
I/O
SPI_NPCS0
SPI Peripheral Chip Select 0
I/O
Low
SPI_NPCS1 SPI_NPCS3
SPI Peripheral Chip Select
Output
Low
Two-Wire Interface- TWI
TWDx
TWIx Two-wire Serial Data
I/O
TWCKx
TWIx Two-wire Serial Clock
I/O
Analog
ADC, DAC and Analog Comparator
Reference
ADVREF
Analog
Analog-to-Digital Converter - ADC
AD0 - AD14
Analog Inputs
ADTRG
ADC Trigger
Analog,
Digital
Input
VDDIO
12-bit Digital-to-Analog Converter - DAC
DAC0 - DAC1
Analog output
DACTRG
DAC Trigger
8
Analog,
Digital
Input
VDDIO
SAM3S Summary
6500CS–ATARM–24-Jan-11
SAM3S Summary
Table 3-1.
Signal Description List (Continued)
Signal Name
Function
Type
Active
Level
Voltage
reference
Comments
Fast Flash Programming Interface - FFPI
PGMEN0-PGMEN2
Programming Enabling
Input
VDDIO
PGMM0-PGMM3
Programming Mode
Input
PGMD0-PGMD15
Programming Data
I/O
PGMRDY
Programming Ready
Output
High
PGMNVALID
Data Direction
Output
Low
PGMNOE
Programming Read
Input
Low
PGMCK
Programming Clock
Input
PGMNCMD
Programming Command
Input
VDDIO
Low
USB Full Speed Device
DDM
USB Full Speed Data -
DDP
USB Full Speed Data +
Notes:
Analog,
Digital
VDDIO
Reset State:
- USB Mode
- Internal Pull-down(3)
1. Schmitt Triggers can be disabled through PIO registers.
2. Some PIO lines are shared with System IOs.
3. Refer to the USB sub section in the product Electrical Characteristics Section for Pull-down value in USB Mode.
4. See Section 5.3 “Typical Powering Schematics” for restriction on voltage range of Analog Cells.
9
6500CS–ATARM–24-Jan-11
4. Package and Pinout
4.1
SAM3S4/2/1C Package and Pinout
Figure 4-2 shows the orientation of the 100-ball LFBGA Package
4.1.1
100-lead LQFP Package Outline
Figure 4-1.
Orientation of the 100-lead LQFP Package
75
51
76
50
100
26
1
4.1.2
25
100-ball LFBGA Package Outline
The 100-Ball LFBGA package has a 0.8 mm ball pitch and respects Green Standards. Its dimensions are 9 x 9 x 1.1 mm.
Figure 4-2.
Orientation of the 100-BALL LFBGA Package
TOP VIEW
10
9
8
7
6
5
4
3
2
1
A B C D E F G H J K
BALL A1
10
SAM3S Summary
6500CS–ATARM–24-Jan-11
SAM3S Summary
4.1.3
100-Lead LQFP Pinout
Table 4-1.
100-lead LQFP SAM3S4/2/1C Pinout
1
ADVREF
26
GND
51
TDI/PB4
76
TDO/TRACESWO/PB
5
2
GND
27
VDDIO
52
PA6/PGMNOE
77
JTAGSEL
3
PB0/AD4
28
PA16/PGMD4
53
PA5/PGMRDY
78
PC18
4
PC29/AD13
29
PC7
54
PC28
79
TMS/SWDIO/PB6
5
PB1/AD5
30
PA15/PGMD3
55
PA4/PGMNCMD
80
PC19
6
PC30/AD14
31
PA14/PGMD2
56
VDDCORE
81
PA31
7
PB2/AD6
32
PC6
57
PA27/PGMD15
82
PC20
8
PC31
33
PA13/PGMD1
58
PC8
83
TCK/SWCLK/PB7
9
PB3/AD7
34
PA24/PGMD12
59
PA28
84
PC21
10
VDDIN
35
PC5
60
NRST
85
VDDCORE
11
VDDOUT
36
VDDCORE
61
TST
86
PC22
12
PA17/PGMD5/AD0
37
PC4
62
PC9
87
ERASE/PB12
13
PC26
38
PA25/PGMD13
63
PA29
88
DDM/PB10
14
PA18/PGMD6/AD1
39
PA26/PGMD14
64
PA30
89
DDP/PB11
15
PA21/PGMD9/AD8
40
PC3
65
PC10
90
PC23
16
VDDCORE
41
PA12/PGMD0
66
PA3
91
VDDIO
17
PC27
42
PA11/PGMM3
67
PA2/PGMEN2
92
PC24
18
PA19/PGMD7/AD2
43
PC2
68
PC11
93
PB13/DAC0
19
PC15/AD11
44
PA10/PGMM2
69
VDDIO
94
PC25
20
PA22/PGMD10/AD9
45
GND
70
GND
95
GND
21
PC13/AD10
46
PA9/PGMM1
71
PC14
96
PB8/XOUT
22
PA23/PGMD1
47
PC1
72
PA1/PGMEN1
97
PB9/PGMCK/XIN
23
PC12/AD12
48
PA8/XOUT32/
PGMM0
73
PC16
98
VDDIO
24
PA20/PGMD8/AD3
49
PA7/XIN32/
PGMNVALID
74
PA0/PGMEN0
99
PB14/DAC1
25
PC0
50
VDDIO
75
PC17
100
VDDPLL
11
6500CS–ATARM–24-Jan-11
4.1.4
100-ball LFBGA Pinout
Table 4-2.
100-ball LFBGA SAM3S4/2/1C Pinout
A1
PB1/AD5
C6
TCK/SWCLK/PB7
F1
PA18/PGMD6/AD1
H6
PC4
A2
PC29
C7
PC16
F2
PC26
H7
PA11/PGMM3
A3
VDDIO
C8
PA1/PGMEN1
F3
VDDOUT
H8
PC1
A4
PB9/PGMCK/XIN
C9
PC17
F4
GND
H9
PA6/PGMNOE
A5
PB8/XOUT
C10
PA0/PGMEN0
F5
VDDIO
H10
TDI/PB4
A6
PB13/DAC0
D1
PB3/AD7
F6
PA27/PGMD15
J1
PC15/AD11
A7
DDP/PB11
D2
PB0/AD4
F7
PC8
J2
PC0
A8
DDM/PB10
D3
PC24
F8
PA28
J3
PA16/PGMD4
A9
TMS/SWDIO/PB6
D4
PC22
F9
TST
J4
PC6
A10
JTAGSEL
D5
GND
F10
PC9
J5
PA24/PGMD12
B1
PC30
D6
GND
G1
PA21/PGMD9/AD8
J6
PA25/PGMD13
B2
ADVREF
D7
VDDCORE
G2
PC27
J7
PA10/PGMM2
B3
GNDANA
D8
PA2/PGMEN2
G3
PA15/PGMD3
J8
GND
B4
PB14/DAC1
D9
PC11
G4
VDDCORE
J9
VDDCORE
B5
PC21
D10
PC14
G5
VDDCORE
J10
VDDIO
B6
PC20
E1
PA17/PGMD5/AD0
G6
PA26/PGMD14
K1
PA22/PGMD10/AD9
B7
PA31
E2
PC31
G7
PA12/PGMD0
K2
PC13/AD10
B8
PC19
E3
VDDIN
G8
PC28
K3
PC12/AD12
B9
PC18
E4
GND
G9
PA4/PGMNCMD
K4
PA20/PGMD8/AD3
B10
TDO/TRACESWO/
PB5
E5
GND
G10
PA5/PGMRDY
K5
PC5
C1
PB2/AD6
E6
NRST
H1
PA19/PGMD7/AD2
K6
PC3
C2
VDDPLL
E7
PA29/AD13
H2
PA23/PGMD11
K7
PC2
C3
PC25
E8
PA30/AD14
H3
PC7
K8
PA9/PGMM1
C4
PC23
E9
PC10
H4
PA14/PGMD2
K9
PA8/XOUT32/PGMM0
C5
ERASE/PB12
E10
PA3
H5
PA13/PGMD1
K10
PA7/XIN32/
PGMNVALID
12
SAM3S Summary
6500CS–ATARM–24-Jan-11
SAM3S Summary
4.2
SAM3S4/2/1B Package and Pinout
Figure 4-3.
Orientation of the 64-pad QFN Package
64
49
1
48
16
33
32
17
Figure 4-4.
TOP VIEW
Orientation of the 64-lead LQFP Package
48
33
49
32
64
17
1
16
13
6500CS–ATARM–24-Jan-11
4.2.1
64-Lead LQFP and QFN Pinout
64-pin version SAM3S devices are pin-to-pin compatible with AT91SAM7S legacy products.
Furthermore, SAM3S products have new functionalities shown in italic in Table 4-3.
Table 4-3.
64-pin SAM3S4/2/1B Pinout
1
ADVREF
17
GND
33
TDI/PB4
49
TDO/TRACESWO/PB5
2
GND
18
VDDIO
34
PA6/PGMNOE
50
JTAGSEL
3
PB0/AD4
19
PA16/PGMD4
35
PA5/PGMRDY
51
TMS/SWDIO/PB6
4
PB1/AD5
20
PA15/PGMD3
36
PA4/PGMNCMD
52
PA31
5
PB2/AD6
21
PA14/PGMD2
37
PA27/PGMD15
53
TCK/SWCLK/PB7
6
PB3/AD7
22
PA13/PGMD1
38
PA28
54
VDDCORE
7
VDDIN
23
PA24/PGMD12
39
NRST
55
ERASE/PB12
8
VDDOUT
24
VDDCORE
40
TST
56
DDM/PB10
9
PA17/PGMD5/
AD0
25
PA25/PGMD13
41
PA29
57
DDP/PB11
10
PA18/PGMD6/
AD1
26
PA26/PGMD14
42
PA30
58
VDDIO
11
PA21/PGMD9/
AD8
27
PA12/PGMD0
43
PA3
59
PB13/DAC0
12
VDDCORE
28
PA11/PGMM3
44
PA2/PGMEN2
60
GND
13
PA19/PGMD7/
AD2
29
PA10/PGMM2
45
VDDIO
61
XOUT/PB8
14
PA22/PGMD10/
AD9
30
PA9/PGMM1
46
GND
62
XIN/PGMCK/PB9
15
PA23/PGMD11
31
PA8/XOUT32/
PGMM0
47
PA1/PGMEN1
63
PB14/DAC1
16
PA20/PGMD8/
AD3
32
PA7/XIN32/
PGMNVALID
48
PA0/PGMEN0
64
VDDPLL
Note:
14
The bottom pad of the QFN package must be connected to ground.
SAM3S Summary
6500CS–ATARM–24-Jan-11
SAM3S Summary
4.3
SAM3S4/2/1A Package and Pinout
Figure 4-5.
Orientation of the 48-pad QFN Package
48
37
1
36
12
25
13
24
TOP VIEW
Figure 4-6.
Orientation of the 48-lead LQFP Package
36
25
37
24
48
13
1
12
15
6500CS–ATARM–24-Jan-11
4.3.1
48-Lead LQFP and QFN Pinout
Table 4-4.
48-pin SAM3S4/2/1A Pinout
1
ADVREF
13
VDDIO
25
TDI/PB4
37
TDO/TRACESWO/
PB5
2
GND
14
PA16/PGMD4
26
PA6/PGMNOE
38
JTAGSEL
3
PB0/AD4
15
PA15/PGMD3
27
PA5/PGMRDY
39
TMS/SWDIO/PB6
4
PB1/AD5
16
PA14/PGMD2
28
PA4/PGMNCMD
40
TCK/SWCLK/PB7
5
PB2/AD6
17
PA13/PGMD1
29
NRST
41
VDDCORE
6
PB3/AD7
18
VDDCORE
30
TST
42
ERASE/PB12
7
VDDIN
19
PA12/PGMD0
31
PA3
43
DDM/PB10
8
VDDOUT
20
PA11/PGMM3
32
PA2/PGMEN2
44
DDP/PB11
9
PA17/PGMD5/
AD0
21
PA10/PGMM2
33
VDDIO
45
XOUT/PB8
10
PA18/PGMD6/
AD1
22
PA9/PGMM1
34
GND
46
XIN/PB9/PGMCK
11
PA19/PGMD7/
AD2
23
PA8/XOUT32/
PGMM0
35
PA1/PGMEN1
47
VDDIO
12
PA20/AD3
24
PA7/XIN32/
PGMNVALID
36
PA0/PGMEN0
48
VDDPLL
Note:
16
The bottom pad of the QFN package must be connected to ground.
SAM3S Summary
6500CS–ATARM–24-Jan-11
SAM3S Summary
5. Power Considerations
5.1
Power Supplies
The SAM3S product has several types of power supply pins:
• VDDCORE pins: Power the core, the embedded memories and the peripherals; voltage
ranges from 1.62V and 1.95V.
• VDDIO pins: Power the Peripherals I/O lines (Input/Output Buffers); USB transceiver; Backup
part, 32kHz crystal oscillator and oscillator pads; ranges from 1.62V and 3.6V
• VDDIN pin: Voltage Regulator Input, ADC, DAC and Analog Comparator Power Supply;
Voltage ranges from 1.8V to 3.6V
• VDDPLL pin: Powers the PLLA, PLLB, the Fast RC and the 3 to 20 MHz oscillator; voltage
ranges from 1.62V and 1.95V.
5.2
Voltage Regulator
The SAM3S embeds a voltage regulator that is managed by the Supply Controller.
This internal regulator is intended to supply the internal core of SAM3S. It features two different
operating modes:
• In Normal mode, the voltage regulator consumes less than 700 µA static current and draws
80 mA of output current. Internal adaptive biasing adjusts the regulator quiescent current
depending on the required load current. In Wait Mode quiescent current is only 7 µA.
• In Backup mode, the voltage regulator consumes less than 1 µA while its output (VDDOUT) is
driven internally to GND. The default output voltage is 1.80V and the start-up time to reach Normal mode is inferior to 100 µs.
For adequate input and output power supply decoupling/bypassing, refer to the Voltage Regulator section in the Electrical Characteristics section of the datasheet.
5.3
Typical Powering Schematics
The SAM3S supports a 1.62V-3.6V single supply mode. The internal regulator input connected
to the source and its output feeds VDDCORE. Figure 5-1 shows the power schematics.
As VDDIN powers the voltage regulator, the ADC/DAC and the analog comparator, when the
user does not want to use the embedded voltage regulator, it can be disabled by software via
the SUPC (note that it is different from Backup mode).
17
6500CS–ATARM–24-Jan-11
Figure 5-1.
Single Supply
VDDIO
Main Supply
(1.8V-3.6V)
USB
Transceivers.
ADC, DAC
Analog Comp.
VDDIN
VDDOUT
Voltage
Regulator
VDDCORE
VDDPLL
Note:
Restrictions
With Main Supply < 2.0 V, USB and ADC/DAC and Analog comparator are not usable.
With Main Supply ≥ 2.0V and < 3V, USB is not usable.
With Main Supply ≥ 3V, all peripherals are usable.
Figure 5-2.
Core Externally Supplied
VDDIO
Main Supply
(1.62V-3.6V)
USB
Transceivers.
Can be the
same supply
ADC, DAC, Analog
Comparator Supply
(2.0V-3.6V)
ADC, DAC
Analog Comp.
VDDIN
VDDOUT
VDDCORE Supply
(1.62V-1.95V)
Voltage
Regulator
VDDCORE
VDDPLL
Note:
Restrictions
With Main Supply < 2.0V, USB is not usable.
With VDDIN < 2.0V, ADC/DAC and Analog comparator are not usable.
With Main Supply ≥ 2.0V and < 3V, USB is not usable.
With Main Supply and VDDIN ≥ 3V, all peripherals are usable.
Figure 5-3 below provides an example of the powering scheme when using a backup battery.
Since the PIO state is preserved when in backup mode, any free PIO line can be used to switch
off the external regulator by driving the PIO line at low level (PIO is input, pull-up enabled after
backup reset). External wake-up of the system can be from a push button or any signal. See
Section 5.6 “Wake-up Sources” for further details.
18
SAM3S Summary
6500CS–ATARM–24-Jan-11
SAM3S Summary
Figure 5-3.
Backup Battery
ADC, DAC, Analog
Comparator Supply
(2.0V-3.6V)
Backup
Battery
VDDIO
USB
Transceivers.
+
ADC, DAC
Analog Comp.
VDDIN
Main Supply
IN
OUT
3.3V
LDO
VDDOUT
Voltage
Regulator
VDDCORE
ON/OFF
VDDPLL
PIOx (Output)
WAKEUPx
External wakeup signal
Note: The two diodes provide a “switchover circuit” (for illustration purpose)
between the backup battery and the main supply when the system is put in
backup mode.
5.4
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 PLLA. The power management controller can be used to adapt
the frequency and to disable the peripheral clocks.
5.5
Low Power Modes
The various low power modes of the SAM3S are described below:
5.5.1
Backup Mode
The purpose of backup mode is to achieve the lowest power consumption possible in a system
which is performing periodic wake-ups to perform tasks but not requiring fast startup time
( ‘technical’.
Typos fixed in Section 1. “SAM3S Description”.
Missing title added to Table 14-1.
PLLA input frequency range updated in Section 10.5 “Clock Generator”.
A sentence completed in Section 5.5.2 “Wait Mode”.
Last sentence removed from Section 9.1.3.10 “SAM-BA® Boot”.
‘three GPNVM bits’ replaced by ‘two GPNVM bits’ in Section 9.1.3.11 “GPNVM Bits”.
Leftover sentence removed from Section 4.1 “SAM3S4/2/1C Package and Pinout”.
6500BS
6500AS
62
Change
Request Ref.
rfo
7536
7524
7494
7492
7428
7394
“Packages” on page 1, package size or pitch updated.
Table 1-1, “Configuration Summary”, ADC column updated, footnote gives precision on reserved
channel.
Table 4-2, “100-ball LFBGA SAM3S4/2/1C Pinout”, pinout information is available.
Figure 5-1, "Single Supply",Figure 5-2, "Core Externally Supplied" , updated notes below figures.
Figure 5-2, "Core Externally Supplied", Figure 5-3, "Backup Battery", ADC, DAC, Analog Comparator
supply is 2.0V-3.6V.
Section 12.13 “Analog Comparator”, “Peripherals” on page 1, reference to “window function”
removed.
Section 9.1.3.8 “Unique Identifier”, Each device integrates its own 128-bit unique identifier.
7214
6981
7201
7243/rfo
7103
7307
First issue
SAM3S Summary
6500CS–ATARM–24-Jan-11
SAM3S Summary
63
6500CS–ATARM–24-Jan-11
Headquarters
International
Atmel Corporation
2325 Orchard Parkway
San Jose, CA 95131
USA
Tel: 1(408) 441-0311
Fax: 1(408) 487-2600
Atmel Asia
Unit 1-5 & 16, 19/F
BEA Tower, Millennium City 5
418 Kwun Tong Road
Kwun Tong, Kowloon
Hong Kong
Tel: (852) 2245-6100
Fax: (852) 2722-1369
Atmel Europe
Le Krebs
8, Rue Jean-Pierre Timbaud
BP 309
78054 Saint-Quentin-enYvelines Cedex
France
Tel: (33) 1-30-60-70-00
Fax: (33) 1-30-60-71-11
Atmel Japan
9F, Tonetsu Shinkawa Bldg.
1-24-8 Shinkawa
Chuo-ku, Tokyo 104-0033
Japan
Tel: (81) 3-3523-3551
Fax: (81) 3-3523-7581
Technical Support
AT91SAM Support
Atmel technical support
Sales Contacts
www.atmel.com/contacts/
Product Contact
Web Site
www.atmel.com
www.atmel.com/AT91SAM
Literature Requests
www.atmel.com/literature
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 ATMEL’S TERMS AND CONDITIONS OF SALE LOCATED ON ATMEL’S WEB SITE, 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 OF 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 product 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’s products are not intended, authorized, or warranted for use
as components in applications intended to support or sustain life.
© 2011 Atmel Corporation. All rights reserved. Atmel®, Atmel logo and combinations thereof, SAM-BA ® and others are registered trademarks or
trademarks of Atmel Corporation or its subsidiaries. ARM ®, ARM ®Powered logo, Cortex ®, Thumb ®-2 and others are registered trademarks or
trademarks of ARM Ltd. Other terms and product names may be trademarks of others.
6500CS–ATARM–24-Jan-11