Features
•
Incorporates the ARM7TDMI
®
ARM
®
Thumb
®
Processor
– High-performance 32-bit RISC Architecture
– High-density 16-bit Instruction Set
– Leader in MIPS/Watt
– EmbeddedICE
™
In-circuit Emulation, Debug Communication Channel Support
Internal High-speed Flash
– 512 Kbytes, Organized in Two Contiguous Banks of 1024 Pages of 256 Bytes Dual
Plane (SAM7SE512)
– 256 Kbytes (SAM7SE256) Organized in One Bank of 1024 Pages of 256 Bytes
Single Plane (SAM7SE256)
– 32 Kbytes (SAM7SE32) Organized in One Bank of 256 Pages of 128 Bytes Single
Plane (SAM7SE32)
– Single Cycle Access at Up to 30 MHz in Worst Case Conditions
– Prefetch Buffer Optimizing Thumb Instruction Execution at Maximum Speed
– Page Programming Time: 6 ms, Including Page Auto-erase, Full Erase Time: 15 ms
– 10,000 Erase Cycles, 10-year Data Retention Capability, Sector Lock Capabilities,
Flash Security Bit
– Fast Flash Programming Interface for High Volume Production
32 Kbytes (SAM7SE512/256) or 8 Kbytes (SAM7SE32) of Internal
High-speed SRAM, Single-cycle Access at Maximum Speed
One External Bus Interface (EBI)
– Supports SDRAM, Static Memory, Glueless Connection to CompactFlash
®
and
ECC-enabled NAND Flash
Memory Controller (MC)
– Embedded Flash Controller
– Memory Protection Unit
– Abort Status and Misalignment Detection
Reset Controller (RSTC)
– Based on Power-on Reset Cells and Low-power Factory-calibrated Brownout
Detector
– Provides External Reset Signal Shaping and Reset Source Status
Clock Generator (CKGR)
– Low-power RC Oscillator, 3 to 20 MHz On-chip Oscillator and One PLL
Power Management Controller (PMC)
– Power Optimization Capabilities, Including Slow Clock Mode (Down to 500 Hz) and
Idle Mode
– Three Programmable External Clock Signals
Advanced Interrupt Controller (AIC)
– Individually Maskable, Eight-level Priority, Vectored Interrupt Sources
– Two External Interrupt Sources and One Fast Interrupt Source, Spurious Interrupt
Protected
Debug Unit (DBGU)
– Two-wire UART and Support for Debug Communication Channel interrupt,
Programmable ICE Access Prevention
– Mode for General Purpose Two-wire UART Serial Communication
Periodic Interval Timer (PIT)
– 20-bit Programmable Counter plus 12-bit Interval Counter
Windowed Watchdog (WDT)
– 12-bit key-protected Programmable Counter
•
AT91SAM
ARM-based
Flash MCU
SAM7SE512
SAM7SE256
SAM7SE32
•
•
•
•
•
•
•
•
•
•
6222H–ATARM–25-Jan-12
Downloaded from
Arrow.com.
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
– Provides Reset or Interrupt Signals to the System
– Counter May Be Stopped While the Processor is in Debug State or in Idle Mode
Real-time Timer (RTT)
– 32-bit Free-running Counter with Alarm
– Runs Off the Internal RC Oscillator
Three Parallel Input/Output Controllers (PIO)
– Eighty-eight Programmable I/O Lines Multiplexed with up to Two Peripheral I/Os
– Input Change Interrupt Capability on Each I/O Line
– Individually Programmable Open-drain, Pull-up Resistor and Synchronous Output
– Schmitt Trigger on All inputs
Eleven Peripheral DMA Controller (PDC) Channels
One USB 2.0 Full Speed (12 Mbits per second) Device Port
– On-chip Transceiver, Eight Endpoints, 2688-byte Configurable Integrated FIFOs
One Synchronous Serial Controller (SSC)
– Independent Clock and Frame Sync Signals for Each Receiver and Transmitter
– I²S Analog Interface Support, Time Division Multiplex Support
– High-speed Continuous Data Stream Capabilities with 32-bit Data Transfer
Two Universal Synchronous/Asynchronous Receiver Transmitters (USART)
– Individual Baud Rate Generator, IrDA
®
Infrared Modulation/Demodulation
– Support for ISO7816 T0/T1 Smart Card, Hardware Handshaking, RS485 Support
– Full Modem Line Support on USART1
One Master/Slave Serial Peripheral Interfaces (SPI)
– 8- to 16-bit Programmable Data Length, Four External Peripheral Chip Selects
One Three-channel 16-bit Timer/Counter (TC)
– Three External Clock Inputs, Two Multi-purpose I/O Pins per Channel
– Double PWM Generation, Capture/Waveform Mode, Up/Down Capability
One Four-channel 16-bit PWM Controller (PWMC)
One Two-wire Interface (TWI)
– Master, Multi-Master and Slave Mode Support, All Two-wire Atmel EEPROMs Supported
– General Call Supported in Slave Mode
One 8-channel 10-bit Analog-to-Digital Converter, Four Channels Multiplexed with Digital I/Os
SAM-BA
®
– Default Boot program
– Interface with SAM-BA Graphic User Interface
IEEE
®
1149.1 JTAG Boundary Scan on All Digital Pins
Four High-current Drive I/O lines, Up to 16 mA Each
Power Supplies
– Embedded 1.8V Regulator, Drawing up to 100 mA for the Core and External Components
– 1.8V or 3,3V VDDIO I/O Lines Power Supply, Independent 3.3V VDDFLASH Flash Power Supply
– 1.8V VDDCORE Core Power Supply with Brownout Detector
Fully Static Operation:
– Up to 55 MHz at 1.8V and 85⋅ C Worst Case Conditions
– Up to 48 MHz at 1.65V and 85⋅ C Worst Case Conditions
Available in a 128-lead LQFP Green Package, or a 144-ball LFBGA RoHS-compliant Package
2
SAM7SE512/256/32
6222H–ATARM–25-Jan-12
Downloaded from
Arrow.com.
SAM7SE512/256/32
1. Description
Atmel's SAM7SE Series is a member of its Smart ARM Microcontroller family based on the 32-
bit ARM7
™
RISC processor and high-speed Flash memory.
• SAM7SE512 features a 512-Kbyte high-speed Flash and a 32 Kbyte SRAM.
• SAM7SE256 features a 256-Kbyte high-speed Flash and a 32 Kbyte SRAM.
• SAM7SE32 features a 32-Kbyte high-speed Flash and an 8 Kbyte SRAM.
It also embeds a large set of peripherals, including a USB 2.0 device, an External Bus Interface
(EBI), and a complete set of system functions minimizing the number of external components.
The EBI incorporates controllers for synchronous DRAM (SDRAM) and Static memories and
features specific circuitry facilitating the interface for NAND Flash, SmartMedia and
CompactFlash.
The device is an ideal migration path for 8/16-bit microcontroller users looking for additional per-
formance, extended memory and higher levels of system integration.
The embedded Flash memory can be programmed in-system via the JTAG-ICE interface or via
a parallel interface on a production programmer prior to mounting. Built-in lock bits and a secu-
rity bit protect the firmware from accidental overwrite and preserve its confidentiality.
The SAM7SE Series system controller includes a reset controller capable of managing the
power-on sequence of the microcontroller and the complete system. Correct device operation
can be monitored by a built-in brownout detector and a watchdog running off an integrated RC
oscillator.
By combining the ARM7TDMI processor with on-chip Flash and SRAM, and a wide range of
peripheral functions, including USART, SPI, External Bus Interface, Timer Counter, RTT and
Analog-to-Digital Converters on a monolithic chip, the SAM7SE512/256/32 is a powerful device
that provides a flexible, cost-effective solution to many embedded control applications.
1.1
Configuration Summary of the SAM7SE512, SAM7SE256 and SAM7SE32
The SAM7SE512, SAM7SE256 and SAM7SE32 differ in memory sizes and organization.
Table
1-1
below summarizes the configurations for the three devices.
Table 1-1.
Device
SAM7SE512
SAM7SE256
SAM7SE32
Configuration Summary
Flash Size
512K bytes
256K bytes
32K bytes
Flash Organization
dual plane
single plane
single plane
RAM Size
32K bytes
32K bytes
8K bytes
3
6222H–ATARM–25-Jan-12
Downloaded from
Arrow.com.
2. Block Diagram
Figure 2-1.
SAM7SE512/256/32 Block Diagram Signal Description
TDI
TDO
TMS
TCK
JTAGSEL
ICE
JTAG
SCAN
ARM7TDMI
Processor
1.8V
Voltage
Regulator
Memory Controller
Embedded
Address
Flash
Decoder
Controller
Abort
Status
Misalignment
Detection
Flash
512 Kbytes (SE512)
256 Kbytes (SE256)
32 Kbytes (SE32)
VDDFLASH
ERASE
VDDIN
GND
VDDOUT
VDDCORE
TST
FIQ
System Controller
PIO
IRQ0-IRQ1
AIC
SRAM
32 Kbytes (SE512/256)
or
8 Kbytes (SE32)
VDDIO
DRXD
DTXD
DBGU
PDC
PDC
PCK0-PCK2
PLLRC
XIN
XOUT
PLL
OSC
RCOSC
PMC
Memory Protection
Unit
Peripheral Bridge
VDDFLASH
VDDCORE
VDDCORE
NRST
BOD
POR
Reset
Controller
Peripheral DMA
Controller
11 Channels
ROM
PGMRDY
PGMNVALID
PGMNOE
PGMCK
PGMM0-PGMM3
PGMD0-PGMD15
PGMNCMD
PGMEN0-PGMEN1
Fast Flash
Programming
Interface
PIT
WDT
APB
SAM-BA
RTT
PIOA
PIOB
PIOC
EBI
RXD0
TXD0
SCK0
RTS0
CTS0
RXD1
TXD1
SCK1
RTS1
CTS1
DCD1
DSR1
DTR1
RI1
NPCS0
NPCS1
NPCS2
NPCS3
MISO
MOSI
SPCK
TCLK0
TCLK1
TCLK2
TIOA0
TIOB0
TIOA1
TIOB1
TIOA2
TIOB2
ADTRG
AD0
AD1
AD2
AD3
AD4
AD5
AD6
AD7
ADVREF
PDC
USART0
PDC
PDC
USART1
CompactFlash
NAND Flash
PIO
SDRAM
Controller
PDC
PDC
PIO
SPI
PDC
Timer Counter
TC0
TC1
TC2
PDC
Static Memory
Controller
ECC
Controller
Transciever
D[31:0]
A0/NBS0
A1/NBS2
A[15:2], A[20:18]
A21/NANDALE
A22/REG/NANDCLE
A16/BA0
A17/BA1
NCS0
NCS1/SDCS
NCS2/CFCS1
NCS3/NANDCS
NRD/CFOE
NWR0/NWE/CFWE
NWR1/NBS1/CFIOR
NBS3/CFIOW
SDCKE
RAS
CAS
SDWE
SDA10
CFRNW
NCS4/CFCS0
NCS5/CFCE1
NCS6/CFCE2
NCS7
NANDOE
NANDWE
NWAIT
SDCK
FIFO
USB Device
DDM
DDP
PWMC
PIO
ADC
PDC
SSC
PDC
TWI
PWM0
PWM1
PWM2
PWM3
TF
TK
TD
RD
RK
RF
TWD
TWCK
4
SAM7SE512/256/32
6222H–ATARM–25-Jan-12
Downloaded from
Arrow.com.
SAM7SE512/256/32
3. Signal Description
Table 3-1.
Signal Name
Signal Description List
Function
Power
Type
Active
Level
Comments
VDDIN
VDDOUT
VDDFLASH
VDDIO
VDDCORE
VDDPLL
GND
Voltage Regulator and ADC Power
Supply Input
Voltage Regulator Output
Flash and USB Power Supply
I/O Lines Power Supply
Core Power Supply
PLL
Ground
Power
Power
Power
Power
Power
Power
Ground
3V to 3.6V
1.85V
3V to 3.6V
3V to 3.6V or 1.65V to 1.95V
1.65V to 1.95V
1.65V to 1.95V
Clocks, Oscillators and PLLs
XIN
XOUT
PLLRC
PCK0 - PCK2
Main Oscillator Input
Main Oscillator Output
PLL Filter
Programmable Clock Output
Input
Output
Input
Output
ICE and JTAG
TCK
TDI
TDO
TMS
JTAGSEL
Test Clock
Test Data In
Test Data Out
Test Mode Select
JTAG Selection
Input
Input
Output
Input
Input
Flash Memory
ERASE
Flash and NVM Configuration Bits
Erase Command
Input
Reset/Test
NRST
TST
Microcontroller Reset
Test Mode Select
I/O
Input
Debug Unit
DRXD
DTXD
Debug Receive Data
Debug Transmit Data
AIC
IRQ0 - IRQ1
FIQ
External Interrupt Inputs
Fast Interrupt Input
Input
Input
Input
Output
Low
High
Open drain with pull-up resistor
(1)
Pull-down resistor
(1)
High
Pull-down resistor
(1)
No pull-up resistor.
Pull-down resistor
(1)
No pull-up resistor
No pull-up resistor
5
6222H–ATARM–25-Jan-12
Downloaded from
Arrow.com.