– 200 MIPS at 180 MHz, Memory Management Unit
– 16-KByte Data Cache, 16-KByte Instruction Cache, Write Buffer
– In-circuit Emulator including Debug Communication Channel
– Mid-level Implementation Embedded Trace Macrocell
only)
• Low Power: On VDDCORE 24.4 mA in Normal Mode, 520 µA in Standby Mode
• Additional Embedded Memories
– 16K Bytes of SRAM and 128K Bytes of ROM
• External Bus Interface (EBI)
– Supports SDRAM, Static Memory, Burst Flash, Glueless Connection to
CompactFlash
• System Peripherals for Enhanced Performance:
– Enhanced Clock Generator and Power Management Controller
– Two On-chip Oscillators with Two PLLs
– Very Slow Clock Operating Mode and Software Power Optimization Capabilities
– Four Programmable External Clock Signals
– System Timer Including Periodic Interrupt, Watchdog and Second Counter
– Real-time Clock with Alarm Interrupt
– Debug Unit, Two-wire UART and Support for Debug Communication Channel
– Advanced Interrupt Controller with 8-level Priority, Individually Maskable Vectored
Interrupt Sources, Spurious Interrupt Protected
– Seven External Interrupt Sources and One Fast Interrupt Source
– Four 32-bit PIO Controllers with Up to 122 Programmable I/O Lines, Input Change
Interrupt and Open-drain Capability on Each Line
– 20-channel Peripheral DMA Controller (PDC)
• Ethernet MAC 10/100 Base-T
– Media Independent Interface (MII) or Reduced Media Independent Interface (RMII)
– Integrated 28-byte FIFOs and Dedicated DMA Channels for Receive and Transmit
• USB 2.0 Full Speed (12 Mbits per second) Host Double Port
– Dual On-chip Transceivers (Single Port Only on 208-lead PQFP Package)
– Integrated FIFOs and Dedicated DMA Channels
• USB 2.0 Full Speed (12 Mbits per second) Device Port
– Automatic Protocol Control and Fast Automatic Data Transfers
– MMC and SD Memory Card-compliant, Supports Up to Two SD Memory Cards
• Three Synchronous Serial Controllers (SSC)
– Independent Clock and Frame Sync Signals for Each Receiver and Transmitter
2
S Analog Interface Support, Time Division Multiplex Support
–I
– High-speed Continuous Data Stream Capabilities with 32-bit Data Transfer
• Four Universal Synchronous/Asynchronous Receiver/Transmitters (USART)
– Support for ISO7816 T0/T1 Smart Card
– Hardware Handshaking
– RS485 Support, IrDA
– Full Modem Control Lines on USART1
• Master/Slave Serial Peripheral Interface (SPI)
– 8- to 16-bit Programmable Data Length, 4 External Peripheral Chip Selects
®
™
ARM® Thumb® Processor
and NAND Flash/SmartMedia®
®
Up To 115 Kbps
™
(256-ball BGA Package
ARM920T-based
Microcontroller
AT91RM9200
NOTE: This is a summary document.
The complete document is available on
the Atmel website at www.atmel.com.
1768LS–ATARM–16-Jun-09
• Two 3-channel, 16-bit Timer/Counters (TC)
www.BDTIC.com/ATMEL
– 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 2-wire Atmel EEPROMs Supported
®
• IEEE
1149.1 JTAG Boundary Scan on All Digital Pins
Power Supplies
– 1.65V to 1.95V for VDDCORE, VDDOSC and VDDPLL
– 3.0V to 3.6V for VDDIOP (Peripheral I/Os) and for VDDIOM (Memory I/Os)
Available in a 208-pin Green PQFP or 256-ball RoHS-compliant BGA Package
1.Description
The AT91RM9200 is a complete system-on-chip built around the ARM920T ARM Thumb processor. It incorporates a rich set of system and application peripherals and standard interfaces
in order to provide a single-chip solution for a wide range of compute-intensive applications that
require maximum functionality at minimum power consumption at lowest cost.
The AT91RM9200 incorporates a high-speed on-chip SRAM workspace, and a low-latency
External Bus Interface (EBI) for seamless connection to whatever configuration of off-chip memories and memory-mapped peripherals is required by the application. The EBI incorporates
controllers for synchronous DRAM (SDRAM), Burst Flash and Static memories and features
specific circuitry facilitating the interface for NAND Flash/SmartMedia and Compact Flash.
The Advanced Interrupt Controller (AIC) enhances the interrupt handling performance of the
ARM920T processor by providing multiple vectored, prioritized interrupt sources and reducing
the time taken to transfer to an interrupt handler.
The Peripheral DMA Controller (PDC) provides DMA channels for all the serial peripherals,
enabling them to transfer data to or from on- and off-chip memories without processor intervention. This reduces the processor overhead when dealing with transfers of continuous data
streams.The AT91RM9200 benefits from a new generation of PDC which includes dual pointers
that simplify significantly buffer chaining.
The set of Parallel I/O (PIO) controllers multiplex the peripheral input/output lines with generalpurpose data I/Os for maximum flexibility in device configuration. An input change interrupt,
open drain capability and programmable pull-up resistor is included on each line.
The Power Management Controller (PMC) keeps system power consumption to a minimum by
selectively enabling/disabling the processor and various peripherals under software control. It
uses an enhanced clock generator to provide a selection of clock signals including a slow clock
(32 kHz) to optimize power consumption and performance at all times.
The AT91RM9200 integrates a wide range of standard interfaces including USB 2.0 Full Speed
Host and Device and Ethernet 10/100 Base-T Media Access Controller (MAC), which provides
connection to a extensive range of external peripheral devices and a widely used networking
layer. In addition, it provides an extensive set of peripherals that operate in accordance with several industry standards, such as those used in audio, telecom, Flash Card, infrared and Smart
Card applications.
To complete the offer, the AT91RM9200 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.
Must be tied low for normal
operation, Schmitt trigger
4
AT91RM9200
1768LS–ATARM–16-Jun-09
AT91RM9200
www.BDTIC.com/ATMEL
Table 3-1.Signal Description by Peripheral
Active
Pin NameFunctionType
Memory Controller
BMSBoot Mode SelectInput
Debug Unit
DRXDDebug Receive DataInputDebug Receive Data
DTXDDebug Transmit DataOutputDebug Transmit Data
AIC
IRQ0 - IRQ6External Interrupt InputsInput
FIQFast Interrupt InputInput
PIO
PA0 - PA31Parallel IO Controller AI/OPulled-up input at reset
PB0 - PB29Parallel IO Controller BI/OPulled-up input at reset
PC0 - PC31Parallel IO Controller CI/OPulled-up input at reset
PD0 - PD27Parallel IO Controller DI/OPulled-up input at reset
EBI
D0 - D31Data BusI/OPulled-up input at reset
A0 - A25Address BusOutput0 at reset
SMC
NCS0 - NCS7Chip Select LinesOutputLow1 at reset
NWR0 - NWR3Write SignalOutputLow1 at reset
NOEOutput EnableOutputLow1 at reset
NRDRead SignalOutputLow1 at reset
NUBUpper Byte SelectOutputLow1 at reset
NLBLower Byte SelectOutputLow1 at reset
NWEWrite EnableOutputLow1 at reset
NWAITWait SignalInputLow
NBS0 - NBS3Byte Mask SignalOutputLow1 at reset
EBI for CompactFlash Support
CFCE1 - CFCE2CompactFlash Chip EnableOutputLow
CFOECompactFlash Output EnableOutputLow
CFWECompactFlash Write EnableOutputLow
CFIORCompactFlash IO Read OutputLow
CFIOWCompactFlash IO WriteOutputLow
CFRNWCompactFlash Read Not WriteOutput
CFCSCompactFlash Chip SelectOutputLow
LevelComments
1768LS–ATARM–16-Jun-09
5
Table 3-1.Signal Description by Peripheral
www.BDTIC.com/ATMEL
Active
Pin NameFunctionType
EBI for NAND Flash/SmartMedia Support
SMCSNAND Flash/SmartMedia Chip SelectOutputLow
SMOENAND Flash/SmartMedia Output EnableOutputLow
SMWENAND Flash/SmartMedia Write EnableOutputLow
SDRAM Controller
SDCKSDRAM ClockOutput
SDCKESDRAM Clock EnableOutputHigh
SDCSSDRAM Controller Chip SelectOutputLow
BA0 - BA1Bank SelectOutput
SDWESDRAM Write EnableOutputLow
RAS - CASRow and Column SignalOutputLow
SDA10SDRAM Address 10 LineOutput
Burst Flash Controller
BFCKBurst Flash ClockOutput
BFCSBurst Flash Chip SelectOutputLow
BFAVDBurst Flash Address ValidOutputLow
BFBAABurst Flash Address AdvanceOutputLow
BFOEBurst Flash Output EnableOutputLow
BFRDYBurst Flash Ready InputHigh
BFWEBurst Flash Write EnableOutputLow
Multimedia Card Interface
MCCKMultimedia Card ClockOutput
MCCDAMultimedia Card A CommandI/O
MCDA0 - MCDA3Multimedia Card A DataI/O
MCCDBMultimedia Card B CommandI/O
MCDB0 - MCDB3Multimedia Card B DataI/O
USART
SCK0 - SCK3Serial ClockI/O
TXD0 - TXD3Transmit DataOutput
RXD0 - RXD3Receive DataInput
RTS0 - RTS3Ready To SendOutput
CTS0 - CTS3Clear To Send Input
DSR1Data Set ReadyInput
DTR1Data Terminal ReadyOutput
DCD1Data Carrier DetectInput
RI1Ring IndicatorInput
LevelComments
6
AT91RM9200
1768LS–ATARM–16-Jun-09
AT91RM9200
www.BDTIC.com/ATMEL
Table 3-1.Signal Description by Peripheral
Active
Pin NameFunctionType
USB Device Port
DDMUSB Device Port Data - Analog
DDPUSB Device Port Data +Analog
USB Host Port
HDMAUSB Host Port A Data - Analog
HDPAUSB Host Port A Data +Analog
HDMBUSB Host Port B Data - Analog
HDPBUSB Host Port B Data +Analog
Ethernet MAC
EREFCKReference ClockInputRMII only
ETXCKTransmit ClockInputMII only
ERXCKReceive ClockInputMII only
ETXENTransmit EnableOutput
ETX0 - ETX3Transmit DataOutputETX0 - ETX1 only in RMII
ETXERTransmit Coding ErrorOutputMII only
ERXDVReceive Data ValidInputMII only
ECRSDVCarrier Sense and Data ValidInputRMII only
ERX0 - ERX3Receive DataInputERX0 - ERX1 only in RMII
ERXERReceive ErrorInput
ECRSCarrier SenseInputMII only
ECOLCollision DetectedInputMII only
EMDCManagement Data ClockOutput
EMDIOManagement Data Input/OutputI/O
EF100Force 100 Mbits/sec.OutputHighRMII only
Synchronous Serial Controller
TD0 - TD2Transmit DataOutput
RD0 - RD2Receive DataInput
TK0 - TK2Transmit ClockI/O
RK0 - RK2Receive ClockI/O
TF0 - TF2Transmit Frame SyncI/O
RF0 - RF2Receive Frame SyncI/O
Timer/Counter
TCLK0 - TCLK5External Clock InputInput
TIOA0 - TIOA5I/O Line AI/O
TIOB0 - TIOB5I/O Line BI/O
LevelComments
1768LS–ATARM–16-Jun-09
7
Table 3-1.Signal Description by Peripheral
152
53
104
105156
157
208
www.BDTIC.com/ATMEL
Active
Pin NameFunctionType
SPI
MISOMaster In Slave OutI/O
MOSIMaster Out Slave InI/O
SPCKSPI Serial ClockI/O
NPCS0SPI Peripheral Chip Select 0I/OLow
NPCS1 - NPCS3SPI Peripheral Chip SelectOutputLow
Two-Wire Interface
TWDTwo-wire Serial Data I/O
TWCKTwo-wire Serial ClockI/O
4.Package and Pinout
The AT91RM9200 is available in two packages:
• 208-pin PQFP, 31.2 x 31.2 mm, 0.5 mm pitch
• 256-ball BGA, 15 x 15 mm, 0.8 mm ball pitch
The product features of the 256-ball BGA package are extended compared to the 208-lead
PQFP package. The features that are available only with the 256-ball BGA package are:
LevelComments
• Parallel I/O Controller D
• ETM port with outputs multiplexed on the PIO Controller D
• a second USB Host transceiver, opening the Hub capabilities of the embedded USB Host.
4.1208-pin PQFP Package Outline
Figure 1-1 shows the orientation of the 208-pin PQFP package.
A detailed mechanical description is given in the section “AT91RM9200 Mechanical Characteristics” of the product datasheet.
Figure 4-1.208-pin PQFP Package (Top View)
8
AT91RM9200
1768LS–ATARM–16-Jun-09
4.2208-pin PQFP Package Pinout
www.BDTIC.com/ATMEL
Table 4-1.AT91RM9200 Pinout for 208-pin PQFP Package
AT91RM9200
Pin
NumberSignal Name
1 PC24 37VDDPLL73PA27109TMS
2PC2538PLLRCB74PA28110NTRST
3PC2639GNDPLL75VDDIOP111VDDIOP
4 PC27 40VDDIOP76GND112GND
5PC2841GND77PA29113TST0
6PC2942PA078PA30114TST1
7VDDIOM43PA179PA31/BMS115NRST
8GND44PA280PB0116VDDCORE
9PC3045PA381PB1117GND
10PC3146PA482PB2118PB23
11PC1047PA583PB3119PB24
12PC1148PA684PB4120PB25
13PC1249PA785PB5121PB26
14PC1350PA886PB6122PB27
15PC1451PA987PB7123PB28
16PC1552PA1088PB8124PB29
17PC053PA1189PB9125HDMA
18PC154PA1290PB10126HDPA
19VDDCORE55PA1391PB11127DDM
20GND56VDDIOP92PB12128DDP
21PC257GND93VDDIOP129VDDIOP
22PC358PA1494GND130GND
23PC459PA1595PB13131VDDIOM
24PC560PA1696PB14132GND
25PC661PA1797PB15133A0/NBS0
26VDDIOM62VDDCORE98PB16134A1/NBS2/NWR2
27GND63GND99PB17
28VDDPLL64PA18100PB18
29PLLRCA65PA19101PB19
30GNDPLL66PA20102PB20
31XOUT67PA21103PB21
32XIN68PA22104PB22
33VDDOSC69PA23105JTAGSEL
34GNDOSC70PA24106TDI
35XOUT3271PA25107TDO
36XIN3272PA26108TCK
Pin
NumberSignal Name
Pin
NumberSignal Name
Pin
NumberSignal Name
135A2
136A3
137A4
138A5
139A6
140A7
141A8
142A9
143A10
144SDA10
1768LS–ATARM–16-Jun-09
9
Table 4-1.AT91RM9200 Pinout for 208-pin PQFP Package (Continued)
1
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
2
ABCDEFGHJ K LMNPRTU
BALL A1
www.BDTIC.com/ATMEL
Pin
NumberSignal Name
145A11161PC7177CAS193D10
146VDDIOM162PC8178SDWE194D11
147GND
148A12164VDDIOM180D1196D13
149A13165GND181D2197D14
150A14166NCS0/BFCS182D3198D15
151A15167NCS1/SDCS183VDDIOM199VDDIOM
152VDDCORE168NCS2184GND200GND
153GND
154A16/BA0170NRD/NOE/CFOE186D5202PC17
155A17/BA1171NWR0/NWE/CFWE187D6203PC18
156A18172NWR1/NBS1/CFIOR188VDDCORE204PC19
157A19173NWR3/NBS3/CFIOW189GND205PC20
158A20174SDCK190D7206PC21
159A21175SDCKE191D8207PC22
160A22176RAS192D9208PC23
Pin
NumberSignal Name
163PC9179D0195D12
169NCS3/SMCS185D4201PC16
Pin
NumberSignal Name
Pin
NumberSignal Name
Note:1. Shaded cells define the pins powered by VDDIOM.
4.3256-ball BGA Package Outline
Figure 4-2 shows the orientation of the 256-ball LFBGA package.
A detailed mechanical description is given in the section “AT91RM9200 Mechanical Characteristics” of the product datasheet.
Figure 4-2.
10
AT91RM9200
256-ball LFBGA Package (Top View)
1768LS–ATARM–16-Jun-09
AT91RM9200
www.BDTIC.com/ATMEL
4.4256-ball BGA Package Pinout
Table 4-2.AT91RM9200 Pinout for 256-ball BGA Package
PinSignal NamePinSignal NamePinSignal NamePinSignal Name
A1TDIC3PD14E5TCKG14PA1
A2JTAGSELC4PB22E6GNDG15PA2
A3PB20C5PB19E7PB15G16PA3
A4PB17C6PD10E8GNDG17XIN32
A5PD11C7PB13E9PB7H1PD23
A6PD8C8PB12E10PB3H2PD20
A7VDDIOPC9PB6E11PA29H3PD22
A8PB9C10PB1E12PA26H4PD21
A9PB4C11GNDE13PA25H5VDDIOP
A10PA31/BMSC12PA20E14PA9H13VDDPLL
A11VDDIOPC13PA18E15PA6H14VDDIOP
A12PA23C14VDDCOREE16PD3H15GNDPLL
A13PA19C15GNDE17PD0H16GND
A14GNDC16PA8F1PD16H17XOUT32
A15PA14C17PD5F2GNDJ1PD25
A16VDDIOPD1TST1F3PB23J2PD27
A17PA13D2VDDIOPF4PB25J3PD24
B1TDOD3VDDIOPF5PB24J4PD26
B2PD13D4GNDF6VDDCOREJ5PB28
B3PB18D5VDDIOPF7PB16J6PB29
B4PB21D6PD7F9PB11J12GND
B5PD12D7PB14F11PA30J13GNDOSC
B6PD9D8VDDIOPF12PA28J14VDDOSC
B7GNDD9PB8F13PA4J15VDDPLL
B8PB10D10PB2F14PD2J16GNDPLL
B9PB5D11GNDF15PD1J17XIN
B10PB0D12PA22F16PA5K1HDPA
B11VDDIOPD13PA21F17PLLRCBK2DDM
B12PA24D14PA16G1PD19K3HDMA
B13PA17D15PA10G2PD17K4VDDIOP
B14PA15D16PD6G3GNDK5DDP
B15PA11D17PD4G4PB26
B16PA12E1NRSTG5PD18
B17PA7E2NTRSTG6PB27
C1TMSE3GNDG12PA27
C2PD15E4TST0G13PA0K17XOUT
K13PC5
K14PC4
K15PC6
K16VDDIOM
1768LS–ATARM–16-Jun-09
11
Table 4-2.AT91RM9200 Pinout for 256-ball BGA Package (Continued)
www.BDTIC.com/ATMEL
PinSignal NamePinSignal NamePinSignal NamePinSignal Name
L1GNDN2A5P13D15T7
L2HDPB
L3HDMBN4A4P15PC27T9GND
L4A6N5A14P16VDDIOMT10VDDCORE
L5GND
L6VDDIOPN7A8R1GNDT12D12
L12PC10N8A21R2GNDT13GND
L13PC15N9NRD/NOE/CFOER3A18T14PC19
L14PC2N10RASR4A20T15PC21
L15PC3N11D2R5PC8T16PC23
L16VDDCOREN12GND
L17PLLRCAN13PC28R7NCS3/SMCSU1VDDCORE
M1VDDIOMN14PC31R8
M2GND
M3A3N16PC11R10VDDIOMU4A19
M4A1/NBS2/NWR2N17PC12R11D8U5GND
M5A10P1A7R12D13U6NCS0/BFCS
M6A2P2A13R13PC17U7SDCK
M7GND
M9NCS1/SDCSP4VDDIOMR15PC24U9D3
M11D4P5A11R16PC29U10D6
M12GND
M13PC13P7PC9T1A15U12D11
M14PC1P8NWR0/NWE/CFWET2VDDCOREU13D14
M15PC0P9SDCKET3A17/BA1U14PC16
M16GND
M17PC14P11D5T5VDDIOMU16PC20
N1A0/NBS0P12D10T6NCS2U17PC22
N3A9P14PC26T8SDWE
N6SDA10P17GNDT11D9
R6VDDIOMT17PC25
NWR3/NBS3/
CFIOW
N15PC30R9D0U3A16/BA0
P3A12R14VDDIOMU8CAS
P6A22R17VDDIOMU11D7
P10D1T4PC7U15PC18
U2GND
NWR1/NBS1/
CFIOR
Note:1. Shaded cells define the balls powered by VDDIOM.
12
AT91RM9200
1768LS–ATARM–16-Jun-09
5.Power Considerations
www.BDTIC.com/ATMEL
5.1Power Supplies
The AT91RM9200 has five types of power supply pins:
• VDDCORE pins. They power the core, including processor, memories and peripherals;
voltage ranges from 1.65V to 1.95V, 1.8V nominal.
• VDDIOM pins. They power the External Bus Interface I/O lines; voltage ranges from 3.0V to
3.6V, 3V or 3.3V nominal.
• VDDIOP pins. They power the Peripheral I/O lines and the USB transceivers; voltage ranges
from 3.0V to 3.6V, 3V or 3.3V nominal.
• VDDPLL pins. They power the PLL cells; voltage ranges from 1.65V to 1.95V, 1.8V nominal.
• VDDOSC pin. They power both oscillators; voltage ranges from 1.65V to 1.95V, 1.8V
nominal.
The double power supplies VDDIOM and VDDIOP are identified in Table 4-1 on page 9 and
Table 4-2 on page 11. These supplies enable the user to power the device differently for inter-
facing with memories and for interfacing with peripherals.
Ground pins are common to all power supplies, except VDDPLL and VDDOSC pins. For these
pins, GNDPLL and GNDOSC are provided, respectively.
AT91RM9200
5.2Power Consumption
The AT91RM9200 consumes about 500 µA of static current on VDDCORE at 25⋅ C. For
dynamic power consumption, the AT91RM9200 consumes a maximum of 25 mA on VDDCORE
at maximum speed in typical conditions (1.8V, 25⋅ C), processor running full-performance
algorithm.
6.I/O Considerations
6.1JTAG Port Pins
TMS and TDI are Schmitt trigger inputs and integrate internal pull-up resistors of 15 kOhm typical. TCK is a Schmitt trigger input without internal pull-up resistor.
TDO is a tri-state output. The JTAGSEL pin is used to select the JTAG boundary scan when
asserted at a high level. The NTRST pin is used to initialize the EmbeddedICE
6.2Test Pin
The TST0 and TST1 pins are used for manufacturing test purposes when asserted high. As they
do not integrate a pull-down resistor, they must be tied low during normal operations. Driving this
line at a high level leads to unpredictable results.
6.3Reset Pin
NRST is a Schmitt trigger without pull-up resistor. The NRST signal is inserted in the Boundary
Scan.
™
TAP Controller.
1768LS–ATARM–16-Jun-09
13
6.4PIO Controller A, B, C and D Lines
www.BDTIC.com/ATMEL
All the I/O lines PA0 to PA31, PB0 to PB29, PC0 to PC31 and PD0 to PD27 integrate a programmable pull-up resistor of 15 kOhm typical. 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 must be enabled as peripherals at
reset. This is explicitly indicated in the column "Reset State" of the PIO Controller multiplexing
tables.
7.Processor and Architecture
7.1ARM920T Processor
• ARM9TDMI™-based on ARM Architecture v4T
• Two instruction sets
– ARM High-performance 32-bit Instruction Set
– Thumb High Code Density 16-bit Instruction Set
• 5-Stage Pipeline Architecture:
– Instruction Fetch (F)
– Instruction
– Execute (E)
– Data Memory (M)
– Register Write (W)
• 16-Kbyte Data Cache, 16-Kbyte Instruction Cache
– Virtually-addressed 64-way Associative Cache
– 8 words per line
– Write-though and write-back operation
– Pseudo-random or Round-robin replacement
– Low-power CAM RAM implementation
• Write Buffer
– 16-word Data Buffer
– 4-address Address Buffer
– Software Control Drain
• Standard ARMv4 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 pages
– 16 embedded domains
– 64 Entry Instruction TLB and 64 Entry Data TLB
8-, 16-, 32-bit Data Bus for Instructions and Data
Decode (D)
7.2Debug and Test
• Integrated EmbeddedICE
14
AT91RM9200
1768LS–ATARM–16-Jun-09
7.3Boot Program
www.BDTIC.com/ATMEL
AT91RM9200
• Debug Unit
–Two-pin UART
– Debug Communication Channel
– 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 Counters
– One Sequencer
– One 18-byte FIFO
• IEEE1149.1 JTAG Boundary Scan on all Digital Pins
• Default Boot Program stored in ROM-based products
• Downloads and runs an application from external storage media into internal SRAM
• Downloaded code size depends on embedded SRAM size
• Automatic detection of valid application
• Bootloader supporting a wide range of non-volatile memories
– SPI DataFlash
– Two-wire EEPROM
– 8-bit parallel memories on NCS0
• Boot Uploader in case no valid program is detected in external NVM and supporting several
communication media
• Serial communication on a DBGU (XModem protocol)
• USB Device Port (DFU Protocol)
®
connected on SPI NPCS0
™
Rev2a
7.4Embedded Software Services
• Compliant with ATPCS
• Compliant with AINSI/ISO Standard C
• Compiled in ARM/Thumb Interworking
• ROM Entry Service
• Tempo, Xmodem and DataFlash services
• CRC and Sine tables
7.5Memory Controller
• Programmable Bus Arbiter handling four Masters
– Internal Bus is shared by ARM920T, PDC, USB Host Port and Ethernet MAC
Masters
– Each Master can be assigned a priority between 0 and 7
1768LS–ATARM–16-Jun-09
15
• Address Decoder provides selection for
www.BDTIC.com/ATMEL
– Eight external 256-Mbyte memory areas
– Four internal 1-Mbyte memory areas
– One 256-Mbyte embedded peripheral area
• Boot Mode Select Option
– Non-volatile Boot Memory can be internal or external
– Selection is made by BMS pin sampled at reset
• Abort Status Registers
– Source, Type and all parameters of the access leading to an abort are saved
• Misalignment Detector
– Alignment checking of all data accesses
– Abort generation in case of misalignment
• Remap command
– Provides remapping of an internal SRAM in place of the boot NVM
16
AT91RM9200
1768LS–ATARM–16-Jun-09
8.Memories
16K Bytes
0xFFFC 0000
16K Bytes
0xFFFC 4000
USART2
16K Bytes
0xFFFC 8000
16K Bytes
16K Bytes
16K Bytes
0xFFFA 4000
TCO, TC1, TC2
0xFFFA 8000
0xFFFB 4000
MCI
0xFFFB C000
TWI
0xFFFA 0000
0xFFFB 0000
UDP
16K Bytes
16K Bytes
16K Bytes
0xFFFB 8000
16K Bytes
16K Bytes
EMAC
256M Bytes
0x1000 0000
0x0000 0000
0x0FFF FFFF
0xF000 0000
0xEFFF FFFF
Address Memory Space
Internal Peripherals
Internal Memories
EBI
Chip Select 0 /
BFC
EBI
Chip Select 1 /
SDRAMC
EBI
Chip Select 2
EBI
Chip Select 3 /
NANDFlash Logic
EBI
Chip Select 4 /
CF Logic
EBI
Chip Select 5 /
CF Logic
EBI
Chip Select 6 /
CF Logic
EBI
Chip Select 7
Undefined
(Abort)
256M Bytes
256M Bytes
256M Bytes
256M Bytes
256M Bytes
256M Bytes
256M Bytes
1,518M Bytes
0x2000 0000
0x1FFF FFFF
0x3000 0000
0x2FFF FFFF
0x4000 0000
0x3FFF FFFF
0x6FFF FFFF
0x6000 0000
0x5FFF FFFF
0x5000 0000
0x4FFF FFFF
0x7000 0000
0x7FFF FFFF
0x8000 0000
0x8FFF FFFF
0x9000 0000
256M Bytes
0xFFFF FC00
0xFFFF FA00
0xFFFF F800
0xFFFF F600
0xFFFF F400
0xFFFF F200
256 Bytes
512 bytes
512 Bytes
512 Bytes
PMC
PIOC
PIOB
PIOA
DBGU
ST
0xFFFF F000
512 Bytes
AIC
512 Bytes
RTC
MC
256M Bytes
1 MBytes
0x0020 0000
SRAM
0x0030 0000
0x0010 0000
0x0040 0000
ROM
0x0FFF FFFF
User Peripheral Mapping
Internal Memory Mapping
Boot Memory (1)
0x0000 0000
(1) Can be SRAM, ROM or Flash depending
on BMS and the REMAP Command
Notes :
0xFFFE 0000
16K Bytes
SPI
0xFFFF FFFF
0xFFFF FFFF
System Peripheral Mapping
USB Host
User Interface
Undefined
(Abort)
USART0
USART1
USART3
1 MBytes
1 MBytes
248 MBytes
0xFFFF FFFF
Reserved
0xF000 0000
16K Bytes
SSC0
0xFFFD 8000512 bytes
PIOD
1 MBytes
0xFFFE 4000
Reserved
256 Bytes
256 Bytes
256 Bytes
0xFFFF FD00
0xFFFF FE00
0xFFFF FF00
TC3, TC4, TC5
Reserved
0xFFFD 0000
16K Bytes
SSC1
0xFFFD 4000
16K Bytes
SSC2
Reserved
Reserved
0xFFEC C000
0xFFED C000
0xFFFE 4000
www.BDTIC.com/ATMEL
Figure 8-1.AT91RM9200 Memory Mapping
AT91RM9200
1768LS–ATARM–16-Jun-09
17
A first level of address decoding is performed by the Memory Controller, i.e., by the implementa-
www.BDTIC.com/ATMEL
tion of the Advanced System Bus (ASB) with additional features.
Decoding splits the 4G bytes of address space into 16 areas of 256M bytes. The areas 1 to 8 are
directed to the EBI that associates these areas to the external chip selects NC0 to NCS7. The
area 0 is reserved for the addressing of the internal memories, and a second level of decoding
provides 1M bytes 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.
8.1Embedded Memories
8.1.1Internal Memory Mapping
8.1.1.1Internal RAM
The AT91RM9200 integrates a high-speed, 16-Kbyte internal SRAM. After reset and until the
Remap Command is performed, the SRAM is only accessible at address 0x20 0000. After
Remap, the SRAM is also available at address 0x0.
8.1.1.2Internal ROM
The AT91RM9200 integrates a 128-Kbyte Internal ROM. At any time, the ROM is mapped at
address 0x10 0000. It is also accessible at address 0x0 after reset and before the Remap Command if the BMS is tied high during reset.
8.1.1.3USB Host Port
The AT91RM9200 integrates a USB Host Port Open Host Controller Interface (OHCI). The registers of this interface are directly accessible on the ASB Bus and are mapped like a standard
internal memory at address 0x30 0000.
18
AT91RM9200
1768LS–ATARM–16-Jun-09
9.System Peripherals
www.BDTIC.com/ATMEL
A complete memory map is shown in Figure 8-1 on page 17.
9.1Reset Controller
• Two reset input lines (NRST and NTRST) providing, respectively:
• Initialization of the User Interface registers (defined in the user interface of each peripheral)
and:
– Sample the signals needed at bootup
– Compel the processor to fetch the next instruction at address zero
• Initialization of the embedded ICE TAP controller
9.2Advanced 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 (ST, RTC, PMC, DBGU…)
– Source 2 to Source 31 control 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
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
• General Interrupt Mask
– Provides processor synchronization on events without triggering an interrupt
AT91RM9200
9.3Power Management Controller
• Optimizes the power consumption of the whole system
• Embeds and controls:
– One Main Oscillator and One Slow Clock Oscillator (32.768Hz)
– Two Phase Locked Loops (PLLs) and Dividers
– Clock Prescalers
•Provides:
– the Processor Clock PCK
1768LS–ATARM–16-Jun-09
19
9.4Debug Unit
www.BDTIC.com/ATMEL
– the Master Clock MCK
– the USB Clocks, UHPCK and UDPCK, respectively for the USB Host Port and the
USB Device Port
– Programmable automatic PLL switch-off in USB Device suspend conditions
– up to thirty peripheral clocks
– four programmable clock outputs PCK0 to PCK3
• Four operating modes:
– Normal Mode, Idle Mode, Slow Clock Mode, Standby Mode
• System peripheral to facilitate debug of Atmel’s ARM-based systems
• Composed of the following functions
–Two-pin UART
– Debug Communication Channel (DCC) support
– Chip ID Registers
•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
– Interrupt generation
– Support for two PDC channels with connection to receiver and transmitter
• Debug Communication Channel Support
– Offers visibility of COMMRX and COMMTX signals from the ARM Processor
– Interrupt generation
• Chip ID Registers
– Identification of the device revision, sizes of the embedded memories, set of
peripherals
9.5PIO Controller
• Up to 32 programmable 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
20
AT91RM9200
1768LS–ATARM–16-Jun-09
• Synchronous output, provides Set and Clear of several I/O lines in a single write
www.BDTIC.com/ATMEL
10. User Peripherals
10.1User Interface
The User Peripherals are mapped in the upper 256M bytes of the address space, between the
addresses 0xFFFA 0000 and 0xFFFE 3FFF. Each peripheral has a 16-Kbyte address space.
A complete memory map is presented in Figure 8-1 on page 17.
10.2Peripheral Identifiers
The AT91RM9200 embeds a wide range of peripherals. Table 10-1 defines the peripheral identifiers of the AT91RM9200. 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.
Table 10-1.Peripheral Identifiers
Peripheral
ID
0AICAdvanced Interrupt ControllerFIQ
1SYSIRQ
2PIOAParallel I/O Controller A
3PIOBParallel I/O Controller B
4PIOCParallel I/O Controller C
5PIODParallel I/O Controller D
6US0USART 0
7US1USART 1
8US2USART 2
9US3USART 3
10MCIMultimedia Card Interface
11UDPUSB Device Port
12TWITwo-wire Interface
13SPISerial Peripheral Interface
14SSC0Synchronous Serial Controller 0
15SSC1Synchronous Serial Controller 1
16SSC2Synchronous Serial Controller 2
17TC0Timer/Counter 0
18TC1Timer/Counter 1
19TC2Timer/Counter 2
20TC3Timer/Counter 3
21TC4Timer/Counter 4
22TC5Timer/Counter 5
23UHPUSB Host Port
Peripheral
Mnemonic
Peripheral
Name
AT91RM9200
External
Interrupt
1768LS–ATARM–16-Jun-09
21
Table 10-1.Peripheral Identifiers (Continued)
www.BDTIC.com/ATMEL
Peripheral
ID
24EMACEthernet MAC
25AICAdvanced Interrupt ControllerIRQ0
26AICAdvanced Interrupt ControllerIRQ1
27AICAdvanced Interrupt ControllerIRQ2
28AICAdvanced Interrupt ControllerIRQ3
29AICAdvanced Interrupt ControllerIRQ4
30AICAdvanced Interrupt ControllerIRQ5
31AICAdvanced Interrupt ControllerIRQ6
Peripheral
Mnemonic
10.3Peripheral Multiplexing on PIO Lines
The AT91RM9200 features four PIO controllers:
• PIOA and PIOB, multiplexing I/O lines of the peripheral set
• PIOC, multiplexing the data bus bits 16 to 31 and several External Bus Interface control
signals. Using PIOC pins increases the number of general-purpose I/O lines available but
prevents 32-bit memory access
• PIOD, available in the 256-ball BGA package option only, multiplexing outputs of the
peripheral set and the ETM port
Each PIO Controller controls up to 32 lines. Each line can be assigned to one of two peripheral
functions, A or B. The tables in the following paragraphs define how the I/O lines of the peripherals A and B are multiplexed on the PIO Controllers A, B, C and D. 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.
Peripheral
Name
External
Interrupt
The column “Reset State” indicates whether the PIO line resets in I/O mode or in peripheral
mode. If equal to “I/O”, 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 NRST pin is asserted. 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 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 for pins controlling memories, either
address lines or chip selects, and that require the pin to be driven as soon as NRST raises. Note
that the pull-up resistor is also enabled in this case.
See Table 10-2 on page 23, Table 10-3 on page 24, Table 10-4 on page 25 and Table 10-5 on
page 26.
22
AT91RM9200
1768LS–ATARM–16-Jun-09
10.3.1PIO Controller A Multiplexing
www.BDTIC.com/ATMEL
Table 10-2.Multiplexing on PIO Controller A
PIO Controller AApplication Usage
I/O LinePeripheral APeripheral B
PA0MISOPCK3I/O
PA1MOSIPCK0I/O
PA2SPCKIRQ4I/O
PA3NPCS0IRQ5I/O
PA4NPCS1PCK1I/O
PA5NPCS2TXD3I/O
PA6NPCS3RXD3I/O
PA7ETXCK/EREFCKPCK2I/O
PA8ETXENMCCDBI/O
PA9ETX0MCDB0I/O
PA10ETX1MCDB1I/O
PA11ECRS/ECRSDVMCDB2I/O
AT91RM9200
Reset
StateFunctionComments
PA12ERX0MCDB3I/O
PA13ERX1TCLK0I/O
PA14ERXERTCLK1I/O
PA15EMDCTCLK2I/O
PA16EMDIOIRQ6I/O
PA17TXD0TIOA0I/O
PA18RXD0TIOB0I/O
PA19SCK0TIOA1I/O
PA20CTS0TIOB1I/O
PA21RTS0TIOA2I/O
PA22RXD2TIOB2I/O
PA23TXD2IRQ3I/O
PA24SCK2PCK1I/O
PA25TWDIRQ2I/O
PA26TWCKIRQ1I/O
PA27MCCKTCLK3I/O
PA28MCCDATCLK4I/O
PA29MCDA0TCLK5I/O
PA30DRXDCTS2I/O
PA31DTXDRTS2I/O
1768LS–ATARM–16-Jun-09
23
10.3.2PIO Controller B Multiplexing
www.BDTIC.com/ATMEL
Table 10-3.Multiplexing on PIO Controller B
PIO Controller BApplication Usage
I/O LinePeripheral APeripheral B
PB0TF0RTS3I/O
PB1TK0CTS3I/O
PB2TD0SCK3I/O
PB3RD0MCDA1I/O
PB4RK0MCDA2I/O
PB5RF0MCDA3I/O
PB6TF1TIOA3I/O
PB7TK1TIOB3I/O
PB8TD1TIOA4I/O
PB9RD1TIOB4I/O
PB10RK1TIOA5I/O
PB11RF1TIOB5I/O
PB12TF2ETX2I/O
PB13TK2ETX3I/O
PB14TD2ETXERI/O
Reset
StateFunctionComments
PB15RD2ERX2I/O
PB16RK2ERX3I/O
PB17RF2ERXDVI/O
PB18RI1ECOLI/O
PB19DTR1ERXCKI/O
PB20TXD1I/O
PB21RXD1I/O
PB22SCK1I/O
PB23DCD1I/O
PB24CTS1I/O
PB25DSR1EF100I/O
PB26RTS1I/O
PB27PCK0I/O
PB28FIQI/O
PB29IRQ0I/O
24
AT91RM9200
1768LS–ATARM–16-Jun-09
AT91RM9200
www.BDTIC.com/ATMEL
10.3.3PIO Controller C Multiplexing
The PIO Controller C has no multiplexing and only peripheral A lines are used. Selecting Peripheral B on the PIO Controller
C has no effect.
Table 10-4.Multiplexing on PIO Controller C
PIO Controller CApplication Usage
Reset
I/O LinePeripheral APeripheral B
PC0BFCKI/O
PC1BFRDY/SMOEI/O
PC2BFAVDI/O
PC3BFBAA/SMWEI/O
PC4BFOEI/O
PC5BFWEI/O
PC6NWAITI/O
PC7A23A23
PC8A24A24
PC9A25/CFRNWA25
PC10NCS4/CFCSNCS4
PC11NCS5/CFCE1NCS5
PC12NCS6/CFCE2NCS6
PC13NCS7NCS7
PC14I/O
PC15I/O
PC16D16I/O
PC17D17I/O
PC18D18I/O
PC19D19I/O
PC20D20I/O
PC21D21I/O
PC22D22I/O
PC23D23I/O
PC24D24I/O
PC25D25I/O
PC26D26I/O
PC27D27I/O
PC28D28I/O
PC29D29I/O
PC30D30I/O
PC31D31I/O
StateFunctionComments
1768LS–ATARM–16-Jun-09
25
10.3.4PIO Controller D Multiplexing
www.BDTIC.com/ATMEL
The PIO Controller D multiplexes pure output signals on peripheral A connections, in particular from the EMAC MII interface and the ETM Port on the peripheral B connections.
The PIO Controller D is available only in the 256-ball BGA package option of the AT91RM9200.
Table 10-5.Multiplexing on PIO Controller D
PIO Controller DApplication Usage
Reset
I/O LinePeripheral APeripheral B
PD0ETX0I/O
PD1ETX1I/O
PD2ETX2I/O
PD3ETX3I/O
PD4ETXENI/O
PD5ETXERI/O
PD6DTXDI/O
PD7PCK0TSYNCI/O
PD8PCK1TCLKI/O
PD9PCK2TPS0I/O
StateFunctionComments
PD10PCK3TPS1I/O
PD11TPS2I/O
PD12TPK0I/O
PD13TPK1I/O
PD14TPK2I/O
PD15TD0TPK3I/O
PD16TD1TPK4I/O
PD17TD2TPK5I/O
PD18NPCS1TPK6I/O
PD19NPCS2TPK7I/O
PD20NPCS3TPK8I/O
PD21RTS0TPK9I/O
PD22RTS1TPK10I/O
PD23RTS2TPK11I/O
PD24RTS3TPK12I/O
PD25DTR1TPK13I/O
PD26TPK14I/O
PD27TPK15I/O
26
AT91RM9200
1768LS–ATARM–16-Jun-09
10.3.5System Interrupt
www.BDTIC.com/ATMEL
The System Interrupt is the wired-OR of the interrupt signals coming from:
• the Memory Controller
• the Debug Unit
• the System Timer
• the Real-Time Clock
• the Power Management Controller
The clock of these peripherals cannot be controlled and the 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
IRQ6, use a dedicated Peripheral ID. However, there is no clock control associated with these
peripheral IDs.
10.4External Bus Interface
• Integrates three External Memory Controllers:
– Static Memory Controller
– SDRAM Controller
– Burst Flash Controller
• Additional logic for NAND Flash/SmartMedia and CompactFlash
• Optimized External Bus:
– 16- or 32-bit Data Bus
– Up to 26-bit Address Bus, up to 64-Mbytes addressable
– Up to 8 Chip Selects, each reserved to one of the eight Memory Areas
– Optimized pin multiplexing to reduce latencies on External Memories
• Configurable Chip Select Assignment:
– Burst Flash Controller or Static Memory Controller on NCS0
– SDRAM Controller or Static Memory Controller on NCS1
– Static Memory Controller on NCS3, Optional NAND Flash/SmartMedia
– Static Memory Controller on NCS4 - NCS6, Optional CompactFlash Support
– Static Memory Controller on NCS7
AT91RM9200
support
Support
10.5Static Memory Controller
• External memory mapping, 512-Mbyte address space
• Up to 8 Chip Select Lines
• 8- or 16-bit Data Bus
• Remap of Boot Memory
• Multiple Access Modes supported
– Byte Write or Byte Select Lines
– Two different Read Protocols for each Memory Bank
• Multiple device adaptability
1768LS–ATARM–16-Jun-09
27
• Multiple Wait State Management
www.BDTIC.com/ATMEL
10.6SDRAM Controller
• Numerous configurations supported
• Programming facilities
• Energy-saving capabilities
• Error detection
• SDRAM Power-up Initialization by software
• Latency is set to two clocks (CAS Latency of 1, 3 Not Supported)
• Auto Precharge Command not used
– Compliant with LCD Module
– Programmable Setup Time Read/Write
– Programmable Hold Time Read/Write
– Programmable Wait State Generation
– External Wait Request
– Programmable Data Float Time
– 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 and Low-power Modes supported
– Refresh Error Interrupt
10.7Burst Flash Controller
• Multiple Access Modes supported
– Asynchronous or Burst Mode Byte, Half-word or Word Read Accesses
– Asynchronous Mode Half-word Write Accesses
• Adaptability to different device speed grades
– Programmable Burst Flash Clock Rate
– Programmable Data Access Time
– Programmable Latency after Output Enable
• Adaptability to different device access protocols and bus interfaces
– Two Burst Read Protocols: Clock Control Address Advance or Signal Controlled
Address Advance
– Multiplexed or separate address and data buses
– Continuous Burst and Page Mode Accesses supported
28
AT91RM9200
1768LS–ATARM–16-Jun-09
10.8Peripheral DMA Controller (PDC)
www.BDTIC.com/ATMEL
• Generates transfers to/from peripherals such as DBGU, USART, SSC, SPI and MCI
• Twenty channels
• One Master Clock cycle needed for a transfer from memory to peripheral
• Two Master Clock cycles needed for a transfer from peripheral to memory
10.9System Timer
• One Period Interval Timer, 16-bit programmable counter
• One Watchdog Timer, 16-bit programmable counter
• One Real-time Timer, 20-bit free-running counter
• Interrupt Generation on event
10.10 Real-time Clock
• Low power consumption
• Full asynchronous design
• Two hundred year calendar
• Programmable Periodic Interrupt
• Alarm and update parallel load
• Control of alarm and update Time/Calendar Data In
AT91RM9200
10.11 USB Host Port
10.12 USB Device 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
• Supports power management
• Operates as a master on the Memory Controller
• 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, Endpoint 3: 8 bytes, no ping-pong mode
– Optional Multi-drop Mode with address generation and detection
• RS485 with driver control signal
• ISO7816, T = 0 or T = 1 Protocols for interfacing with smart cards
– NACK handling, error counter with repetition and iteration limit
• IrDA modulation and demodulation
– Communication at up to 115.2 Kbps
• Test Modes
– Remote Loopback, Local Loopback, Automatic Echo
• Connection of two Peripheral DMA Controller (PDC) channels
– Offers buffer transfer without processor intervention
The USART describes features allowing management of the Modem Signals DTR, DSR, DCD
and RI. For details, see ”Modem Mode” on page 435.
In the AT91RM9200, only the USART1 implements these signals, named DTR1, DSR1, DCD1
and RI1.
The USART0, USART2 and USART3 do not implement all the modem signals. Only RTS and
CTS (RTS0 and CTS0, RTS2 and CTS2, RTS3 and CTS3, respectively) are implemented in
these USARTs for other features.
Thus, programming the USART0, USART2 or the USART3 in Modem Mode may lead to unpredictable results. In these USARTs, the commands relating to the Modem Mode have no effect
and the status bits relating the status of the modem signals are never activated.
10.17 Serial Synchronous Controller
• Provides serial synchronous communication links used in audio and telecom applications
• Contains an independent receiver and transmitter and a common clock divider
• Interfaced with two PDC channels to reduce processor overhead
• 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.18 Timer Counter
• Three 16-bit Timer Counter Channels
• Wide range of functions including:
– Frequency Measurement
– Event Counting
1768LS–ATARM–16-Jun-09
31
– Interval Measurement
www.BDTIC.com/ATMEL
– 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
• Internal interrupt signal
• Two global registers that act on all three TC Channels
• The Timer Counter 0 to 5 are described with five generic clock inputs, TIMER_CLOCK1 to
TIMER_CLOCK5. In the AT91RM9200, these clock inputs are connected to the Master Clock
(MCK), to the Slow Clock (SLCK) and to divisions of the Master Clock. For details, see ”Clock
Control” on page 488.
Table 10-6 gives the correspondence between the Timer Counter clock inputs and clocks in
the AT91RM9200. Each Timer Counter 0 to 5 displays the same configuration.
Table 10-6.Timer Counter Clocks Assignment
TC Clock InputClock
10.19 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
• Supports two slots
– 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
• Connection to a Peripheral DMA Controller (PDC) channel
– Minimizes processor intervention for large buffer transfers
TIMER_CLOCK1MCK/2
TIMER_CLOCK2MCK/8
TIMER_CLOCK3MCK/32
TIMER_CLOCK4MCK/128
TIMER_CLOCK5SLCK
32
AT91RM9200
1768LS–ATARM–16-Jun-09
11. Package Drawings
CC1
www.BDTIC.com/ATMEL
Figure 11-1. 208-lead PQFP Package Drawing
AT91RM9200
Table 11-1.208-lead PQFP Package Dimensions (in mm)
SymbolMinNomMaxSymbolMinNomMax
c0.110.23b10.170.200.23
c10.110.150.19ddd0.10
L0.650.881.03Tolerances of Form and Position
L11.60 REFaaa0.25
R20.130.3ccc0.1
R10.13BSC
S0.4D31.20
A4.10D128.00
A10.250.50E31.20
A23.203.403.60E128.00
b0.170.27e0.50
1768LS–ATARM–16-Jun-09
33
Figure 11-2. 256-ball BGA Package Drawing
www.BDTIC.com/ATMEL
34
AT91RM9200
1768LS–ATARM–16-Jun-09
12. AT91RM9200 Ordering Information
www.BDTIC.com/ATMEL
Table 12-1.Ordering Information
Ordering CodePackagePackage TypeTemperature Operating Range