– DSP Instruction Extensions
– ARM Jazelle
– 16 Kbyte Data Cache, 16 Kbyte Instruction Cache, Write Buffer
– 210 MIPS at 190 MHz
– Memory Management Unit
– EmbeddedICE
– Mid-level implementation Embedded Trace Macrocell
• Additional Embedded Memories
– 32 Kbytes of Internal ROM, Single-cycle Access at Maximum Bus Speed
– 160 Kbytes of Internal SRAM, Single-cycle Access at Maximum Processor or Bus
Speed
• External Bus Interface (EBI)
– Supports SDRAM, Static Memory, NAND Flash and CompactFlash
• LCD Controller
– Supports Passive or Active Displays
– Up to 16-bits per Pixel in STN Color Mode
– Up to 16M Colors in TFT Mode (24-bit per Pixel), Resolution up to 2048 x 2048
• USB
– USB 2.0 Full Speed (12 Mbits per second) Host Double Port
• Dual On-chip Transceivers
• Integrated FIFOs and Dedicated DMA Channels
– USB 2.0 Full Speed (12 Mbits per second) Device Port
– Handles Five Masters and Five Slaves
– Boot Mode Select Option
– Remap Command
• Fully Featured System Controller (SYSC) for Efficient System Management, including
– Reset Controller, Shutdown Controller, Four 32-bit Battery Backup Registers for a
Total of 16 Bytes
– Clock Generator and Power Management Controller
– Advanced Interrupt Controller and Debug Unit
– Periodic Interval Timer, Watchdog Timer and Real-time Timer
– Three 32-bit PIO Controllers
• Reset Controller (RSTC)
– Based on Power-on Reset Cells, Reset Source Identification and Reset Output
Control
• Shutdown Controller (SHDWC)
– Programmable Shutdown Pin Control and Wake-up Circuitry
• Clock Generator (CKGR)
– 32,768 Hz Low-power Oscillator on Battery Backup Power Supply, Providing a
Permanent Slow Clock
– 3 to 20 MHz On-chip Oscillator and two PLLs
• Power Management Controller (PMC)
– Very Slow Clock Operating Mode, Software Programmable Power Optimization
Capabilities
– Four Programmable External Clock Signals
®
Technology for Java® Acceleration
™
, Debug Communication Channel Support
®
Thumb® Processor
™
®
AT91 ARM
Thumb-based
Microcontrollers
AT91SAM9261
Preliminary
Summary
NOTE: This is a summary document.
The complete document is available on
the Atmel website at www.atmel.com.
6062JS–ATARM–06-Feb-08
• Advanced Interrupt Controller (AIC)
– Individually Maskable, Eight-level Priority, Vectored Interrupt Sources
– Three External Interrupt Sources and One Fast Interrupt Source, Spurious Interrupt Protected
• Debug Unit (DBGU)
– 2-wire USART and support for Debug Communication Channel, Programmable ICE Access Prevention
• Periodic Interval Timer (PIT)
– 20-bit Interval Timer plus 12-bit Interval Counter
• Watchdog Timer (WDT)
– Key Protected, Programmable Only Once, Windowed 12-bit Counter, Running at Slow Clock
• Real-Time Timer (RTT)
– 32-bit Free-running Backup Counter Running at Slow Clock
• Three 32-bit Parallel Input/Output Controllers (PIO) PIOA, PIOB and PIOC
– 96 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
• Nineteen Peripheral DMA (PDC) Channels
• Multimedia Card Interface (MCI)
– SDCard and MultiMediaCard™ Compliant
– Automatic Protocol Control and Fast Automatic Data Transfers with PDC, MMC and SDCard Compliant
• Three Synchronous Serial Controllers (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
• Three Universal Synchronous/Asynchronous Receiver Transmitters (USART)
®
– Individual Baud Rate Generator, IrDA
– Support for ISO7816 T0/T1 Smart Card, Hardware and Software Handshaking, RS485 Support
Infrared Modulation/Demodulation
• Two Master/Slave Serial Peripheral Interface (SPI)
– 8- to 16-bit Programmable Data Length, Four External Peripheral Chip Selects
• One Three-channel 16-bit Timer/Counters (TC)
– Three External Clock Inputs, Two multi-purpose I/O Pins per Channel
– Double PWM Generation, Capture/Waveform Mode, Up/Down Capability
• Two-wire Interface (TWI)
– Master Mode Support, All Two-wire Atmel EEPROMs Supported
®
• IEEE
1149.1 JTAG Boundary Scan on All Digital Pins
• Required Power Supplies:
– 1.08V to 1.32V for VDDCORE and VDDBU
– 3.0V to 3.6V for VDDOSC and for VDDPLL
– 2.7V to 3.6V for VDDIOP (Peripheral I/Os)
– 1.65V to 1.95V and 3.0V to 3.6V for VDDIOM (Memory I/Os)
• Available in a 217-ball LFBGA RoHS-compliant Package
2
AT91SAM9261 Preliminary
6062JS–ATARM–06-Feb-08
1.Description
AT91SAM9261 Preliminary
The AT91SAM9261 is a complete system-on-chip built around the ARM926EJ-S ARM Thumb
processor with an extended DSP instruction set and Jazelle Java accelerator. It achieves 210
MIPS at 190 MHz.
The AT91SAM9261 is an optimized host processor for applications with an LCD display. Its integrated LCD controller supports BW and up to 16M color, active and passive LCD displays. The
160 Kbyte integrated SRAM can be configured as a frame buffer minimizing the impact for LCD
refresh on the overall processor performance. The External Bus Interface incorporates controllers for synchronous DRAM (SDRAM) and Static memories and features specific interface
circuitry for CompactFlash and NAND Flash.
The AT91SAM9261 integrates a ROM-based Boot Loader supporting code shadowing from, for
example, external DataFlash
ment Controller (PMC) keeps system power consumption to a minimum by selectively
enabling/disabling the processor and various peripherals and adjustment of the operating
frequency.
The AT91SAM9261 also benefits from the integration of a wide range of debug features including JTAG-ICE, a dedicated UART debug channel (DBGU) and an embedded real time trace.
This enables the development and debug of all applications, especially those with real-time
constraints.
®
into external SDRAM. The software controlled Power Manage-
VDDIOMEBI I/O Lines Power SupplyPower1.65 V to 1.95V and 3.0V to 3.6V
VDDIOPPeripherals I/O Lines Power SupplyPower2.7V to 3.6V
VDDBUBackup I/O Lines Power SupplyPower1.08V to 1.32V
VDDPLLPLL Power SupplyPower3.0V to 3.6V
VDDOSCOscillator Power SupplyPower3.0V to 3.6V
VDDCORECore Chip Power SupplyPower1.08V to 1.32V
GNDGroundGround
GNDPLLPLL GroundGround
GNDOSCOscillator GroundGround
GNDBUBackup GroundGround
Note:1. Shaded cells define the pins powered by VDDIOM.
10
AT91SAM9261 Preliminary
6062JS–ATARM–06-Feb-08
5.Power Considerations
5.1Power Supplies
The AT91SAM9261 has six types of power supply pins:
• VDDCORE pins: Power the core, including the processor, the memories and the peripherals;
voltage ranges from 1.08V and 1.32V, 1.2V nominal.
• VDDIOM pins: Power the External Bus Interface I/O lines; voltage ranges from 1.65V to
1.95V and 3.0V to 3.6V, 1.8V and 3.3V nominal.
• VDDIOP pins: Power the Peripheral I/O lines and the USB transceivers; voltage ranges from
2.7V and 3.6V, 3.3V nominal.
• VDDBU pin: Powers the Slow Clock oscillator and a part of the System Controller; voltage
ranges from 1.08V and 1.32V, 1.2V nominal.
• VDDPLL pin: Powers the PLL cells; voltage ranges from 3.0V and 3.6V, 3.3V nominal.
• VDDOSC pin: Powers the Main Oscillator cells; voltage ranges from 3.0V and 3.6V, 3.3V
nominal.
The double power supplies VDDIOM and VDDIOP are identified in Table 4-1 on page 10. These
supplies enable the user to power the device differently for interfacing with memories and for
interfacing with peripherals.
AT91SAM9261 Preliminary
Ground pins GND are common to VDDCORE, VDDIOM and VDDIOP pins power supplies. Separated ground pins are provided for VDDBU, VDDOSC and VDDPLL. The ground pins are
GNDBU, GNDOSC and GNDPLL, respectively.
5.2Power Consumption
The AT91SAM9261 consumes about 550 µA of static current on VDDCORE at 25°C. This static
current rises at up to 5.5 mA if the temperature increases to 85°C.
On VDDBU, the current does not exceed 3 µA @25°C, but can rise at up to 20 µA @85°C.
For dynamic power consumption, the AT91SAM9261 consumes a maximum of 50 mA on
VDDCORE at maximum speed in typical conditions (1.2V, 25°C), processor running full-performance algorithm.
6.I/O Line Considerations
6.1JTAG Port Pins
TMS, TDI and TCK are Schmitt trigger inputs and have no pull-up resistors.
TDO and RTCK are outputs, driven at up to VDDIOP, and have no pull-up resistor.
The JTAGSEL pin is used to select the JTAG boundary scan when asserted at a high level (tied
to VDDBU). It integrates a permanent pull-down resistor of about 15 kΩ to GNDBU, so that it can
be left unconnected for normal operations.
6062JS–ATARM–06-Feb-08
The NTRST pin is used to initialize the embedded ICE TAP Controller when asserted at a low
level. It integrates a permanent pull-up resistor of about 15 kΩ to VDDIOP, so that it can be left
unconnected for normal operations.
11
6.2Test Pin
The TST pin is used for manufacturing test purposes when asserted high. It integrates a permanent pull-down resistor of about 15 kΩ to GNDBU, so that it can be left unconnected for normal
operations. Driving this line at a high level leads to unpredictable results.
6.3Reset Pin
NRST is an open-drain output integrating a non-programmable pull-up resistor. It can be driven
with voltage at up to VDDIOP. As the product integrates power-on reset cells, the NRST pin can
be left unconnected in case no reset from the system needs to be applied to the product.
The NRST pin integrates a permanent pull-up resistor of 100 kΩ minimum to VDDIOP.
The NRST signal is inserted in the Boundary Scan.
6.4PIO Controller A, B and C Lines
All the I/O lines PA0 to PA31, PB0 to PB31, and PC0 to PC31 integrate a programmable pull-up
resistor of 100 kΩ. Programming of this pull-up resistor is performed independently for each I/O
line through the PIO Controllers.
After reset, all the I/O lines default as inputs with pull-up resistors enabled, except those which
are multiplexed with the External Bus Interface signals that require to be enabled as Peripherals
at reset. This is explicitly indicated in the column “Reset State” of the PIO Controller multiplexing
tables.
6.5Shutdown Logic Pins
The SHDN pin is an output only, driven by Shutdown Controller.
The pin WKUP is an input only. It can accept voltages only between 0V and VDDBU.
12
AT91SAM9261 Preliminary
6062JS–ATARM–06-Feb-08
7.Processor and Architecture
7.1ARM926EJ-S Processor
• RISC Processor Based on ARM v5TEJ Architecture with Jazelle technology for Java
acceleration
• Two Instruction Sets
– ARM High-performance 32-bit Instruction Set
– Thumb High Code Density 16-bit Instruction Set
– Virtually-addressed 4-way Associative Cache
– Eight words per line
– Write-through and Write-back Operation
– Pseudo-random or Round-robin Replacement
• Write Buffer
– Main Write Buffer with 16-word Data Buffer and 4-address Buffer
– DCache Write-back Buffer with 8-word Entries and a Single Address Entry
– Software Control Drain
• Standard ARM v4 and v5 Memory Management Unit (MMU)
– Access Permission for Sections
– Access Permission for large pages and small pages can be specified separately for
each quarter of the page
– 16 embedded domains
• Bus Interface Unit (BIU)
– Arbitrates and Schedules AHB Requests
– Separate Masters for both instruction and data access providing complete AHB
system flexibility
– Separate Address and Data Buses for both the 32-bit instruction interface and the
32-bit data interface
– On Address and Data Buses, data can be 8-bit (Bytes), 16-bit (Half-words) or 32-bit
– Two real-time Watchpoint Units
– Two Independent Registers: Debug Control Register and Debug Status Register
– Test Access Port Accessible through JTAG Protocol
– Debug Communications Channel
• Debug Unit
–Two-pin UART
– Debug Communication Channel Interrupt Handling
– Chip ID Register
• Embedded Trace Macrocell: ETM9
– Medium+ Level Implementation
– Half-rate Clock Mode
– Four Pairs of Address Comparators
– Two Data Comparators
– Eight Memory Map Decoder Inputs
– Two 16-bit Counters
– One 3-stage Sequencer
– One 45-byte FIFO
• IEEE1149.1 JTAG Boundary-scan on All Digital Pins
™
7.3Bus Matrix
• Five Masters and Five Slaves handled
– Handles Requests from the ARM926EJ-S, USB Host Port, LCD Controller and the
Peripheral DMA Controller to internal ROM, internal SRAM, EBI, APB, LCD
Controller and USB Host Port.
– Round-Robin Arbitration (three modes supported: no default master, last accessed
default master, fixed default master)
– Burst Breaking with Slot Cycle Limit
• One Address Decoder Provided per Master
– Three different slaves may be assigned to each decoded memory area: one for
internal boot, one for external boot, one after remap.
• Boot Mode Select Option
– Non-volatile Boot Memory can be Internal or External.
– Selection is made by BMS pin sampled at reset.
• Remap Command
– Allows Remapping of an Internal SRAM in Place of the Boot Non-Volatile Memory
– Allows Handling of Dynamic Exception Vectors
7.4Peripheral DMA Controller
• Transfers from/to peripheral to/from any memory space without intervention of the processor.
• Next Pointer Support, forbids strong real-time constraints on buffer management.
14
AT91SAM9261 Preliminary
6062JS–ATARM–06-Feb-08
• Nineteen channels
– Two for each USART
– Two for the Debug Unit
– Two for each Serial Synchronous Controller
– Two for each Serial Peripheral Interface
– One for the Multimedia Card Interface
AT91SAM9261 Preliminary
6062JS–ATARM–06-Feb-08
15
8.Memories
Figure 8-1.AT91SAM9261 Memory Mapping
Address Memory Space
0x0000 0000
0x0FFF FFFF
0x1000 0000
0x1FFF FFFF
0x2000 0000
0x2FFF FFFF
0x3000 0000
0x3FFF FFFF
0x4000 0000
0x4FFF FFFF
0x5000 0000
0x5FFF FFFF
0x6000 0000
0x6FFF FFFF
0x7000 0000
0x7FFF FFFF
0x8000 0000
0x8FFF FFFF
0x9000 0000
0xEFFF FFFF
0xF000 0000
0xFFFF FFFF
Internal Memories
EBI
Chip Select 0
EBI
Chip Select 1/
SDRAMC
EBI
Chip Select 2
EBI
Chip Select 3/
NANDFlash
EBI
Chip Select 4/
Compact Flash
Slot 0
EBI
Chip Select 5/
Compact Flash
Slot 1
EBI
Chip Select 6
EBI
Chip Select 7
Undefined
(Abort)
Internal Peripherals
256M Bytes
256M Bytes
256M Bytes
256M Bytes
256M Bytes
256M Bytes
256M Bytes
256M Bytes
256M Bytes
1,518M Bytes
256M Bytes
0x0000 0000
0x0FFF FFFF
0xF000 0000
0xFFFA 0000
0xFFFA 4000
0xFFFA 8000
0xFFFA C000
0xFFFB 0000
0xFFFB 4000
0xFFFB 8000
0xFFFB C000
0xFFFC 0000
0xFFFC 4000
0xFFFC 8000
0xFFFC C000
0xFFFC D000
0xFFFF C000
0xFFFF FFFF
Internal Memory Mapping
0x10 0000
0x20 0000
0x30 0000
0x40 0000
0x50 0000
Boot Memory (1)
UHP User Interface
0x60 0000
LCD User Interface
0x70 0000
Peripheral Mapping
ITCM (2)
DTCM (2)
SRAM (2)
ROM
Reserved
Reserved
TCO, TC1, TC2
UDP
MCI
TWI
USART0
USART1
USART2
SSC0
SSC1
SSC2
SPI0
SPI1
Reserved
SYSC
1M Bytes
1M Bytes
1M Bytes
1M Bytes
1M Bytes
1M Bytes
16K Bytes
16K Bytes
16K Bytes
16K Bytes
16K Bytes
16K Bytes
16K Bytes
16K Bytes
16K Bytes
16K Bytes
16K Bytes
16K Bytes
16K Bytes
Notes :
(1) Can be ROM, EBI_NCS0 or SRAM
depending on BMS and REMAP
(2) Software programmable
System Controller Mapping
0xFFFF C000
Reserved
0xFFFF EA00
SDRAMC
0xFFFF EC00
SMC
0xFFFF EE00
MATRIX
0xFFFF F000
AIC
0xFFFF F200
DBGU
0xFFFF F400
PIOA
0xFFFF F600
PIOB
0xFFFF F800
PIOC
0xFFFF FA00
Reserved
0xFFFF FC00
PMC
0xFFFF FD00
0xFFFF FD10
0xFFFF FD20
0xFFFF FD30
0xFFFF FD40
0xFFFF FD50
0xFFFF FD60
RSTC
SHDWC
RTT
PIT
WDT
GPBR
Reserved
0xFFFF FFFF
512 Bytes
512 Bytes
512 Bytes
512 Bytes
512 Bytes
512 Bytes
512 bytes
512 bytes
256 Bytes
16 Bytes
16 Bytes
16 Bytes
16 Bytes
16 Bytes
16 Bytes
16
AT91SAM9261 Preliminary
6062JS–ATARM–06-Feb-08
AT91SAM9261 Preliminary
A first level of address decoding is performed by the Bus Matrix, i.e., the implementation of the
Advanced High performance Bus (AHB) for its Master and Slave interfaces with additional
features.
Decoding breaks up the 4 Gbytes of address space into 16 areas of 256 Mbytes. The areas 1 to
8 are directed to the EBI that associates these areas to the external chip selects NCS0 to NCS7.
The area 0 is reserved for the addressing of the internal memories, and a second level of decoding provides 1 Mbyte of internal memory area. The area 15 is reserved for the peripherals and
provides access to the Advanced Peripheral Bus (APB).
Other areas are unused and performing an access within them provides an abort to the master
requesting such an access.
The Bus Matrix manages five Masters and five Slaves.
Each Master has its own bus and its own decoder, thus allowing a different memory mapping
per Master.
Regarding Master 0 and Master 1 (ARM926
assigned to the memory space decoded at address 0x0: one for internal boot, one for external
boot, one after remap. Refer to Table 8-3 for details.
Table 8-1.List of Bus Matrix Masters
™
Instruction and Data), three different Slaves are
Master 0ARM926 Instruction
Master 1ARM926 Data
Master 2PDC
Master 3LCD Controller
Master 4USB Host
Each Slave has its own arbiter, thus allowing a different arbitration per Slave.
Table 8-2.List of Bus Matrix Slaves
Slave 0Internal SRAM
Slave 1Internal ROM
Slave 2LCD Controller and USB Host Port Interfaces
Slave 3External Bus Interface
Slave 4Internal Peripherals
8.1Embedded Memories
• 32 KB ROM
– Single Cycle Access at full bus speed
• 160 KB Fast SRAM
– Single Cycle Access at full bus speed
– Supports ARM926EJ-S TCM interface at full processor speed
6062JS–ATARM–06-Feb-08
17
8.1.1Internal Memory Mapping
Table 8-3 summarizes the Internal Memory Mapping for each Master, depending on the Remap
status and the BMS state at reset.
Table 8-3.Internal Memory Mapping
AddressMaster 0: ARM926 InstructionMaster 1: ARM926 Data
Note:1. EBI NCS0 is to be connected to a 16-bit non-volatile memory. The access configuration is defined by the reset state of SMC
Setup, SMC Pulse, SMC Cycle and SMC Mode CS0 registers.
(1)
Int. RAM CInt. ROMEBI NCS0
(1)
Int. RAM C
8.1.1.1Internal SRAM
The AT91SAM9261 embeds a high-speed 160 Kbyte SRAM. This Internal SRAM is split into
three areas. Its Memory Mapping is detailed in Table 8-3 above.
• Internal SRAM A is the ARM926EJ-S Instruction TCM and the user can map this SRAM
block anywhere in the ARM926 instruction memory space using CP15 instructions. This
SRAM block is also accessible by the ARM926 Data Master and by the AHB Masters through
the AHB bus at address 0x0010 0000.
• Internal SRAM B is the ARM926EJ-S Data TCM and the user can map this SRAM block
anywhere in the ARM926 data memory space using CP15 instructions. This SRAM block is
also accessible by the ARM926 Data Master and by the AHB Masters through the AHB bus
at address 0x0020 0000.
• Internal SRAM C is only accessible by all the AHB Masters.
After reset and until the Remap Command is performed, this SRAM block is accessible
through the AHB bus at address 0x0030 0000 by all the AHB Masters.
After Remap, this SRAM block also becomes accessible through the AHB bus at address
0x0 by the ARM926 Instruction and the ARM926 Data Masters.
Within the 160 Kbyte SRAM size available, the amount of memory assigned to each block is
software programmable as a multiple of 16 Kbytes according to Table 8-4. This table provides
the size of the Internal SRAM C according to the size of the Internal SRAM A and the Internal
SRAM B.
Table 8-4.Internal SRAM Block Size
Internal SRAM C
0
16 Kbytes
32 Kbytes
Internal SRAM B (DCTM)
64 Kbytes
Note that among the ten 16 Kbyte blocks making up the Internal SRAM, two are permanently
assigned to Internal SRAM C.
At reset, the whole memory (160 Kbytes) is assigned to Internal SRAM C.
18
AT91SAM9261 Preliminary
Internal SRAM A (ITCM)
016 Kbytes32 Kbytes64 Kbytes
160 Kbytes144 Kbytes128 Kbytes96 Kbytes
144 Kbytes128 Kbytes112 Kbytes80 Kbytes
128 Kbytes112 Kbytes96 Kbytes64 Kbytes
96 Kbytes80 Kbytes64 Kbytes32 Kbytes
6062JS–ATARM–06-Feb-08
The memory blocks assigned to SRAM A, SRAM B and SRAM C areas are not contiguous and
when the user dynamically changes the Internal SRAM configuration, the new 16 Kbyte block
organization may affect the previous configuration from a software point of view.
Table 8-5 illustrates different configurations and the related 16 Kbyte blocks (RB0 to RB9)
assignments.
Table 8-5.16 Kbyte Block Allocation
Configuration Examples and Related 16 Kbyte Block Assignments
The AT91SAM9261 integrates a 32 Kbyte Internal ROM mapped at address 0x0040 0000. It is
also accessible at address 0x0 after reset and before remap if the BMS is tied high during reset.
8.1.1.3USB Host Port
The AT91SAM9261 integrates a USB Host Port Open Host Controller Interface (OHCI). The registers of this interface are directly accessible on the AHB Bus and are mapped like a standard
internal memory at address 0x0050 0000.
8.1.1.4LCD Controller
The AT91SAM9261 integrates an LCD Controller. The interface is directly accessible on the
AHB Bus and is mapped like a standard internal memory at address 0x0060 0000.
6062JS–ATARM–06-Feb-08
19
8.1.2Boot Strategies
The system always boots at address 0x0. To ensure a maximum number of possibilities for boot,
the memory layout can be configured with two parameters.
REMAP allows the user to lay out the first internal SRAM bank to 0x0 to ease development. This
is done by software once the system has booted for each Master of the Bus Matrix. Refer to the
Bus Matrix Section for more details.
When REMAP = 0, BMS allows the user to lay out to 0x0, at his convenience, the ROM or an
external memory. This is done via hardware at reset.
Note:Memory blocks not affected by these parameters can always be seen at their specified base
addresses. See the complete memory map presented in Figure 8-1 on page 16.
The AT91SAM9261 Bus Matrix manages a boot memory that depends on the level on the BMS
pin at reset. The internal memory area mapped between address 0x0 and 0x000F FFFF is
reserved for this purpose.
If BMS is detected at 1, the boot memory is the embedded ROM.
If BMS is detected at 0, the boot memory is the memory connected on the Chip Select 0 of the
External Bus Interface.
8.1.2.1BMS = 1, Boot on Embedded ROM
The system boots using the Boot Program.
• DataFlash Boot
– Downloads and runs an application from SPI DataFlash into internal SRAM
– Downloaded code size from SPI DataFlash depends on embedded SRAM
–size
– Automatic detection of valid application
– SPI DataFlash connected to SPI NPCS0
• NANDFlash Boot
• Boot Uploader in case no valid program is detected in external SPI DataFlash
– Small monitor functionalities (read/write/run) interface with SAM-BA
– Automatic detection of the communication link
Serial communication on a DBGU (XModem protocol)
™
application
USB Device Port (CDC Protocol)
8.1.2.2BMS = 0, Boot on External Memory
• Boot on slow clock (32,768 Hz)
• Boot with the default configuration for the Static Memory Controller, byte select mode, 16-bit
data bus, Read/Write controlled by Chip Select, allows boot on 16-bit non-volatile memory.
The customer-programmed software must perform a complete configuration.
To speed up the boot sequence when booting at 32 kHz EBI CS0 (BMS=0), the user must take
the following steps:
1. Program the PMC (main oscillator enable or bypass mode).
2. Program and start the PLL.
20
AT91SAM9261 Preliminary
6062JS–ATARM–06-Feb-08
AT91SAM9261 Preliminary
3. Reprogram the SMC setup, cycle, hold, mode timings registers for CS0 to adapt them
to the new clock
4. Switch the main clock to the new value.
8.1.3ETM
™
Memories
The eight ETM9 Medium+ memory map decoder inputs are connected to custom address
decoders and the resulting memory mapping is summarized in Table 8-6.
External Bus InterfaceExternalData0x1000 00000x8FFF FFFF
External Bus InterfaceExternalFetch0x1000 00000x8FFF FFFF
User PeripheralsInternalData0xF000 00000xFFFF BFFF
System PeripheralsInternalData0xFFFF C0000xFFFF FFFF
8.2External Memories
The external memories are accessed through the External Bus Interface (Bus Matrix Slave 3).
Refer to the memory map in Figure 8-1 on page 16.
6062JS–ATARM–06-Feb-08
21
9.System Controller
The System Controller manages all vital blocks of the microcontroller: interrupts, clocks, power,
time, debug and reset.
The System Peripherals are all mapped within the highest 6 Kbytes of address space, between
addresses 0xFFFF EA00 and 0xFFFF FFFF. Each peripheral has an address space of 256 or
512 Bytes, representing 64 or 128 registers.
Figure 9-1 on page 23 shows the System Controller block diagram.
Figure 8-1 on page 16 shows the mapping of the User Interfaces of the System Controller
peripherals.
22
AT91SAM9261 Preliminary
6062JS–ATARM–06-Feb-08
9.1Block Diagram
Figure 9-1.System Controller Block Diagram
irq0-irq2
fiq
periph_irq[2..21]
pit_irq
rtt_irq
wdt_irq
dbgu_irq
pmc_irq
rstc_irq
MCK
periph_nreset
dbgu_rxd
MCK
debug
periph_nreset
SLCK
debug
idle
proc_nreset
VDDCORE Powered
NRST
SLCK
SLCK
SLCK
rtt_alarm
SLCK
dbgu_rxd
ice_nreset
jtag_nreset
MAINCK
PLLACK
PLLBCK
int
SHDN
WKUP
XIN32
XOUT32
XIN
XOUT
PLLRCA
PLLRCB
PA0-PA31
PB0-PB31
PC0-PC31
VDDCORE
POR
VDDBU
POR
backup_nreset
backup_nreset
VDDBU Powered
SLOW
CLOCK
OSC
MAIN
OSC
PLLA
PLLB
periph_nreset
usb_suspend
periph_nreset
periph_clk[2..4]
System Controller
Advanced
Interrupt
Controller
Debug
Unit
Periodic
Interval
Timer
Watchdog
Timer
wdt_fault
WDRPROC
Reset
Controller
Real-Time
Timer
Shutdown
Controller
4 General-purpose
Backup Registers
Power
Management
Controller
PIO
Controllers
AT91SAM9261 Preliminary
nirq
nfiq
int
dbgu_irq
force_ntrst
dbgu_txd
pit_irq
wdt_irq
periph_nreset
proc_nreset
backup_nreset
rstc_irq
rtt_irq
rtt_alarm
periph_clk[2..21]
pck[0-3]
PCK
UDPCK
UHPCK
LCDCK
MCK
pmc_irq
idle
periph_irq{2..4]
irq0-irq2
fiq
dbgu_txd
ice_nreset
force_ntrst
periph_clk[6..21]
periph_irq[6..21]
ntrst
proc_nreset
PCK
debug
jtag_nreset
MCK
periph_nreset
UDPCK
periph_clk[10]
periph_nreset
periph_irq[10]
usb_suspend
UHPCK
periph_clk[20]
periph_nreset
periph_irq[20]
LCDCK
periph_clk[21]
periph_nreset
periph_irq[21]
periph_nreset
in
out
enable
ARM926EJ-S
Boundary Scan
TAP Controller
Bus Matrix
USB Device
Por t
USB Host
Por t
LCD
Controller
Embedded
Peripherals
6062JS–ATARM–06-Feb-08
23
9.2Reset Controller
• Based on two Power-on-Reset cells
• Status of the last reset
– Either cold reset, first reset, soft reset, user reset, watchdog reset, wake-up reset
• Controls the internal resets and the NRST pin output
9.3Shutdown Controller
• Shutdown and Wake-up logic:
– Software programmable assertion of the SHDN pin
– Deassertion Programmable on a WKUP pin level change or on alarm
9.4General-purpose Backup Registers
• Four 32-bit general-purpose backup registers
9.5Clock Generator
• Embeds the Low-power 32768 Hz Slow Clock Oscillator
– Outputs 80 to 240 MHz clocks
– Integrates an input divider to increase output accuracy
– 1 MHz minimum input frequency
• Provides SLCK, MAINCK, PLLACK and PLLBCK.
24
Figure 9-2.Clock Generator Block Diagram
XIN32
XOUT32
XIN
XOUT
PLLRCA
PLLRCB
AT91SAM9261 Preliminary
Clock Generator
Slow Clock
Oscillator
Main
Oscillator
PLL and
Divider A
PLL and
Divider B
Power
Management
Controller
Slow Clock
SLCK
Main Clock
MAINCK
PLLA Clock
PLLACK
PLLB Clock
PLLBCK
ControlStatus
6062JS–ATARM–06-Feb-08
9.6Power Management Controller
• The Power Management Controller provides:
– the Processor Clock PCK
– the Master Clock MCK
– the USB Clock USBCK (HCK0)
– the LCD Controller Clock LCDCK (HCK1)
– up to thirty peripheral clocks
– four programmable clock outputs: PCK0 to PCK3
• Windowed, prevents the processor to be in a dead-lock on the watchdog access
AHB Peripherals
Clock Controller
ON/OFF
Programmable Clock Controller
SLCK
MAINCK
PLLACK
PLLBCK
PLLBCK
®
/WindowsCE® compliant tick generator
Prescaler
/1,/2,/4,...,/64
USB Clock Controller
ON/OFF
Divider
/1,/2,/4
HCKx
pck[0..3]
usb_suspend
UDPCK
UHPCK
9.9Real-time Timer
6062JS–ATARM–06-Feb-08
• 32-bit Free-running backup counter
• Alarm Register capable to generate a wake-up of the system
25
9.10Advanced Interrupt Controller
• Controls the interrupt lines (nIRQ and nFIQ) of an ARM Processor
• Thirty-two individually maskable and vectored interrupt sources
– Source 0 is reserved for the Fast Interrupt Input (FIQ)
– Source 1 is reserved for system peripherals (PIT, RTT, PMC, DBGU, etc.)
– Source 2 to Source 31 control up to thirty embedded peripheral interrupts or external
interrupts
– Programmable edge-triggered or level-sensitive internal sources
– Programmable positive/negative edge-triggered or high/low level-sensitive
• Four External Sources
• 8-level Priority Controller
– Drives the normal interrupt of the processor
– Handles priority of the interrupt sources 1 to 31
– Higher priority interrupts can be served during service of lower priority interrupt
• Vectoring
– Optimizes Interrupt Service Routine Branch and Execution
– One 32-bit Vector Register per interrupt source
– Interrupt Vector Register reads the corresponding current Interrupt Vector
•Protect Mode
– Easy debugging by preventing automatic operations when protect mode is enabled
•Fast Forcing
– Permits redirecting any normal interrupt source on the Fast Interrupt of the
processor
• General Interrupt Mask
– Provides processor synchronization on events without triggering an interrupt
9.11Debug Unit
26
AT91SAM9261 Preliminary
• Composed of four functions
–Two-pin UART
– Debug Communication Channel (DCC) support
– Chip ID Registers
– ICE Access Prevention
•Two-pin UART
– Implemented features are 100% compatible with the standard Atmel USART
– Independent receiver and transmitter with a common programmable Baud Rate
Generator
– Even, Odd, Mark or Space Parity Generation
– Parity, Framing and Overrun Error Detection
– Automatic Echo, Local Loopback and Remote Loopback Channel Modes
– Support for two PDC channels with connection to receiver and transmitter
• Debug Communication Channel Support
6062JS–ATARM–06-Feb-08
9.12PIO Controllers
AT91SAM9261 Preliminary
– Offers visibility of COMMRX and COMMTX signals from the ARM Processor
• Chip ID Registers
– Identification of the device revision, sizes of the embedded memories, set of
peripherals
• ICE Access prevention
– Enables software to prevent system access through the ARM Processor’s ICE
– Prevention is made by asserting the NTRST line of the ARM Processor’s ICE
• Three PIO Controllers, each controlling up to 32 programmable I/O Lines
– PIOA has 32 I/O Lines
– PIOB has 32 I/O Lines
– PIOC has 32 I/O Lines
• Fully programmable through Set/Clear Registers
• Multiplexing of two peripheral functions per I/O Line
• For each I/O Line (whether assigned to a peripheral or used as general-purpose I/O)
– Input change interrupt
– Glitch filter
– Multi-drive option enables driving in open drain
– Programmable pull up on each I/O line
– Pin data status register, supplies visibility of the level on the pin at any time
• Synchronous output, provides Set and Clear of several I/O lines in a single write
6062JS–ATARM–06-Feb-08
27
10. Peripherals
10.1User Interface
The User Peripherals are mapped in the upper 256 Mbytes of the address space between the
addresses 0xFFFA 0000 and 0xFFFC FFFF. Each User Peripheral is allocated 16 Kbytes of
address space.
A complete memory map is presented in Figure 8-1 on page 16.
10.2Peripheral Identifiers
Table 10-1 defines the Peripheral Identifiers of the AT91SAM9261. A peripheral identifier is
required for the control of the peripheral interrupt with the Advanced Interrupt Controller and for
the control of the peripheral clock with the Power Management Controller.
Note:Setting AIC, SYSIRQ, UHP, LCDC and IRQ0 to IRQ2 bits in the clock set/clear registers of the
PMC has no effect.
10.3Peripheral Multiplexing on PIO Lines
The AT91SAM9261 features three PIO controllers, PIOA, PIOB and PIOC, that multiplex the I/O
lines of the peripheral set.
Each PIO Controller controls up to thirty-two lines. Each line can be assigned to one of two
peripheral functions, A or B. Table 10-2 on page 31, Table 10-3 on page 32 and Table 10-4 on
page 33 define how the I/O lines of the peripherals A and B are multiplexed on the PIO Control-
lers. The two columns “Function” and “Comments” have been inserted for the user’s own
comments; they may be used to track how pins are defined in an application.
Note that some output only peripheral functions might be duplicated within the tables.
The column “Reset State” indicates whether the PIO line resets in I/O mode or in peripheral
mode. If I/O is mentioned, the PIO line resets in input with the pull-up enabled, so that the device
is maintained in a static state as soon as the reset is released. As a result, the bit corresponding
to the PIO line in the register PIO_PSR (Peripheral Status Register) resets low.
If a signal name is mentioned in the “Reset State” column, the PIO line is assigned to this function and the corresponding bit in PIO_PSR resets high. This is the case of pins controlling
memories, in particular the address lines, which require the pin to be driven as soon as the reset
is released. Note that the pull-up resistor is also enabled in this case.
AT91SAM9261 Preliminary
10.3.1Resource Multiplexing
10.3.1.1LCD Controller
The LCD Controller can interface with several LCD panels. It supports 4, 8 or 16 bit-per-pixel
without any limitation. Interfacing 24 bit-per-pixel TFTs panel prevents using the SSC0 and the
chip select line 0 of the SPI1.
16 bit-per-pixel TFT panels are interfaced through peripheral B functions, as color data is output
on LCDD3 to LCDD7, LCDD11 to LCDD15 and LCDD19 to LCDD23. Intensity bit is output on
LCDD2, LCDD10 and LCDD18. Using the peripheral B does not prevent using the SSC0 and
the SPI1 lines.
10.3.1.2ETM
Using the ETM prevents:
• using the USART1 and USART2 control signals, in particular the SCK lines which are
required to use the USART as ISO7816 and the RTS and CTS to handle hardware
handshaking on the serial lines. In case the ETM and an ISO7816 connection are both
required, the USART0 has to be used as a Smart Card interface.
• using the SSC1
• addressing a static memory of more than 8 Mbytes, which requires the A23 and A24 address
lines
• using the chip select lines 1 to 3 of SPI0 and SPI1
10.3.1.3EBI
6062JS–ATARM–06-Feb-08
If not required, the NWAIT function (external wait request) can be deactivated by software,
allowing this pin to be used as a PIO.
29
10.3.1.432-bit Data Bus
Using a 32-bit Data Bus prevents:
• using the three Timer Counter channels’ outputs and trigger inputs
• using the SSC2
10.3.1.5NAND Flash Interface
Using the NAND Flash interface prevents:
• using NCS3, NCS6 and NCS7 to access other parallel devices
10.3.1.6Compact Flash Interface
Using the CompactFlash interface prevents:
• using NCS4 and/or NCS5 to access other parallel devices
10.3.1.7SPI0 and the MultiMedia Card Interface
As the DataFlash Card is compatible with the SDCard, it is useful to multiplex SPI and MCI.
Here, the SPI0 signal is multiplexed with the MCI.
10.3.1.8USARTs
• Using the USART1 and USART2 control signals prevents using the ETM.
• Alternatively, using USART0 with its control signals prevents using some clock outputs and
interrupt lines.
10.3.1.9Clock Outputs
10.3.1.10Interrupt Lines
• Using the clock outputs multiplexed with the PIO A prevents using the Debug Unit and/or the
Two Wire Interface.
• Alternatively, using the second implementation of the clock outputs prevents using the LCD
Controller Interface and/or USART0.
• Using FIQ prevents using the USART0 control signals.
• Using IRQ0 prevents using the NWAIT EBI signal.
• Using the IRQ1 and/or IRQ2 prevents using the SPI1.
30
AT91SAM9261 Preliminary
6062JS–ATARM–06-Feb-08
AT91SAM9261 Preliminary
10.3.2PIO Controller A Multiplexing
Table 10-2.Multiplexing on PIO Controller A
PIO Controller AApplication Usage
Reset
I/O LinePeripheral APeripheral BComments
PA0SPI0_MISOMCDA0I/OVDDIOP
PA1SPI0_MOSIMCCDAI/OVDDIOP
PA2SPI0_SPCKMCCKI/OVDDIOP
PA3SPI0_NPCS0I/OVDDIOP
PA4SPI0_NPCS1MCDA1I/OVDDIOP
PA5SPI0_NPCS2MCDA2I/OVDDIOP
PA6SPI0_NPCS3MCDA3I/OVDDIOP
PA7TWDPCK0I/OVDDIOP
PA8TWCKPCK1I/OVDDIOP
PA9DRXDPCK2I/OVDDIOP
PA10DTXDPCK3I/OVDDIOP
PA11TSYNCSCK1I/OVDDIOP
StatePower SupplyFunctionComments
PA12TCLKRTS1I/OVDDIOP
PA13TPS0CTS1I/OVDDIOP
PA14TPS1SCK2I/OVDDIOP
PA15TPS2RTS2I/OVDDIOP
PA16TPK0CTS2I/OVDDIOP
PA17TPK1TF1I/OVDDIOP
PA18TPK2TK1I/OVDDIOP
PA19TPK3TD1I/OVDDIOP
PA20TPK4RD1I/OVDDIOP
PA21TPK5RK1I/OVDDIOP
PA22TPK6RF1I/OVDDIOP
PA23TPK7RTS0I/OVDDIOP
PA24TPK8SPI1_NPCS1I/OVDDIOP
PA25TPK9SPI1_NPCS2I/OVDDIOP
PA26TPK10SPI1_NPCS3I/OVDDIOP
PA27TPK11SPI0_NPCS1I/OVDDIOP
PA28TPK12SPI0_NPCS2I/OVDDIOP
PA29TPK13SPI0_NPCS3I/OVDDIOP
PA30TPK14A23A23VDDIOP
PA31TPK15A24A24VDDIOP
6062JS–ATARM–06-Feb-08
31
10.3.3PIO Controller B Multiplexing
Table 10-3.Multiplexing on PIO Controller B
PIO Controller BApplication Usage
Reset
I/O LinePeripheral APeripheral BComments
PB0LCDVSYNCI/OVDDIOP
PB1LCDHSYNCI/OVDDIOP
PB2LCDDOTCKPCK0I/OVDDIOP
(1)
PB3
PB4LCDCCLCDD2I/OVDDIOP
PB5LCDD0LCDD3I/OVDDIOP
PB6LCDD1LCDD4I/OVDDIOP
PB7LCDD2LCDD5I/OVDDIOP
PB8LCDD3LCDD6I/OVDDIOP
PB9LCDD4LCDD7I/OVDDIOP
PB10LCDD5LCDD10I/OVDDIOP
PB11LCDD6LCDD11I/OVDDIOP
PB12LCDD7LCDD12I/OVDDIOP
PB13LCDD8LCDD13I/OVDDIOP
PB14LCDD9LCDD14I/OVDDIOP
LCDDENSee footnote
(1)
StatePower SupplyFunctionComments
I/OVDDIOP
PB15LCDD10LCDD15I/OVDDIOP
PB16LCDD11LCDD19I/OVDDIOP
PB17LCDD12LCDD20I/OVDDIOP
PB18LCDD13LCDD21I/OVDDIOP
PB19LCDD14LCDD22I/OVDDIOP
PB20LCDD15LCDD23I/OVDDIOP
PB21TF0LCDD16I/OVDDIOP
PB22TK0LCDD17I/OVDDIOP
PB23TD0LCDD18I/OVDDIOP
PB24RD0LCDD19I/OVDDIOP
PB25RK0LCDD20I/OVDDIOP
PB26RF0LCDD21I/OVDDIOP
PB27SPI1_NPCS1LCDD22I/OVDDIOP
PB28SPI1_NPCS0LCDD23I/OVDDIOP
PB29SPI1_SPCKIRQ2I/OVDDIOP
PB30SPI1_MISOIRQ1I/OVDDIOP
PB31SPI1_MOSIPCK2I/OVDDIOP
Note:1. PB3 is multiplexed with BMS signal. Care should be taken during reset time.
32
AT91SAM9261 Preliminary
6062JS–ATARM–06-Feb-08
AT91SAM9261 Preliminary
10.3.4PIO Controller C Multiplexing
Table 10-4.Multiplexing on PIO Controller C
PIO Controller CApplication Usage
Reset
I/O LinePeripheral APeripheral BComments
PC0NANDOENCS6I/OVDDIOP
PC1NANDWENCS7I/OVDDIOP
PC2NWAITIRQ0I/OVDDIOP
PC3A25/CFRNWA25VDDIOP
PC4NCS4/CFCS0I/OVDDIOP
PC5NCS5/CFCS1I/OVDDIOP
PC6CFCE1I/OVDDIOP
PC7CFCE2I/OVDDIOP
PC8TXD0PCK2I/OVDDIOP
PC9RXD0PCK3I/OVDDIOP
PC10RTS0SCK0I/OVDDIOP
PC11CTS0FIQI/OVDDIOP
StatePower SupplyFunctionComments
PC12TXD1NCS6I/OVDDIOP
PC13RXD1NCS7I/OVDDIOP
PC14TXD2SPI1_NPCS2I/OVDDIOP
PC15RXD2SPI1_NPCS3I/OVDDIOP
PC16D16TCLK0I/OVDDIOM
PC17D17TCLK1I/OVDDIOM
PC18D18TCLK2I/OVDDIOM
PC19D19TIOA0I/OVDDIOM
PC20D20TIOB0I/OVDDIOM
PC21D21TIOA1I/OVDDIOM
PC22D22TIOB1I/OVDDIOM
PC23D23TIOA2I/OVDDIOM
PC24D24TIOB2I/OVDDIOM
PC25D25TF2I/OVDDIOM
PC26D26TK2I/OVDDIOM
PC27D27TD2I/OVDDIOM
PC28D28RD2I/OVDDIOM
PC29D29RK2I/OVDDIOM
PC30D30RF2I/OVDDIOM
PC31D31PCK1I/OVDDIOM
6062JS–ATARM–06-Feb-08
33
10.3.5System Interrupt
The System Interrupt in Source 1 is the wired-OR of the interrupt signals coming from:
• the SDRAM Controller
• the Debug Unit
• the Periodic Interval Timer
• the Real-Time Timer
• the Watchdog Timer
• the Reset Controller
• the Power Management Controller
The clock of these peripherals cannot be deactivated and Peripheral ID 1 can only be used
within the Advanced Interrupt Controller.
10.3.6External Interrupts
All external interrupt signals, i.e., the Fast Interrupt signal FIQ or the Interrupt signals IRQ0 to
IRQ2, use a dedicated Peripheral ID. However, there is no clock control associated with these
peripheral IDs.
• Additional logic for NAND Flash and CompactFlash
– NAND Flash support: 8-bit as well as 16-bit devices are supported
– CompactFlash support: all modes (Attribute Memory, Common Memory, I/O, True
IDE) are supported but the signals -IOIS16 (I/O and True IDE modes) and -ATA SEL
(True IDE mode) are not handled.
• Optimized External Bus
– 16- or 32-bit Data Bus
– Up to 26-bit Address Bus, up to 64 Mbytes addressable
– Eight Chip Selects, each reserved to one of the eight Memory Areas
– Optimized pin multiplexing to reduce latencies on External Memories
• Configurable Chip Select Assignment Managed by EBI_CSA Register located in the MATRIX
user interface
– Static Memory Controller on NCS0
– SDRAM Controller or Static Memory Controller on NCS1
– Static Memory Controller on NCS2
– Static Memory Controller on NCS3, Optional NAND Flash Support
– Static Memory Controller on NCS4 - NCS5, Optional CompactFlash Support
– Static Memory Controller on NCS6 - NCS7
support
34
AT91SAM9261 Preliminary
6062JS–ATARM–06-Feb-08
10.5Static Memory Controller
• External memory mapping, 256 Mbyte address space per Chip Select Line
• Up to Eight Chip Select Lines
• 8-, 16- or 32-bit Data Bus
• Multiple Access Modes supported
– Byte Write or Byte Select Lines
– Asynchronous read in Page Mode supported (4- up to 32-byte page size)
• Multiple device adaptability
– Compliant with LCD Module
– Control signal programmable setup, pulse and hold time for each Memory Bank
• Multiple Wait State Management
– Programmable Wait State Generation
– External Wait Request
– Programmable Data Float Time
• Slow Clock Mode Supported
AT91SAM9261 Preliminary
10.6SDRAM Controller
• Supported Devices
• Numerous configurations supported
• Programming Facilities
• Energy-saving Capabilities
• Error detection
• SDRAM Power-up Initialization by software
• CAS Latency of 1, 2 and 3 supported
• Auto Precharge Command not used
– Standard and Low Power SDRAM (Mobile SDRAM)
– 2K, 4K, 8K Row Address Memory Parts
– SDRAM with two or four Internal Banks
– SDRAM with 16- or 32-bit Data Path
– Word, half-word, byte access
– Automatic page break when Memory Boundary has been reached
– Multibank Ping-pong Access
– Timing parameters specified by software
– Automatic refresh operation, refresh rate is programmable
– Self-refresh, power down and deep power down modes supported
– Refresh Error Interrupt
6062JS–ATARM–06-Feb-08
35
10.7Serial Peripheral Interface
• Supports communication with serial external devices
– Four chip selects with external decoder support allow communication with up to
fifteen peripherals
– Serial memories, such as DataFlash and 3-wire EEPROMs
– Serial peripherals, such as ADCs, DACs, LCD Controllers, CAN Controllers and
Sensors
– External co-processors
• Master or slave serial peripheral bus interface
– 8- to 16-bit programmable data length per chip select
– Programmable phase and polarity per chip select
– Programmable transfer delays between consecutive transfers and between clock
and data per chip select
– Programmable delay between consecutive transfers
– Selectable mode fault detection
• Very fast transfers supported
– Transfers with baud rates up to MCK
– The chip select line may be left active to speed up transfers on the same device
10.8Two-wire Interface
• Compatibility with standard two-wire serial memory
• One, two or three bytes for slave address
• Sequential read/write operations
10.9USART
• Programmable Baud Rate Generator
• 5- to 9-bit full-duplex synchronous or asynchronous serial communications
• RS485 with driver control signal
• ISO7816, T = 0 or T = 1 Protocols for interfacing with smart cards
• IrDA modulation and demodulation
– 1, 1.5 or 2 stop bits in Asynchronous Mode or 1 or 2 stop bits in Synchronous Mode
– Parity generation and error detection
– Framing error detection, overrun error detection
– MSB- or LSB-first
– Optional break generation and detection
– By-8 or by-16 over-sampling receiver frequency
– Hardware handshaking RTS-CTS
– Receiver time-out and transmitter timeguard
– Optional Multi-drop Mode with address generation and detection
– Optional Manchester Encoding
– NACK handling, error counter with repetition and iteration limit
36
AT91SAM9261 Preliminary
6062JS–ATARM–06-Feb-08
– Communication at up to 115.2 Kbps
• Test Modes
– Remote Loopback, Local Loopback, Automatic Echo
10.10 Synchronous Serial Controller
• Provides serial synchronous communication links used in audio and telecom applications
(with CODECs in Master or Slave Modes, I
more).
• Contains an independent receiver and transmitter and a common clock divider.
• Offers a configurable frame sync and data length.
• Receiver and transmitter can be programmed to start automatically or on detection of
different event on the frame sync signal.
• Receiver and transmitter include a data signal, a clock signal and a frame synchronization
signal.
10.11 Timer Counter
• Three 16-bit Timer Counter Channels
• Wide range of functions including:
– Frequency Measurement
– Event Counting
– Interval Measurement
– Pulse Generation
–Delay Timing
– Pulse Width Modulation
– Up/down Capabilities
• Each channel is user-configurable and contains:
– Three external clock inputs
– Five internal clock inputs
– Two multi-purpose input/output signals
• Two global registers that act on all three TC Channels
AT91SAM9261 Preliminary
2
S, TDM Buses, Magnetic Card Reader and
10.12 Multimedia Card Interface
• Compatibility with MultiMedia Card Specification Version 2.2
• Compatibility with SD Memory Card Specification Version 1.0
• Cards clock rate up to Master Clock divided by 2
• Embedded power management to slow down clock rate when not used
• Each MCI has two slots, each supporting
– One slot for one MultiMedia Card bus (up to 30 cards) or
– One SD Memory Card
• Support for stream, block and multi-block data read and write
6062JS–ATARM–06-Feb-08
37
10.13 USB
• USB Host Port:
– Compliance with Open HCI Rev 1.0 specification
– Compliance with USB V2.0 Full-speed and Low-speed Specification
– Supports both Low-speed 1.5 Mbps and Full-speed 12 Mbps USB devices
– Root hub integrated with two downstream USB ports
– Two embedded USB transceivers
– No overcurrent detection
– Supports power management
– Operates as a master on the Bus Matrix
• USB Device Port:
– USB V2.0 full-speed compliant, 12 Mbits per second
– Embedded USB V2.0 full-speed transceiver
– Embedded dual-port RAM for endpoints
– Suspend/Resume logic
– Ping-pong mode (two memory banks) for isochronous and bulk endpoints
– Six general-purpose endpoints:
Endpoint 0: 8 bytes, no ping-pong mode
10.14 LCD Controller
Endpoint 1, Endpoint 2: 64 bytes, ping-pong mode
Endpoint 3: 64 bytes, no ping-pong mode
Endpoint 4, Endpoint 5: 256 bytes, ping-pong mode
• Embedded pad pull-up configurable via USB_PUCR Register located in the MATRIX user
interface
• Single and Dual scan color and monochrome passive STN LCD panels supported
• Single scan active TFT LCD panels supported.
• 4-bit single scan, 8-bit single or dual scan, 16-bit dual scan STN interfaces supported
• Up to 24-bit single scan TFT interfaces supported
• Up to 16 gray levels for mono STN and up to 4096 colors for color STN displays
• 1, 2 bits per pixel (palletized), 4 bits per pixel (non-palletized) for mono STN
• 1, 2, 4, 8 bits per pixel (palletized), 16 bits per pixel (non-palletized) for color STN
• 1, 2, 4, 8 bits per pixel (palletized), 16, 24 bits per pixel (non-palletized) for TFT
• Single clock domain architecture
• Resolution supported up to 2048 x 2048
38
AT91SAM9261 Preliminary
6062JS–ATARM–06-Feb-08
11. Package Drawing
Figure 11-1. 217-ball LFBGA Package Drawing
AT91SAM9261 Preliminary
6062JS–ATARM–06-Feb-08
39
12. Ordering Information
Table 12-1.AT91SAM9261 Ordering Information
Ordering CodePackagePackage TypeTemperature Operating Range
AT91SAM9261-CJBGA217RoHS-compliant
Industrial
-40°C to 85°C
40
AT91SAM9261 Preliminary
6062JS–ATARM–06-Feb-08
13. Revision History
Table 13-1.Revision History
Doc.
Rev.SourceComments
6062ASQualified/Internal: 23-Aug-04
Date: 02-Jun-05
AT91SAM9261 Preliminary
6062BS
CSR 04-370
CSR 04-371
CSR 04-376
CSR 04-446
CSR 04-447
CSR 04-461New pinout for 217-ball LFBGA package, Table 2 updated.
CSR 04-475
CSR 05-023
CSR 05-024
Change to Additional Embedded Memories in “Features” on page 1. Change to Section 5.2 “Power
Consumption” on page 11. Change to Table 8-3 on page 18.
Change to AIC, “Features” on page 1, SMCS signal added to Table 3-1, “Signal Description by
Peripheral,” on page 5, Change to Section 10.3.1.5 “NAND Flash Interface” on page 30.
Added NTRST signal to“Block Diagram” on page 4. NTRST signal added to Table 3-1 on page 5. F1
modified in Table 4-1 on page 10. Change to “JTAG Port Pins” on page 11.
Changed ROM access to single cycle in “Features” on page 1 and Section 8.1 “Embedded Memories”
on page 17.
Replaced “PDMA” with “PDC” throughout. Replaced “Peripheral DMA” with “Peripheral DMA Controller”
throughout.
Updated Section 8.1.2 ”Boot Program” on page 20.
Removed “Embedded Software Services” on page 18.
Changed min voltage level for VDDIOM and VDDIOP to 2.7V throughout. Corrected nominal voltage
level for VDDIOP and VDDIOP in Section 5.1 “Power Supplies” on page 11.
Added information on chip select assignment management in Section 10.4 “External Bus Interface” on
page 34.
Added information on configuration management of embedded pad pull-up in Section 10.13 “USB” on
page 38.
Throughout document: All references to SmartMedia removed and replaced by NAND Flash. All signals
SMxx changed to NANDxx.
CSR 05-398
6062CS
CSR 05-481Updated A22 pin in Figure 2-1, “AT91SAM9261 Block Diagram,” on page 4.
CSR 05-496
CSR 05-487Updated Table 12-1, “AT91SAM9261 Ordering Information,” on page 40.
6062JS–ATARM–06-Feb-08
Throughout document: Package now qualified as RoHS-compliant
Changed pull-up resistor level to 10 kOhm in Section 6.4 “PIO Controller A, B and C Lines” on page 12.
Changed typical conditions for VDDCORE to 1.2V in Section 5.2 “Power Consumption” on page 11.
Corrected BMS state in Table 8-3, “Internal Memory Mapping,” on page 18.
Corrected BMS reset condition for ROM access in Section 8.1.1.2 “Internal ROM” on page 19.
Date: 15-Nov-05
Changed SPI pin names in Figure 2-1, “AT91SAM9261 Block Diagram,” on page 4, Table 3-1, “Signal
Description by Peripheral,” on page 5, Table 10-2, “Multiplexing on PIO Controller A,” on page 31,
Table 10-3, “Multiplexing on PIO Controller B,” on page 32 and
Controller C,” on page 33.
Changed value of programmable pull-up resistor in Section 6.4 “PIO Controller A, B and C Lines” on
page 12.
Table 10-4, “Multiplexing on PIO
41
Table 13-1.Revision History
Doc.
Rev.SourceComments
6062DS
2292Added information on EBI NCS0 hwhen BMS = 0 in Table 8-3, “Internal Memory Mapping,” on page 18.
2946
2475
6062ES
2474
2480Inserted new Section 8.1.2 “Boot Strategies” on page 20 to replace Boot ROM section.
Corrected MIPS and speed on page 1.
Updated information on JTAGSEL in Section 3-1 “Signal Description by Peripheral” on page 5 and in
Section 6.1 “JTAG Port Pins” on page 11.
Reformatted Section 8. “Memories” on page 16. Inserted new Figure 8-1, “AT91SAM9261 Memory
Mapping,” on page 16 to show full product memory mapping.
Removed information on Timer Counter clock assignments in Section 10.11 “Timer Counter” on page
37.
6062FS
6062GS
6062HS
6062IS
3068
3147Updated information on shutdown pin in Section 6.5 “Shutdown Logic Pins” on page 12.
3067Updated peripheral mnemonics in Figure 8-1, “AT91SAM9261 Memory Mapping,” on page 16.
3503Added note to Table 10-1, “Peripheral Identifiers,” on page 28.
3660, 3695
3660Added ROM to Figure 8-1, “AT91SAM9261 Memory Mapping,” on page 16.
3491
5042
5027
rfo
4965Section 5.1 “Power Supplies”, startup voltage slope requirements for VDDCORE and VDDBU added.
4844Table 10-3, “Multiplexing on PIO Controller B,” on page 32, Note added to “PB3” comments
4835
Changed pin name for ball D9 to SHDN in Table 4-1, “AT91SAM9261 Pinout for 217-ball LFBGA
Package
Updated VDDOSC, VDDPLL and VDDIOM ranges in”Features”, Table 3-1, “Signal Description by
Peripheral,” on page 5 and Section 5.2 “Power Consumption” on page 11.
Updated Section 9.6 “Power Management Controller” on page 25 and Figure 9-3, “Power Management
Controller Block Diagram,” on page 25.
Added Section 11. “Package Drawing” on page 39.
Table 10-4, “Multiplexing on PIO Controller C,” on page 33,
PCO - PC7 and PC12-PC13 power supplies are VDDIOP not VDDIOM.
Table 10-2, “Multiplexing on PIO Controller A,” on page 31