ADUC7121 Analog Devices, ADUC7121 Datasheet - Page 23

no-image

ADUC7121

Manufacturer Part Number
ADUC7121
Description
Precision Analog Microcontroller, 12-Bit Analog I/O, ARM7TDMI MCU
Manufacturer
Analog Devices
Datasheet

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
Part Number:
ADUC7121BBCZ
Manufacturer:
AD
Quantity:
416
Part Number:
ADUC7121BBCZ
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Part Number:
ADUC7121BBCZ-RL
Manufacturer:
Analog Devices Inc
Quantity:
10 000
MEMORY ORGANIZATION
The ADuC7121 incorporates three separate blocks of memory:
8 kB of SRAM and two 64 kB of on-chip Flash/EE memory.
There are 126 kB of on-chip Flash/EE memory available to the
user, and the remaining 2 kB are reserved for the factory-
configured boot page. These two blocks are mapped as shown
in Figure 9.
Note that by default, after a reset, the Flash/EE memory is mirrored
at Address 0x00000000. It is possible to remap the SRAM at
Address 0x00000000 by clearing Bit 0 of the REMAP MMR.
This remap function is described in more detail in the Flash/EE
Memory section.
MEMORY ACCESS
The ARM7 core sees memory as a linear array of 2
locations where the different blocks of memory are mapped as
outlined in Figure 9.
The ADuC7121 memory organization is configured in little
endian format: the least significant byte is located in the lowest
byte address and the most significant byte is located in the
highest byte address.
BIT 31
0xFFFF0000
0x00080000
0x00040000
0x00000000
BYTE 3
B
7
3
.
.
.
0xFFFFFFFF
0x0001FFFF
0x00041FFF
0x0009F800
BYTE 2
Figure 9. Physical Memory Map
Figure 10. Little Endian Format
A
6
2
.
.
.
32 BITS
BYTE 1
MMRs
RESERVED
FLASH/EE
RESERVED
SRAM
RESERVED
REMAPPABLE MEMORY SPACE
(FLASH/EE OR SRAM)
9
5
1
.
.
.
BYTE 0
8
4
0
.
.
.
BIT 0
0xFFFFFFFF
0x00000004
0x00000000
32
byte
Rev. 0 | Page 23 of 96
FLASH/EE MEMORY
The 128 kB of Flash/EE are organized as two banks of 32k × 16
bits. In the first block, 31k × 16 bits is user space and 1k × 16
bits is reserved for the factory configured boot page. The page
size of this Flash/EE memory is 512 bytes.
The second 64 kB block is organized in a similar manner. It is
arranged in 32k × 16 bits, all of which is available as user space.
The 126 kB of Flash/EE are available to the user as code and
nonvolatile data memory. There is no distinction between data
and program because ARM code shares the same space. The real
width of the Flash/EE memory is 16 bits, meaning that in ARM
mode (32-bit instruction), two accesses to the Flash/EE are neces-
sary for each instruction fetch. Therefore, it is recommended that
Thumb mode be used when executing from Flash/EE memory
for optimum access speed. The maximum access speed for the
Flash/EE memory is 41.78 MHz in Thumb mode and 20.89 MHz
in full ARM mode (see the Execution Time from SRAM and
FLASH/EE section).
SRAM
The 8 kB of SRAM are available to the user, organized as 2k ×
32 bits, that is, 2k words. ARM code can run directly from SRAM
at 41.78 MHz, given that the SRAM array is configured as a 32-bit
wide memory array (see the Execution Time from SRAM and
FLASH/EE section).
MEMORY MAPPED REGISTERS
The memory mapped register (MMR) space is mapped into the
upper two pages of the memory array and accessed by indirect
addressing through the ARM7 banked registers.
The MMR space provides an interface between the CPU and all
on-chip peripherals. All registers, except the core registers, reside
in the MMR area. All shaded locations shown in Figure 11 are
unoccupied or reserved locations and should not be accessed by
user software. Table 10 through Table 27 provide the complete
MMR memory maps.
The access time reading or writing an MMR depends on the
advanced microcontroller bus architecture (AMBA) bus used
to access the peripheral. The processor has two AMBA buses:
advanced high performance bus (AHB) used for system modules
and advanced peripheral bus (APB) used for a lower performance
peripheral. Access to the AHB is one cycle, and access to the
APB is two cycles. All peripherals on the ADuC7121 are on the
APB except the Flash/EE memory and the GPIOs.
ADuC7121

Related parts for ADUC7121