Analog Devices ADSP-2186 Memory A13 A120, Address Range Wait State Register, Data Memory

Page 8

ADSP-2186

There are 8K words of memory accessible internally when the PMOVLAY register is set to 0. When PMOVLAY is set to some- thing 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

 

13 LSBs of Address

 

Overlay 1

0

Between 0x2000

 

 

 

and 0x3FFF

2

External

 

13 LSBs of Address

 

Overlay 2

1

Between 0x2000

 

 

 

and 0x3FFF

 

 

 

 

NOTE: Addresses 0x2000 through 0x3FFF should not be accessed when PMOVLAY = 0.

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

When Mode B = 1, booting is disabled and overlay memory is disabled (PMOVLAY must be 0). Figure 5 shows the memory map in this configuration.

PROGRAM MEMORY

ADDRESS

0x3FFF

RESERVED

0x2000

0x1FFF

8K EXTERNAL

0x0000

Figure 5. Program Memory (Mode B = 1)

Data Memory

The ADSP-2186 has 8160 16-bit words of internal data memory. In addition, the ADSP-2186 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

EXTERNAL 8K

(DMOVLAY = 1, 2)

0x0000

Figure 6. Data Memory

There are 8160 words of memory accessible internally when the DMOVLAY register is set to 0. When DMOVLAY is set to something other than 0, external accesses occur at addresses 0x0000 through 0x1FFF. The external address is generated as shown in Table III.

Table III.

DMOVLAY

Memory

A13

A12:0

 

 

 

 

0

Internal

Not Applicable

Not Applicable

1

External

 

13 LSBs of Address

 

Overlay 1

0

Between 0x2000

 

 

 

and 0x3FFF

2

External

 

13 LSBs of Address

 

Overlay 2

1

Between 0x2000

 

 

 

and 0x3FFF

 

 

 

 

This organization allows for two external 8K overlays using only the normal 14 address bits. All internal accesses complete in one cycle. Accesses to external memory are timed using the wait states specified by the DWAIT register.

I/O Space (Full Memory Mode)

The ADSP-2186 supports an additional external memory space called I/O space. This space is designed to support simple con- nections to peripherals or to bus interface ASIC data registers. I/O space supports 2048 locations. The lower eleven bits of the external address bus are used; the upper three bits are unde- fined. Two instructions were added to the core ADSP-2100 Family instruction set to read from and write to I/O memory space. The I/O space also has four dedicated three-bit wait state registers, IOWAIT0-3, which specify up to seven wait states to be automatically generated for each of four regions. The wait states act on address ranges as shown in Table IV.

Table IV.

Address Range

Wait State Register

 

 

0x000–0x1FF

IOWAIT0

0x200–0x3FF

IOWAIT1

0x400–0x5FF

IOWAIT2

0x600–0x7FF

IOWAIT3

 

 

Composite Memory Select (CMS)

The ADSP-2186 has a programmable memory select signal that is useful for generating memory select signals for memories mapped to more than one space. The CMS signal is generated

to have the same timing as each of the individual memory select signals (PMS, DMS, BMS, IOMS), but can combine their

functionality.

Each bit in the CMSSEL register, when set, causes the CMS signal to be asserted when the selected memory select is as- serted. For example, to use a 32K word memory to act as both program and data memory, set the PMS and DMS bits in the CMSSEL register and use the CMS pin to drive the chip select of the memory and use either DMS or PMS as the additional address bit.

The CMS pin functions as the other memory select signals, with the same timing and bus request logic. A 1 in the enable bit causes the assertion of the CMS signal at the same time as the selected memory select signal. All enable bits, except the BMS bit, default to 1 at reset.

–8–

REV. 0

Image 8
Contents General Description Functional Block DiagramGeneral Note Architecture Overview Development SystemAdditional Information Serial Ports PIN DescriptionsInput Pin Name Pins Output Function Common-Mode PinsMemory Interface Pins Setting Memory ModeLOW Power Operation Power-DownSource Of Interrupt Interrupt Vector Address Hex InterruptsIdle n IdleSlow Idle System InterfaceClock Signals ResetMemory Architecture Program MemorySpace Full Memory Mode Memory A13 A120Address Range Wait State Register Data MemoryByte Memory DMA BDMA, Full Memory Mode Internal Memory DMA Port Idma Port Host Memory ModeInternal Memory Space Word Size AlignmentBooting Method MR Value Biased Unbiased Before RND RND Result Syntax IOaddr = dreg dreg = IOaddrBiased Rounding Designing AN EZ-ICE*-COMPATIBLE SystemTarget Board Connector for EZ-ICE* Probe Target System Interface SignalsTarget Memory Interface PM, DM, BM, IOM, & CMGrade Parameter Min Max Unit Grades Parameter Test Conditions Min Typ Max UnitWR Low Total Power Dissipation = Pint + C × VDD2 × f Power DissipationPackage AssumptionsOutput Disable Time Output Enable TimeCapacitive Loading Test ConditionsParameter Min Max Clock Signals and Reset Control SignalsIRQx FI, or PFx Setup before Clkout Low1, 2, 3 TCK + Flag Output Delay from Clkout Low5 TCK +Parameter Min Max Unit Interrupts and Flag Flag Output Hold after Clkout Low5 25 tCKParameter Min Max Unit Bus Request/Grant Parameter Min Max Unit Memory Read Parameter Min Max Unit Memory Write Parameter Min Max Unit Serial Ports Parameter Min Max Unit Idma Address Latch IAD15-0 Data Setup before End of Write2, 3 Parameter Min Max Idma Write, Short Write CycleIack Low before Start of Write1 Duration of Write1IAD15-0 Data Setup before Parameter Min Max Unit Idma Write, Long Write CycleLow before Start of Write1 Low4 TCKParameter Min Max Unit Idma Read, Long Read Cycle High after Start of Read1 Duration of Read Switching CharacteristicsParameter Min Max Unit Idma Read, Short Read Cycle Lead Tqfp Package Pinout ADSP-2186Pin Number Name A4/IAD3A5/IAD4 A6/IAD5ST-100 Outline DimensionsOrdering Guide Page C2999-6-3/97