16
AT91M55800A
1745CS–ATARM–05/02
Peripherals The AT91M55800A peripherals are connected to the 32-bit wide Advanced Peripheral
Bus. Peripheral registers are only word accessible. Byte and half-word accesses are not
supported. If a byte or a half-word access is attempted, the memory controller automati-
cally masks the lowest address bits and generates a word access.
Each peripheral has a 16-Kbyte address space allocated (the AIC only has a 4-Kbyte
address space).
Peripheral Registers The following registers are common to all peripherals:
Control Register – write only register that triggers a command when a one is written
to the corresponding position at the appropriate address. Writing a zero has no
effect.
Mode Register – read/write register that defines the configuration of the peripheral.
Usually has a value of 0x0 after a reset.
Data Registers – read and/or write register that enables the exchange of data
between the processor and the peripheral.
Status Register – read only register that returns the status of the peripheral.
Enable/Disable/Status Registers – shadow command registers. Writing a one in the
Enable Register sets the corresponding bit in the Status Register. Writing a one in
the Disable Register resets the corresponding bit and the result can be read in the
Status Register. Writing a bit to zero has no effect. This register access method
maximizes the efficiency of bit manipulation, and enables modification of a register
with a single non-interruptible instruction, replacing the costly read-modify-write
operation.
Unused bits in the peripheral registers are shown as “–” and must be written at 0 for
upward compatibility. These bits read 0.
Peripheral Interrupt Control The Interrupt Control of each peripheral is controlled from the status register using the
interrupt mask. The status register bits are ANDed to their corresponding interrupt mask
bits and the result is then ORed to generate the Interrupt Source signal to the Advanced
Interrupt Controller.
The interrupt mask is read in the Interrupt Mask Register and is modified with the Inter-
rupt Enable Register and the Interrupt Disable Register. The enable/disable/status (or
mask) makes it possible to enable or disable peripheral interrupt sources with a non-
interruptible single instruction. This eliminates the need for interrupt masking at the AIC
or Core level in real-time and multi-tasking systems.
Peripheral Data Controller An on-chip, 8-channel Peripheral Data Controller (PDC) transfers data between the on-
chip USARTs/SPI 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 SPI.
The user interface of a PDC channel is integrated in the memory space of each periph-
eral. It contains a 32-bit address pointer register and a 16-bit count register. When the
programmed data is transferred, an end of transfer interrupt is generated by the corre-
sponding peripheral.
Most importantly, the PDC removes the processor interrupt handling overhead and sig-
nificantly reduces the number of clock cycles required for a data transfer. It can transfer
up to 64K contiguous bytes. As a result, the performance of the microcontroller is
increased and the power consumption reduced.
17
AT91M55800A
1745CS–ATARM–05/02
System Peripherals
APMC: Advanced Power
Management Controller
The AT91M55800A Advanced Power Management Controller allows optimization of
power consumption. The APMC enables/disables the clock inputs of most of the periph-
erals and the ARM core. Moreover, the main oscillator, the PLL and the analog
peripherals can be put in standby mode allowing minimum power consumption to be
obtained. The APMC provides the following operating modes:
Normal mode: clock generator provides clock to the entire chip except the RTC.
Wait mode: ARM core clock deactivated
Slow Clock mode: clock generator deactivated, master clock 32 kHz
Standby mode: RTC active, all other clocks disabled
Power-down mode: RTC active, supply on the rest of the circuit deactivated
RTC: Real Time Clock The AT91M55800A features a Real-time Clock (RTC) peripheral that is designed for
very low power consumption. It combines a complete time-of-day clock with alarm and a
two-hundred year Gregorian calendar, complemented by a programmable periodic
interrupt.
The time and calendar values are coded in Binary-Coded Decimal (BCD) format. The
time format can be 24-hour mode or 12-hour mode with an AM/PM indicator.
Updating time and calendar fields and configuring the alarm fields is performed by a par-
allel capture on the 32-bit data bus. An entry control is performed to avoid loading
registers with incompatible BCD format data or with an incompatible date according to
the current month/ year/century.
AIC: Advanced Interrupt
Controller
The AIC has an 8-level priority, individually maskable, vectored interrupt controller, and
drives the NIRQ and NFIQ pins of the ARM7TDMI from:
The external fast interrupt line (FIQ)
The six external interrupt request lines (IRQ0 - IRQ5)
The interrupt signals from the on-chip peripherals
The AIC is largely programmable offering maximum flexibility, and its vectoring features
reduce the real-time overhead in handling interrupts.
The AIC also features a spurious vector, which reduces spurious interrupt handling to a
minimum, and a protect mode that facilitates the debug capabilities.
PIO: Parallel I/O Controller The AT91M55800A has 58 programmable I/O lines. 13 pins are dedicated as general-
purpose I/O pins. The other I/O lines are multiplexed with an external signal of a periph-
eral to optimize the use of available package pins. The PIO lines are controlled by two
separate and identical PIO Controllers called PIOA and PIOB. The PIO controller
enables the generation of an interrupt on input change and insertion of a simple input
glitch filter on any of the PIO pins.
WD: Watchdog The Watchdog is built around a 16-bit counter, and is used to prevent system lock-up if
the software becomes trapped in a deadlock. It can generate an internal reset or inter-
rupt, or assert an active level on the dedicated pin NWDOVF. All programming registers
are password-protected to prevent unintentional programming.
SF: Special Function The AT91M55800A provides registers which implement the following special functions.
Chip identification
RESET status
18
AT91M55800A
1745CS–ATARM–05/02
User Peripherals
USART: Universal
Synchronous/
Asynchronous Receiver
Transmitter
The AT91M55800A provides three identical, full-duplex, universal synchronous/asyn-
chronous receiver/transmitters.
Each USART has its own baud rate generator, and two dedicated Peripheral Data Con-
troller channels. The data format includes a start bit, up to 8 data bits, an optional
programmable parity bit and up to 2 stop bits.
The USART also features a Receiver Timeout register, facilitating variable-length frame
support when it is working with the PDC, and a Time-guard register, used when interfac-
ing with slow remote equipment.
TC: Timer/Counter The AT91M55800A features two Timer/Counter blocks that include three identical 16-bit
timer/counter channels. Each channel can be independently programmed to perform a
wide range of functions including frequency measurement, event counting, interval mea-
surement, pulse generation, delay timing and pulse-width modulation.
The Timer/Counters can be used in Capture or Waveform mode, and all three counter
channels can be started simultaneously and chained together.
SPI: Serial Peripheral
Interface
The SPI provides communication with external devices in master or slave mode. It has
four external chip selects that can be connected to up to 15 devices. The data length is
programmable, from 8- to 16-bit.
ADC: Analog-to-digital
Converter
The two identical 4-channel 10-bit analog-to-digital converters (ADC) are based on a
Successive Approximation Register (SAR) approach.
Each ADC has 4 analog input pins, AD0 to AD3 and AD4 to AD7, digital trigger input
AD0TRIG and AD1TRIG pins, and provides an interrupt signal to the AIC. Both ADCs
share the analog power supply VDDA and GNDA pins, and the input reference voltage
ADVREF pin.
Each channel can be enabled or disabled independently, and has its own data register.
The ADC can be configured to automatically enter Sleep Mode after a conversion
sequence, and can be triggered by the software, the Timer/Counter, or an external
signal.
DAC: Digital-to-analog
Converter
Two identical 1-channel 10-bit digital-to-analog converters (DAC).
Each DAC has an analog output pin, DA0 and DA1, and provides an interrupt signal to
the AIC DA0IRQ and DA1IRQ. Both DACs share the analog power supply VDDA and
GNDA pins, and the input reference DAVREF.

AT91M55800-33AI

Mfr. #:
Manufacturer:
Description:
IC MCU 16/32BIT ROMLESS 176TQFP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet