Analog Devices ADSP-2181, ADSP-2183 manual Pmovlay, Memory A13 A120

Page 7

ADSP-2181/ADSP-2183

Memory Architecture

The ADSP-2181/ADSP-2183 provides a variety of memory and peripheral interface options. The key functional groups are Pro- gram Memory, Data Memory, Byte Memory, and I/O.

Program Memory is a 24-bit-wide space for storing both in- struction opcodes and data. The ADSP-2181/ADSP-2183 has 16K words of Program Memory RAM on chip, and the capabil- ity of accessing 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.

Data Memory is a 16-bit-wide space used for the storage of data variables and for memory-mapped control registers. The ADSP-2181/ADSP-2183 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.

Byte Memory provides access to an 8-bit wide memory space through the Byte DMA (BDMA) port. The Byte Memory inter- face provides access to 4 MBytes of memory by utilizing eight data lines as additional address lines. This 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.

Program Memory

The ADSP-2181/ADSP-2183 contains a 16K × 24 on-chip program RAM. The on-chip program memory is designed to al- low up to two accesses each cycle so that all operations can complete in a single cycle. In addition, the ADSP-2181/ADSP- 2183 allows the use of 8K external memory overlays.

The program memory space organization is controlled by the MMAP pin and the PMOVLAY register. Normally, the ADSP- 2181/ADSP-2183 is configured with MMAP = 0 and program memory organized as shown in Figure 4.

PROGRAM MEMORY

ADDRESS

0x3FFF

8K INTERNAL

(PMOVLAY = 0, MMAP = 0)

OR

EXTERNAL 8K

(PMOVLAY = 1 or 2,

MMAP = 0)

0x2000

0x1FFF

8K INTERNAL

0x0000

Figure 4. Program Memory (MMAP = 0)

There 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. The external address is generated as shown in Table II.

Table II.

PMOVLAY

Memory

A13

A12:0

 

 

 

 

0

Internal

Not Applicable

Not Applicable

 

 

 

 

1

External

0

13 LSBs of Address

 

Overlay 1

 

Between 0x2000

 

 

 

and 0x3FFF

 

 

 

 

2

External

1

13 LSBs of Address

 

Overlay 2

 

Between 0x2000

 

 

 

and 0x3FFF

 

 

 

 

This organization provides for two external 8K overlay segments using only the normal 14 address bits. This 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.

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.

PROGRAM MEMORY

ADDRESS

0x3FFF

INTERNAL 8K

(PMOVLAY = 0, MMAP = 1)

0x2000

0x1FFF

8K EXTERNAL

0x0000

Figure 5. Program Memory (MMAP = 1)

Data Memory

The ADSP-2181/ADSP-2183 has 16,352 16-bit words of inter- nal data memory. In addition, the ADSP-2181/ADSP-2183 allows the use of 8K external memory overlays. Figure 6 shows the organization of the data memory.

DATA MEMORY

ADDRESS

0x3FFF

32MEMORY– MAPPED REGISTERS

0x3FEO

0x3FDF

INTERNAL 8160 WORDS

0x2000

0x1FFF

8K INTERNAL

(DMOVLAY = 0)

OR

EXTERNAL 8K

(DMOVLAY = 1, 2)

0x0000

Figure 6. Data Memory

REV. 0

–7–

Image 7
Contents General Description Functional Block DiagramArchitecture Overview ADSP-2181/ADSP-2183ADSP-2181/ADSP-2183 Integration PIN Descriptions Pin Input Names Pins Output FunctionLowest Priority Interrupt VectorSource of Interrupt Address Hex Highest PriorityADSP-2181 ADSP-2183 System InterfaceMemory A13 A120 PmovlayInternal Address Range Wait State RegisterMemory Space Word Size Alignment Idma Port Booting Booting MethodDesigning AN EZ-ICE-COMPATIBLE System Syntax IOaddr = dreg dreg = IOaddrBiased Rounding Instruction SET DescriptionPM, DM, BM, IOM, & CM Reset GNDGrades Parameter Test Conditions Min Max Unit Grade Parameter Min Max UnitESD Sensitivity Memory Timing SpecificationsFrequency Dependency for Timing Specifications Absolute Maximum Ratings50C/W 2C/W 48C/W Package41C/W 10C/W 31C/W Test Conditions Capacitive LoadingADSP-2183-SPECIFICATIONS ADSP-2183 Timing Parameters Tqfp Delay Valid Output Control Signals Parameter Min Max Unit Clock Signals and Reset28.8 MHz Parameter Min Max Clock Signals and Reset Flag Output Hold after Clkout Low5 5tCK FI, or PFx Setup before Clkout Low1, 2, 3 25tCK + IRQxFlag Output Delay from Clkout Low5 25tCK + Parameter Min Max Unit Interrupts and FlagParameter Min Max Unit Bus Request/Grant 28.8 MHz Parameter Min Max Unit Memory Read Parameter Min Max Unit Memory ReadParameter Min Max Unit Memory Write Parameter Min Max Unit Serial Ports Parameter Min Max Unit Idma Address Latch 28.8 MHz Parameter Min Max Unit Idma Write, Short Write CycleParameter Min Max Idma Write, Short Write Cycle Parameter Min Max Unit Idma Write, Long Write Cycle 28.8 MHz Parameter Min Max Unit Idma Read, Long Read Cycle Parameter Min Max Unit Idma Read, Long Read Cycle28.8 MHz Parameter Min Max Unit Idma Read, Short Read Cycle Parameter Min Max Unit Idma Read, Short Read CycleLead Tqfp Package Pinout Number Name PinOutline Dimensions Millimeters Inches Symbol MIN TYP MAXLead Pqfp Package Pinout PF0 160 Ordering Guide Page Page C2144-16-6/96