7
AT91R40807
1345DSATARM02/02
Associated Documentation
The AT91R40807 is a part of the AT91X40 Series microcontrollers, a member of the Atmel AT91 16/32-bit microcontroller
family which is based on the ARM7TDMI processor core. Table 2 contains details of associated documentation for further
reference.
Table 2 . Associated Documentation
Product Information Document Title
AT91R40807
Internal architecture of processor
ARM/Thumb instruction sets
Embedded in-circuit-emulator
ARM7TDMI (Thumb) Datasheet
External memory interface mapping
Peripheral operations
Peripheral user interfaces
AT91x40 Series Datasheet
DC characteristics
Power consumption
Thermal and reliability considerations
AC characteristics
AT91R40807 Electrical Characteristics
Product overview
Ordering information
Packaging information
Soldering profile
AT91R40807 Summary Datasheet (this document)
8
AT91R40807
1345DSATARM02/02
Product Overview
Power Supply The AT91R40807 microcontroller has a unique type of power supply pin VDD. The
VDD pin supplies the I/O pads and the device core. The supported voltage range on V
DD
is 1.8V to 3.6V.
Input/Output
Considerations
The AT91R40807 accepts voltage levels up to the power supply limit on the pads.
After the reset, the peripheral I/Os are initialized as inputs to provide the user with maxi-
mum flexibility. It is recommended that in any application phase the inputs to the
AT91R40807 microcontroller be held at valid logic levels to minimize the power
consumption.
Master Clock The AT91R40807 microcontroller has a fully static design and work on the Master Clock
(MCK), provided on the MCKI pin from an external source.
The Master Clock is also provided as an output of the device on the pin MCKO, which is
multiplexed with a general-purpose I/O line. While NRST is active, MCKO remains low.
After the reset, the MCKO is valid and outputs an image of the MCK signal. The PIO
controller must be programmed to use this pin as standard I/O line.
Reset Reset restores the default states of the user interface registers (defined in the user inter-
face of each peripheral), and forces the ARM7TDMI to perform the next instruction fetch
from address zero. Except for the program counter the ARM7TDMI registers do not
have defined reset states.
NRST Pin NRST is active low-level input. It is asserted asynchronously, but exit from reset is syn-
chronized internally to the MCK. The signal presented on MCKI must be active within
the specification for a minimum of 10 clock cycles up to the rising edge of NRST to
ensure correct operation.
The first processor fetch occurs 80 clock cycles after the rising edge of NRST.
Watchdog Reset The watchdog can be programmed to generate an internal reset. In this case, the reset
has the same effect as the NRST pin assertion, but the pins BMS and NTRI are not
sampled. Boot mode and Tri-state mode are not updated. If the NRST pin is asserted
and the Watchdog triggers the internal reset, the NRST pin has priority.
Emulation Functions
Tri-state Mode The AT91R40807 provides a Tri-state mode, which is used for debug purposes. This
enables the connection of an emulator probe to an application board without having to
desolder the device from the target board. In Tri-state mode, all the output pin drivers of
the AT91R40807 microcontroller are disabled.
To enter Tri-state mode, the pin NTRI must be held low during the last 10 clock cycles
before the rising edge of NRST. For normal operation the pin NTRI must be held high
during reset, by a resistor of up to 400K Ohm.
NTRI is multiplexed with I/O line P21 and USART 1 serial data transmit line TXD1.
Standard RS232 drivers generally contain internal 400K Ohm pull-up resistors. If TXD1
is connected to a device not including this pull-up, the user must make sure that a high-
level is tied on NTRI while NRST is asserted.
9
AT91R40807
1345DSATARM02/02
JTAG/ICE Debug ARM Standard Embedded In-circuit Emulation is supported via the JTAG/ICE port. The
pins TDI, TDO, TCK and TMS are dedicated to this debug function and can be con-
nected to a host computer via the external ICE interface.
In ICE Debug mode, the ARM7TDMI core responds with a non-JTAG chip ID that identi-
fies the microcontroller. This is not fully IEEE1149.1 compliant.
Memory Controller The ARM7TDMI processor address space is 4G bytes. The memory controller decodes
the internal 32-bit address bus and defines three address spaces:
Internal memories in the four lowest megabytes
Middle space reserved for the external devices (memory or peripherals) controlled
by the EBI
Internal peripherals in the four highest megabytes
In any of these address spaces, the ARM7TDMI operates in Little-Endian mode only.
Internal Memories The AT91R40807 microcontroller integrates 8K bytes of primary internal SRAM. All
internal memories are 32 bits wide and single-clock cycle accessible. Byte (8-bit), half-
word (16-bit) or word (32-bit) accesses are supported and are executed within one
cycle. Fetching Thumb or ARM instructions is supported and internal memory can store
twice as many Thumb instructions as ARM ones.
The primary SRAM bank is mapped at address 0x0 (after the remap command), allow-
ing ARM7TDMI exception vectors between 0x0 and 0x20 to be modified by the
software. The rest of the bank can be used for stack allocation (to speed up context sav-
ing and restoring) or as data and program storage for critical algorithms.
The AT91R40807 also integrates an extended memory bank of 128K bytes at address
0x0010 0000. Placing the SRAM on-chip and using the 32-bit data bus bandwidth maxi-
mizes the microcontroller performance and minimizes the system power consumption.
The 32-bit bus increases the effectiveness of the use of the ARM instruction set, and the
ability of processing data that is wider than 16-bit, thus making optimal use of the
ARM7TDMI advanced performance.
Being able to dynamically update application software in the 128-Kbyte SRAM adds an
extra dimension to the AT91R40807. This 128-Kbyte SRAM can also be used to vali-
date the code to be stored in the on-chip ROM memory prior to mass production of the
AT91M40807. At system boot, the code is downloaded from external nonvolatile mem-
ory to this on-chip extended SRAM. In order to prevent accidental write to the extended
SRAM during the ROM emulation, a write detection feature has been implemented.
The AT91R40807 microcontroller ROM version (AT91M40807) integrates 128K bytes of
internal ROM at address 0x0010 0000. The ROM version offers a reduced-cost option
for high-volume applications in which the software is stable.
Boot Mode Select The ARM reset vector is at address 0x0. After the NRST line is released, the
ARM7TDMI executes the instruction stored at this address. This means that this
address must be mapped in nonvolatile memory after the reset.
The input level on the BMS pin during the last 10 clock cycles before the rising edge of
the NRST selects the type of boot memory. The Boot Mode depends on BMS (see
Table 3).
The AT91R40807 supports boot in on-chip extended SRAM, for the purpose of emulat-
ing ROM versions. In this case, the microcontroller must first boot from external
nonvolatile memory, and ensure that a valid program is downloaded in the on-chip

AT91R40807-33AU

Mfr. #:
Manufacturer:
Microchip Technology / Atmel
Description:
ARM Microcontrollers - MCU LQFP IND TEMP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet