ADUC7121 Analog Devices, ADUC7121 Datasheet - Page 22
![no-image](/images/manufacturer_photos/0/0/56/analog_devices_sml.jpg)
ADUC7121
Manufacturer Part Number
ADUC7121
Description
Precision Analog Microcontroller, 12-Bit Analog I/O, ARM7TDMI MCU
Manufacturer
Analog Devices
Datasheet
1.ADUC7121.pdf
(96 pages)
Specifications of ADUC7121
Mcu Core
ARM7 TDMI
Mcu Speed (mips)
40
Sram (bytes)
8192Bytes
Gpio Pins
32
Adc # Channels
9
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ADUC7121BBCZ
Manufacturer:
AD
Quantity:
416
Company:
Part Number:
ADUC7121BBCZ
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Company:
Part Number:
ADUC7121BBCZ-RL
Manufacturer:
Analog Devices Inc
Quantity:
10 000
ADuC7121
ARM REGISTERS
ARM7TDMI has a total of 37 registers: 31 general-purpose
registers and 6 status registers. Each operating mode has
dedicated banked registers.
When writing user level programs, 15 general-purpose 32-bit
registers (R0 to R14), the program counter (R15), and the cur-
rent program status register (CPSR) are usable. The remaining
registers are used for system level programming and exception
handling only.
When an exception occurs, some of the standard registers are
replaced with registers specific to the exception mode. All excep-
tion modes have replacement banked registers for the stack
pointer (R13) and the link register (R14) as represented in
Figure 8. The fast interrupt mode has more registers (R8 to R12)
for fast interrupt processing. This means that the interrupt
processing can begin without the need to save or restore these
registers, thus saving critical time in the interrupt handling
process.
More information relative to the programmer’s model and the
ARM7TDMI core architecture can be found in the following
materials from ARM, Ltd.:
•
•
USER MODE
ARM DDI 0029G, ARM7TDMI Technical Reference Manual
ARM DDI 0100, ARM Architecture Reference Manual
R15 (PC)
CPSR
R10
R11
R12
R13
R14
R0
R1
R2
R3
R4
R5
R6
R7
R8
R9
SPSR_FIQ
R10_FIQ
R11_FIQ
R12_FIQ
R13_FIQ
R14_FIQ
R8_FIQ
R9_FIQ
Figure 8. Register Organization
MODE
FIQ
SPSR_SVC
R13_SVC
R14_SVC
MODE
SVC
SPSR_ABT
R13_ABT
R14_ABT
ABORT
MODE
USABLE IN USER MODE
SYSTEM MODES ONLY
SPSR_IRQ
R13_IRQ
R14_IRQ
MODE
IRQ
UNDEFINED
SPSR_UND
R13_UND
R14_UND
MODE
Rev. 0 | Page 22 of 96
INTERRUPT LATENCY
The worst-case latency for a fast interrupt request (FIQ)
consists of the following:
•
•
•
•
At the end of this time, the ARM7TDMI executes the instruc-
tion at 0x1C (FIQ interrupt vector address). The maximum
total time is 50 processor cycles, which is just under 1.2 μs in
a system using a continuous 41.78 MHz processor clock.
The maximum interrupt request (IRQ) latency calculation is
similar, but must allow for the fact that FIQ has higher priority
and may delay entry into the IRQ handling routine for an
arbitrary length of time. This time can be reduced to 42 cycles if
the LDM command is not used. Some compilers have an option
to compile without using this command. Another option is to run
the part in Thumb mode wherein the time is reduced to 22 cycles.
The minimum latency for FIQ or IRQ interrupts is a total of
five cycles, which consist of the shortest time the request can
take through the synchronizer plus the time to enter the
exception mode.
Note that the ARM7TDMI always runs in ARM (32-bit) mode
when in privileged modes, for example, when executing
interrupt service routines.
The longest time the request can take to pass through the
synchronizer.
The time for the longest instruction to complete (the
longest instruction is an LDM) that loads all the registers
including the PC.
The time for the data abort entry.
The time for FIQ entry.