4
AT94FR40161
6040B–ATARM–03/04
Flash
Memory
NCSF Flash Memory Select Input Low Enables Flash Memory when pulled low
NBUSY Flash Memory Busy Output Output Low Flash RDY/BUSY signal; open-drain
NRSTF Flash Memory Reset Input Input Low Resets Flash to standard operating mode
Power
V
DD
Power Power All V
DD
and all GND pins MUST be
connected to their respective supplies by
the shortest route
GND Ground Ground
VPP Faster Program/Erase Voltage Power
See AT49BV/LV1604A/1614A (T)
2 Mbyte (1M x 16/2M x 8) 3-volt Only Flash
Memory Datasheet
Table 1.
AT91FR40161 Pin Description (Continued)
Module Name Function Type
Active
Level Comments
5
AT94FR40161
6040B–ATARM–03/04
Block Diagram
Figure 2.
AT91FR40161
EBI: External Bus Interface
RAM
8K Bytes
ASB
Controller
Clock
AMBA Bridge
EBI User
Interface
PIO: Parallel I/O Controller
D0-D15
A1-A19
A0/NLB
NRD/NOE
NWR0/NWE
NWR1/NUB
NWAIT
NCS0
NCS1
P26/NCS2
P27/NCS3
P29/A21/CS
6
P30/A22/CS
5
P31/A23/CS
4
MCKI
P25/MCKO
P12/FIQ
P9/IRQ0
P10/IRQ1
P11/IRQ2
P13/SCK0
P14/TXD0
P15/RXD0
P20/SCK1
P
21/TXD1/NTRI
P22/RXD1
P16
P17
P18
P19
P23
P24/BMS
Reset
NRST
WD: Watchdog Timer
NWDOVF
P
I
O
TC: Timer
Counter
TC0
TC1
P0/TCLK0
P3/TCLK1
P6/TCLK2
P1/TIOA0
P2/TIOB0
P4/TIOA1
P5/TIOB1
TC2
P7/TIOA2
P8/TIOB2
AIC: Advanced
Interrupt Controller
USART0
USART1
2 PDC
Channels
2 PDC
Channels
PS: Power Saving
APB
Chip ID
P
I
O
A1 - A19
D0 - D15
NCSF
VDD
VDD
VDD
NRSTF
NBUSY
OE
WE
VPP
GND
CE
VCC
VCCQ
BYTE
RESET
RDY/BUSY
VPP
GND
MCU
AT91R40807
FLASH MEMORY
AT49BV1604A/1614A
ARM7TDMI Core
ASB
TMS
TDO
TDI
TCK
Embedded
ICE
VDD
GND
SRAM
128K Bytes
D0 - D15
A0 - A18
A20
A0/NLB
P28/A20/CS7
A19
6
AT94FR40161
6040B–ATARM–03/04
Architectural
Overview
The AT91FR40161 integrates Atmel’s AT91R40807 ARM Thumb processor and an
AT49BV1604A/1614A 2 Mbyte (16 Mbit) Flash memory die in a single compact 120-ball
BGA device. The address, data and control signals, except the Flash memory enable
and Flash reset, are internally interconnected.
The AT91R40807 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 memories, the External Bus Interface (EBI) and the AMBA
Bridge. The AMBA Bridge drives the APB, designed for access to on-chip peripherals
and optimized for low power consumption.
The AT91FR40161 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.
Memories
The AT91FR40161 embeds 136 Kbytes 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 30 MIPS at 33 MHz by using the ARM instruction set of the
processor, minimizing system power consumption and improving on the performance of
separate memory solutions.
The AT91FR40161 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 imple-
ments the early read protocol, enabling faster memory access than standard memory
interfaces.
The AT91FR40161 embeds a Flash memory organized as 1024K 16-bit words,
accessed via the EBI. Its main function is program memory. 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 AT91FR40161 integrates resident boot software called AT91 Flash Uploader soft-
ware in the embedded Flash. The AT91 Flash Uploader software is able to upload
program application software into its Flash memory.
Peripherals
The AT91FR40161 integrates several peripherals that are classified as system or user
peripherals.
All on-chip peripherals are 32-bit accessible by the AMBA Bridge, and can be pro-
grammed 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 spaces 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.
System Peripherals
The External Bus Interface (EBI) controls the external memory or peripheral devices via
an 8- or 16-bit data bus and is programmed through the APB. Each chip select line has
its own programming register.

AT91FR40161-CI

Mfr. #:
Manufacturer:
Description:
IC MCU 16/32BIT 2MB FLASH 120BGA AT91
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet