ADSP-2181
Table II.
P MO VLAY Mem ory A13
Mem or y Ar chitectur e
T he ADSP-2181 provides a variety of memory and peripheral
interface options. T he key functional groups are Program
Memory, Data Memory, Byte Memory and I/O.
A12:0
0
1
Internal
Not Applicable Not Applicable
P r ogr am Mem or y is a 24-bit-wide space for storing both
instruction opcodes and data. T he ADSP-2181 has 16K words
of Program Memory RAM on chip and the capability of access-
ing up to two 8K external memory overlay spaces using the
external data bus. Both an instruction opcode and a data value
can be read from on-chip program memory in a single cycle.
External
Overlay 1
0
1
13 LSBs of Address
Between 0x2000
and 0x3FFF
2
External
13 LSBs of Address
Between 0x2000
and 0x3FFF
Overlay 2
D ata Mem or y is a 16-bit-wide space used for the storage of
data variables and for memory-mapped control registers. T he
ADSP-2181 has 16K words on Data Memory RAM on chip,
consisting of 16,352 user-accessible locations and 32 memory-
mapped registers. Support also exists for up to two 8K external
memory overlay spaces through the external data bus.
T his organization provides for two external 8K overlay segments
using only the normal 14 address bits. T his allows for simple
program overlays using one of the two external segments in
place of the on-chip memory. Care must be taken in using this
overlay space in that the processor core (i.e., the sequencer)
does not take into account the PMOVLAY register value. For
example, if a loop operation was occurring on one of the exter-
nal overlays and the program changes to another external over-
lay or internal memory, an incorrect loop operation could occur.
In addition, care must be taken in interrupt service routines as
the overlay registers are not automatically saved and restored on
the processor mode stack.
Byte Mem or y provides access to an 8-bit wide memory space
through the Byte DMA (BDMA) port. T he Byte Memory inter-
face provides access to 4 MBytes of memory by utilizing eight
data lines as additional address lines. T his gives the BDMA Port
an effective 22-bit address range. On power-up, the DSP can
automatically load bootstrap code from byte memory.
I/O Space allows access to 2048 locations of 16-bit-wide data.
It is intended to be used to communicate with parallel periph-
eral devices such as data converters and external registers or
latches.
For ADSP-2100 Family compatibility, MMAP = 1 is allowed.
In this mode, booting is disabled and overlay memory is dis-
abled (PMOVLAY must be 0). Figure 5 shows the memory map
in this configuration.
P r ogr am Mem or y
T he ADSP-2181 contains a 16K × 24 on-chip program RAM.
T he on-chip program memory is designed to allow up to two
accesses each cycle so that all operations can complete in a
single cycle. In addition, the ADSP-2181 allows the use of 8K
external memory overlays.
PROGRAM MEMORY
ADDRESS
0x3FFF
INTERNAL 8K
(PMOVLAY = 0,
MMAP = 1)
0x2000
0x1FFF
T he program memory space organization is controlled by the
MMAP pin and the PMOVLAY register. Normally, the ADSP-
2181 is configured with MMAP = 0 and program memory orga-
nized as shown in Figure 4.
8K EXTERNAL
0x0000
PROGRAM MEMORY
ADDRESS
0x3FFF
Figure 5. Program Mem ory (MMAP = 1)
D ata Mem or y
T he ADSP-2181 has 16,352 16-bit words of internal data
memory. In addition, the ADSP-2181 allows the use of 8K
external memory overlays. Figure 6 shows the organization of
the data memory.
8K INTERNAL
(PMOVLAY = 0,
MMAP = 0)
OR
EXTERNAL 8K
(PMOVLAY = 1 or 2,
MMAP = 0)
0x2000
0x1FFF
DATA MEMORY
ADDRESS
0x3FFF
8K INTERNAL
32 MEMORY–
MAPPED REGISTERS
0x0000
0x3FEO
0x3FDF
Figure 4. Program Mem ory (MMAP = 0)
INTERNAL
8160 WORDS
T here are 16K words of memory accessible internally when the
PMOVLAY register is set to 0. When PMOVLAY is set to
something other than 0, external accesses occur at addresses
0x2000 through 0x3FFF. T he external address is generated as
shown in T able II.
0x2000
0x1FFF
8K INTERNAL
(DMOVLAY = 0)
OR
EXTERNAL 8K
(DMOVLAY = 1, 2)
0x0000
Figure 6. Data Mem ory
REV. D
–7–