7
6048C–ATARM–29-Jun-06
AT91SAM7A1
5. Architectural Overview
The AT91SAM7A1 architecture consists of two main buses, the Advanced System Bus (ASB)
and the Advanced Peripheral Bus (APB). The ASB is designed for maximum performance. It
interfaces the processor with the on-chip 32-bit memories and the external memories and
devices by means of the External Bus Interface (EBI). The APB is designed for accesses to on-
chip peripherals and is optimized for low power consumption. The AMBA
Bridge provides an
interface between the ASB and the APB.
The AT91SAM7A1 peripherals are designed to be programmed with a minimum number of
instructions. Each peripheral has a 16 Kbyte address space allocated in the upper 1 Mbytes of
the 4 Gbyte address space. Except for the interrupt controller, the peripheral base address is the
lowest address of its memory space. The peripheral register set is composed of control, mode,
data, status and interrupt registers. To maximize the efficiency of bit manipulation, frequently-
written registers are mapped into three memory locations. The first address is used to set the
individual register bits, the second resets the bits and the third address reads the value stored in
the register. A bit can be set or reset by writing a one to the corresponding position at the appro-
priate address. Writing a zero has no effect. Individual bits can thus be modified without having
to use costly read-modify-write and complex bit manipulation instructions.
The ARM7TDMI processor operates in little-endian mode in the AT91SAM7A1 microcontroller.
The processor's internal architecture and the ARM and Thumb instruction sets are described in
the ARM7TDMI datasheet. The ARM Standard In-Circuit-Emulation debug interface is sup-
ported via the ICE port of the AT91SAM7A1 microcontroller (This is not a standard IEEE 1149.1
JTAG Boundary Scan interface).
6. Advanced Memory Controller (AMC)
The AT91SAM7A1 embeds 4 Kbytes of internal SRAM. The internal memory is directly con-
nected to the 32-bit data bus and is single-cycle accessible. This provides maximum
performance of 36 MIPS @ 40 MHz by using the ARM instruction set of the processor, minimiz-
ing system power consumption and improving on the performance of separate memory
solutions.
7. External Bus Interface (EBI)
The EBI generates the signals that control the accesses to the external memories or peripheral
devices. The EBI is fully programmable and can address up to 6 Mbytes. It has four chip selects
and a 21-bit address bus, the upper bit of which is multiplexed with a chip select. Separate read
and write control signals allow for direct memory and peripheral interfacing. The EBI supports
different access protocols, allowing single clock cycle memory accesses. The main features are:
External Memory Mapping
Up to 4 chip select lines
Byte write or byte select lines
8-bit or 16-bit data bus
External wait
Remap of boot memory
Two different read protocols
Programmable wait state generation
8
6048C–ATARM–29-Jun-06
AT91SAM7A1
8. Generic Interrupt Controller (GIC)
The AT91SAM7A1 has an 8-level priority, individually maskable, vectored interrupt controller.
This feature substantially reduces the software and real time overhead in handling internal and
external interrupts. The interrupt controller is connected to the nFIQ (fast interrupt request) and
the nIRQ (standard interrupt request) inputs of the ARM7TDMI processor. The processor's nFIQ
line can only be asserted by the external fast interrupt request input, the FIQ. The nIRQ line can
be asserted by the interrupts generated by the on-chip peripherals and the external interrupt
request line, IRQ0. An 8-level priority encoder allows the customer to define the priority between
the different nIRQ interrupt sources. Internal sources are programmed to be level sensitive or
edge triggered. External sources can be programmed to be positive or negative edge triggered
or high or low level sensitive.
9. Parallel I/O Controller (PIO)
The AT91SAM7A1 has 49 configurable I/O lines. Thirty-two pins (unified PIO) on the
AT91SAM7A1 are dedicated as general purpose I/O pins (UPIO0 - UPIO31). Other I/O lines are
multiplexed with an external signal of a peripheral to optimize the use of available package pins.
The unified PIO pins are controlled by a dedicated module; the others pins are configured in
each module.
10. Peripheral Data Controller (PDC)
An on-chip, 11-channel Peripheral Data Controller (PDC) transfers data between the on-chip
peripherals and the on- and off-chip memories without processor intervention. One PDC channel
is connected to the receiving channel and one to the transmitting channel of each USART and of
the SPI. A single PDC channel is connected to each ADC and each Capture.
Most importantly, the PDC removes the processor interrupt handling overhead and significantly
reduces the number of clock cycles required for a data transfer. It can transfer up to 64 Kbytes
without reprogramming the starting address. As a result, the performance of the microcontroller
is increased and the power consumption reduced.
11. Universal Synchronous/Asynchronous Receiver/Transmitter (USART)
The AT91SAM7A1 provides three identical, full-duplex Universal Synchronous/Asynchronous
Receiver/Transmitters that are connected to the Peripheral Data Controller. The main features
are:
Programmable Baud Rate Generator
Parity, framing and overrun error detection
Line break generation and detection
Automatic echo, local & remote loopback modes
Multi-drop mode: address detection and generation
Interrupt generation
Two Dedicated Peripheral Data Controller channels
5-, 6-, 7-, 8- and 9-bit character length
Idle flag for J1587 protocol.
Smart card transmission error feature
Support LIN 1.2 protocol with H/W layer
9
6048C–ATARM–29-Jun-06
AT91SAM7A1
12. Serial Peripheral Interface (SPI)
The AT91SAM7A1 features an SPI that provides communication with external devices in master
or slave mode. The SPI has four external chip selects that can be connected to up to 15 devices.
The data length is programmable from 8-bit to 16-bit.
As for the USART, a two-channel PDC is used to move data directly between memory and the
SPI without CPU intervention for maximum real-time processing throughput.
13. Controller Area Network (CAN)
The AT91SAM7A1 provides one CAN (2.0A and 2.0B). These are serial communications proto-
cols that efficiently support distributed real-time control with a very high level of security (16
mailboxes). The main features are:
Prioritization of messages
•Multi-master
System wide data consistency
Error detection and error signaling
Automatic retransmission of corrupted messages
Automatic reply after receive a remote frame
Time stamp on each transfer
Multicast reception with time synchronization
Continuous reception mode
14. General-purpose Timer (GPT)
The AT91SAM7A1 features three general-purpose timers. Each timer can be independently pro-
grammed to perform a wide range of functions including frequency measurement, event
counting, interval measurement, pulse generation, delay timing and pulse width modulation.
Each general-purpose timer has one external clock input, five internal clock inputs, and three
multi-purpose input/output signals that can be configured by the user. Each timer drives an inter-
nal interrupt signal that can be programmed to generate processor interrupts via the GIC
(Generic Interrupt Controller).
Three general-purpose timers are grouped in the same block. This block has two global regis-
ters that act upon all three GPTs. The Block Control Register allows the three timers to be
started simultaneously with the same instruction. The Block Mode Register defines the external
clock inputs for each timer, allowing them to be chained.
15. Simple Timer (ST)
Simple Timers provide basic functions for timing calculation. Each channel of this timer has a
specific prescalar and a 16-bit counter. The prescalar defines the clock frequency of the channel
counter. The 16-bit counter starts down-counting when a value different to zero is loaded. An
interrupt is generated when the counter is null.

AT91SAM7A1-AU

Mfr. #:
Manufacturer:
Microchip Technology / Atmel
Description:
ARM Microcontrollers - MCU LQFP GREEN 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