– High-performance 32-bit RISC Architecture
– High-density 16-bit Instruction Set
– Leader in MIPS/Watt
– Embedded ICE (In-circuit Emulation)
• 256K Bytes of On-chip SRAM
– 32-bit Data Bus, Single-clock Cycle Access
• 1024K Words 16-bit Flash Memory (2M bytes)
– Single Voltage Read/Write,
– Sector Erase Architecture
– Erase Suspend Capability
– Low-power Operation
– Data Polling, Toggle Bit and Ready/Busy End of Program Cycle Detection
– Reset Input for Device Initialization
– Sector Program Unlock Command
– 128-bit Protection Register
– Factory-programmed AT91 Flash Memory Uploader Software
• Fully Programmable External Bus Interface (EBI)
– Up to 8 Chip Selects, Maximum External Address Space of 64M Bytes
– Software Programmable 8/16-bit External Data Bus
– 2 Dedicated Peripheral Data Controller (PDC) Channels per USART
• Programmable Watchdog Timer
• Advanced Power-saving Features
– CPU and Peripherals Can be De-activated Individually
• Fully Static Operation:
– 0 Hz to 75 MHz Internal Frequency Range at VDDCORE = 1.8V, 85°C
• 2.7V to 3.6V I/O Operating Range, 1.65V to 1.95V Core Operating Range
• -40°C to 85° C Temperature Range
• Available in a 121-ball 10 x 10 x 1.2 mm BGA Package with 0.8 mm Ball Pitch
®
ARM® Thumb® Processor Core
AT91 ARM®
Thumb
®
Microcontrollers
AT91FR40162S
Summary
Preliminary
1.Description
The AT91FR40162S is a member of the Atmel AT91 16/32-bit Microcontroller family,
which is based on the ARM7TDMI processor core. The processor has a high-performance 32-bit RISC architecture with a high-density 16-bit instruction set and very low
power consumption.
The AT91FR40162S ARM microcontroller features 2 Mbits of on-chip SRAM and 2
Mbytes of Flash memory in a single compact 121-ball BGA package. Its high level of
integration and very small footprint make the device ideal for space-constrained applications. The high-speed on-chip SRAM enables a performance of up to 74 MIPs in
typical conditions with significant power reduction and EMC improvement over an
external SRAM implementation.
The Flash memory may be programmed via the JTAG/ICE interface or the factoryprogrammed Flash Memory Uploader (FMU) using a single device supply, making the
AT91FR40162S suitable for in-system programmable applications.
6174AS–ATARM–25-May-05
2.Pin Configuration
Figure 2-1.AT91FR40162S Pinout for 121-ball BGA Package (Top View)
A1 Corner
1110987654321
P21/TXD1
NTRI
P22
RXD1
VDDIO
P23
P24
BMS
GND
TDO
P26
NCS2
NWAIT
NCS1
GND
P19P16GND
P20
SCK1
GND
MCKINRST
P25
MCK0
TMSGNDTCKD8NCNC
NWE
NWR0
VDDCORE VDDIONC
GND
NLB
A0
A1A4A6VDDIOA18
P15
RXD0
P18P17
NUB
NWR1
NWDOVFA3NCNCD3
A2TDID6GNDNC
P27
NCS3
GNDA7A17
P14
TXD0
P13
SCK0
A5A19VDDIO
P12
FIQ
NBUSYP9
VPPNRSTFA14A15
A8D11D10D13
NOE
NRD
NCS0D2D5D4
NCSFNCD0D1
NCVDDIOGNDGND
VDDIOA10A13GND
VDDIOA9A12GND
P11
VDDCORE
IRQ2
P10
VDDIO
IRQ1
IRQ0P5TIOB1P3TCLK1
D9
A11D7
P8
TIOB2P6TCLK2
P7
TIOA2P4TIOA1
GND
GND
A16
D12D14VDDIO
P31/A23
CS4
D15
NCNC
P29/A21
CS6
P30/A22
VDDCORE
P2
TIOB0
P1
TIOA0
P0
TCLK0
CS5
A20
A
B
C
D
E
F
G
H
J
K
L
2
AT91FR40162S
6174AS–ATARM–25-May-05
3.Pin Description
Table 3-1.AT91FR40162S Pin Description
ModuleNameFunctionType
AT91FR40162S
Active
LevelComments
EBI
AIC
Timer
A0 - A23Address BusOutput–
D0 - D15Data BusI/O–
NCS0 - NCS3External Chip SelectOutputLowUsed to select external devices
CS4 - CS7External Chip Select OutputHighA23 - A20 after reset
NWR0Lower Byte 0 Write SignalOutputLowUsed in Byte Write option
NWR1Upper Byte 1 Write SignalOutputLowUsed in Byte Write option
NRDRead Signal OutputLowUsed in Byte Write option
NWEWrite EnableOutputLowUsed in Byte Select option
NOEOutput EnableOutputLowUsed in Byte Select option
NUBUpper Byte SelectOutputLowUsed in Byte Select option
NLBLower Byte SelectOutputLowUsed in Byte Select option
NWAITWait InputInputLow
BMSBoot Mode SelectInput–
FIQFast Interrupt RequestInput–PIO-controlled after reset
IRQ0 - IRQ2External Interrupt RequestInput–PIO-controlled after reset
TCLK0 - TCLK2Timer External ClockInput–PIO-controlled after reset
TIOA0 - TIOA2Multi-purpose Timer I/O Pin AI/O–PIO-controlled after reset
Valid after reset; do not reprogram A20 to
I/O, as it is MSB of Flash address
Sampled during reset; must be driven low
during reset for Flash to be used as boot
memory
TIOB0 - TIOB2Multi-purpose Timer I/O Pin BI/O–PIO-controlled after reset
SCK0 - SCK1External Serial ClockI/O–PIO-controlled after reset
USART
PIOP0 - P31Parallel IO LineI/O–
WDNWDOVFWatchdog OverflowOutputLowOpen drain
Clock
Reset
ICE
6174AS–ATARM–25-May-05
TXD0 - TXD1Transmit Data OutputOutput–PIO-controlled after reset
RXD0 - RXD1Receive Data InputInput–PIO-controlled after reset
MCKIMaster Clock InputInput–Schmidt trigger
MCKOMaster Clock OutputOutput–
NRSTHardware Reset InputInputLowSchmidt trigger
NTRITri-state Mode SelectInputLowSampled during reset
NRSTFFlash Memory Reset InputInputLowResets Flash to standard operating mode
Active
LevelComments
Flash Memory when pulled low
signal; open-drain
Power
VDDIOPowerPower–
VDDCOREPowerPower–
GNDGroundGround–
VPPWrite ProtectionInputLow
All V
DDIO, VDDCORE
MUST be connected to their respective
supplies by the shortest route
Provides data protection (Program/Erase)
when VPP input is below 0.4V
and all GND pins
4
AT91FR40162S
6174AS–ATARM–25-May-05
4.Block Diagram
Figure 4-1.AT91FR40162S
D0-D15
A1- A19
A0/NLB
A20
NWR1/NUB
NWAIT
NCS0
NCS1
NRD/NOE
NWR0/NWE
P26/NCS2
P27/NCS3
P29/A21/CS6
P30/A22/CS5
P31/A23/CS4
GND
VPP
VDDIO
VDDIO
NRSTF
NCSF
NBUSY
P0/TCLK0
P3/TCLK1
P6/TCLK2
P1/TIOA0
AT91FR40162S
P2/TIOB0
P4/TIOA1
P5/TIOB1
P7/TIOA2
P8/TIOB2
D0 - D15
ASB
A0/NLB
A1 - A19
P28/A20/NCS7
VPP
VCC
GND
OE WE
A0 - A18
D0 - D15
A19
FLASH MEMORY
EBI: External Bus Interface
Interface
EBI User
AMBA Bridge
MCU
APB
CE
BYTE
RESET
RDY/BUSY
I
P
O
AT91R40008
TC0
Counter
TC: Timer
TC1
TC2
6174AS–ATARM–25-May-05
ARM7TDMI Core
ICE
Embedded
TDI
TCK
TMS
TDO
SRAM
256K Bytes
GND
VDDIO
VDDCORE
Reset
NRST
ASB
Controller
Clock
MCKI
P25/MCKO
AIC: Advanced
Interrupt Controller
P12/FIQ
P9/IRQ0
P10/IRQ1
P11/IRQ2
2 PDC
Channels
USART0
P14/TXD0
P13/SCK0
P15/RXD0
2 PDC
Channels
USART1
I
P
O
P16
P20/SCK1
P22/RXD1
P21/TXD1/NTRI
Chip ID
PS: Power Saving
P17
P18
P19
P23
P24/BMS
PIO: Parallel I/O Controller
WD: Watchdog Timer
NWDOVF
5
5.Architectural Overview
The AT91FR40162S integrates Atmel’s AT91R40008 ARM Thumb processor and a 2-Mbyte
(16-Mbit) Flash memory die in a single compact 121-ball BGA package. The address, data
and control signals, except the Flash memory enable, are internally interconnected.
The AT91R40008 architecture consists of two main buses, the Advanced System Bus (ASB)
and the Advanced Peripheral Bus (APB). Designed for maximum performance and controlled
by the memory controller, the ASB interfaces the ARM7TDMI processor with the on-chip 32-bit
SRAM memory, the External Bus Interface (EBI) connected to the encapsulated Flash and the
™
AMBA
peripherals and optimized for low power consumption.
The AT91FR40162S implements the ICE port of the ARM7TDMI processor on dedicated pins,
offering a complete, low-cost and easy-to-use debug solution for target debugging.
5.1Memories
The AT91FR40162S embeds 256K bytes of internal SRAM. The internal memory is directly
connected to the 32-bit data bus and is single-cycle accessible. This provides maximum performance of 67 MIPS at 75 MHz by using the ARM instruction set of the processor, minimizing
system power consumption and improving on the performance of separate memory solutions.
The AT91FR40162S features an External Bus Interface (EBI), which enables connection of
external memories and application-specific peripherals. The EBI supports 8- or 16-bit devices
and can use two 8-bit devices to emulate a single 16-bit device. The EBI implements the early
read protocol, enabling faster memory accesses than standard memory interfaces.
Bridge. The AMBA Bridge drives the APB, which is designed for accesses to on-chip
5.2Peripherals
The AT91FR40162S encapsulates a Flash memory organized as 1024K 16-bit words,
accessed via the EBI. A 16-bit Thumb instruction can be loaded from Flash memory in a single
access. Separate MCU and Flash memory reset inputs (NRST and NRSTF) are provided for
maximum flexibility. The user is thus free to tailor the reset operation to the application.
The AT91FR40162S integrates resident boot software called AT91 Flash Memory Uploader
software in the encapsulated Flash. The AT91 Flash Memory Uploader software is able to
upload program application software into its Flash memory.
The AT91FR40162S integrates several peripherals, which are classified as system or user
peripherals.
All on-chip peripherals are 32-bit accessible by the AMBA Bridge, and can be programmed
with a minimum number of instructions. The peripheral register set is composed of control,
mode, data, status and enable/disable/status registers.
An on-chip Peripheral Data Controller (PDC) transfers data between the on-chip USARTs and
on- and off-chip memory address space without processor intervention. Most importantly, the
PDC removes the processor interrupt handling overhead, making it possible to transfer up to
64K contiguous bytes without reprogramming the start address, thus increasing the performance of the microcontroller, and reducing the power consumption.
6
AT91FR40162S
6174AS–ATARM–25-May-05
Loading...
+ 11 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.