adsp-21msp58 Analog Devices, Inc., adsp-21msp58 Datasheet - Page 7

no-image

adsp-21msp58

Manufacturer Part Number
adsp-21msp58
Description
Dsp Microcomputers
Manufacturer
Analog Devices, Inc.
Datasheet
REV. 0
The read (RD) signal indicates a read operation and is used as a
read strobe or output enable signal. An external program
memory access should always be qualified with the PMS signal.
The ADSP-21msp58/59 writes data from its 16-bit registers to
24-bit program memory using the PX register to provide the
lower eight bits. When the processor reads data (not instruc-
tions) from 24-bit program memory to a 16-bit data register, the
lower eight bits are placed in the PX register. The program
memory interface can generate zero to seven wait states for ex-
ternal memory devices; the default is seven wait states after
RESET.
Program Memory Maps
ADSP-21msp58
ADSP-21msp58 Program memory can be mapped in two ways,
depending on the state of the MMAP pin. Figure 5 shows the
two configurations. When MMAP = 0, internal RAM occupies
2K words beginning at address 0x0000; external program
memory uses the remaining 14K words beginning at address
0x0800. In this configuration, the boot loading sequence (de-
scribed in “Boot Memory Interface”) is automatically initiated
when RESET is released.
Figure 5. ADSP-21msp58 Program Memory Maps
LOADED FROM
EXTERNAL
EXTERNAL
INTERNAL
MEMORY
MMAP=0
BOOT
RAM
ROM ENABLE = 1
PROGRAMMED
LOADED FROM
0000
3FFF
07FF
0800
17F0 – 17FF
RESERVED
EXTERNAL
INTERNAL
EXTERNAL
MMAP = 0
INTERNAL
MEMORY
MASK
BOOT
ROM
RAM
NOT LOADED
EXTERNAL
INTERNAL
MMAP=1
17FF
1800
07FF
0800
0000
3FFF
RAM
Figure 6. ADSP-21msp59 Program Memory Maps
ROM ENABLE = 0
LOADED FROM
0000
37FF
3800
3FFF
EXTERNAL
MMAP = 0
EXTERNAL
INTERNAL
MEMORY
BOOT
RAM
07FF
0800
0000
3FFF
–7–
When MMAP = 1, 14K words of external program memory be-
gin at address 0x0000 and internal RAM is located in the upper
2K words, beginning at address 0x3800. In this configuration,
the boot loading sequence does not take place; execution begins
immediately after RESET.
ADSP-21msp59
The ADSP-21msp59 is functionally identical to the ADSP-
21msp58. The ADSP-21msp59 includes an additional 4K by
24-bit mask programmable ROM (see Figure 6). The ROM
can be used to hold program instructions or data and can be
accessed twice in one instruction cycle if necessary. The ROM
always resides at locations PM[0x0800] through PM[0x17FF]
regardless of the state of the MMAP pin. Sixteen addresses at
the end of ROM (0x17F0–0x17FF) are reserved for Analog
Devices’ use. The ROM is enabled by setting the ROMENABLE
bit in the Data Memory Wait State control register, DM[0x3FFE].
When the ROMENABLE bit is set to 1, addressing program
memory in this range will access the on-chip ROM. When set
to 0, addressing program memory in this range will access exter-
nal program memory. The ROMENABLE bit is set to 0 on
chip reset.
Data Memory Interface
The data memory address bus (DMA) is 14 bits wide. The bi-
directional external data bus is 24 bits wide, with the upper 16
bits used for data memory data (DMD) transfers.
The data memory select (DMS) signal indicates access to data
memory and can be used as a chip select signal. The write (WR)
signal indicates a write operation and can be used as a write
strobe. The read (RD) signal indicates a read operation and can
be used as a read strobe or output enable signal.
The ADSP-21msp58/59 supports memory-mapped I/O, with
the peripherals memory mapped into the data or program
memory address spaces and accessed by the processor in the
same manner.
Data Memory Map
The on-chip data memory RAM resides in the 2K words begin-
ning at address 0x3000, as shown in Figure 7. In addition, data
memory locations from 0x3800 to the end of data memory at
0x3FFF are reserved. Control registers for the system, timer,
ROM ENABLE = 1
PROGRAMMED
NOT LOADED
17F0 – 17FF
RESERVED
MMAP = 1
EXTERNAL
EXTERNAL
INTERNAL
INTERNAL
MASK
ROM
RAM
17FF
1800
0000
07FF
0800
37FF
3800
3FFF
ROM ENABLE = 0
NOT LOADED
EXTERNAL
MMAP = 1
INTERNAL
RAM
ADSP-21msp58/59
37FF
3800
3FFF
0000

Related parts for adsp-21msp58