Description
The Atmel SAM4S series is a member of a family of Flash
microcontrollers based on the high performance 32-bit ARM Cortex-M4
RISC processor. It operates at a maximum speed of 120 MHz and
features up to 2048 Kbytes of Flash, with optional dual bank
implementation and cache memory, and up to 160 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, 2x three
channel general-purpose 16-bit timers (with stepper motor and
quadrature decoder logic support), an RTC, a 12-bit ADC, a 12-bit
DAC and an analog comparator.
Features
• Core
– ARM® Cortex®-M4 with a 2Kbytes cache running at up to 120 MHz
– Memory Protection Unit (MPU)
– DSP Instruction Set
– Thumb®-2 instruction set
• Pin-to-pin compatible with SAM3N, SAM3S products (64- and 100-
pin versions) and SAM7S legacy products (64-pin version)
• Memories
– Up to 2048 Kbytes embedded Flash with optional dual bank and
cache memory
– Up to 160 Kbytes embedded SRAM
– 16 Kbytes ROM with embedded boot loader routines (UART, USB) and
IAP routines
– 8-bit Static Memory Controller (SMC): SRAM, PSRAM, NOR and NAND
Flash support
• 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
– RTC with Gregorian and Persian Calendar mode, waveform generation
in low power modes
– RTC clock calibration circuitry for 32.768 kHz crystal frequency
compensation
– 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 240 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 1 µ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)
– 2 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 16-channel, 1Msps ADC with differential input mode and
programmable gain
stage and auto calibration
– 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)
– Write Protected Registers
• 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 TFBGA, 9 x 9
mm, pitch 0.8 mm/
100-ball VFBGA, 7 x 7 mm, pitch 0.65 mm
– 64-lead LQFP, 10 x 10 mm, pitch 0.5 mm/ 64-pad QFN 9x9 mm, pitch
0.5 mm