Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Сигнальный МП Motorola DSP56002.pdf
Скачиваний:
22
Добавлен:
26.05.2014
Размер:
2 Мб
Скачать
☆

Freescale Semiconductor, Inc.

Freescale Semiconductor, Inc.

DSP56002 OPERATING MODE REGISTER (OMR)

3.2.2X Data Memory

The on-chip X data RAM is a 24-bit-wide, static internal memory occupying the lowest 256 locations (0–255) in X memory space. The on-chip X data ROM occupies locations 256– 511 in the X data memory space and is controlled by the DE bit in the OMR. (See the explanation of the DE bit in Section 3.3.2 Data ROM Enable (Bit 2). Also, see Figure 3- 1.)The on-chip peripheral registers occupy the top 64 locations of the X data memory ($FFC0–$FFFF). The 16-bit addresses are received from the XAB, and 24-bit data transfers to the data ALU occur on the XDB. The X memory may be expanded to 64K off-chip.

3.2.3Y Data Memory

The on-chip Y data RAM is a 24-bit-wide internal static memory occupying the lowest 256 locations (0–255) in the Y memory space. The on-chip Y data ROM occupies locations 256–511 in Y data memory space and is controlled by the DE and YD bits in the OMR. (See the explanations of the DE and YD bits in Sections Section 3.3.2 Data ROM Enable (Bit 2) and Section 3.3.3 Internal Y Memory Disable Bit (Bit 3), respectively. Also, see Figure 3-1.) The 16-bit addresses are received from the YAB, and 24-bit data transfers to the data ALU occur on the YDB. Y memory may be expanded to 64K off-chip.

Note: The off-chip peripheral registers should be mapped into the top 64 locations ($FFC0– $FFFF) to take advantage of the move peripheral data (MOVEP) instruction.

3.3DSP56002 OPERATING MODE REGISTER (OMR)

Operating modes determine the memory maps for program and data memories, and the start-up procedure when the DSP leaves the reset state. The processor samples the MODA, MODB, and MODC pins as it leaves the reset state, establishes the initial operating mode, and writes the operating mode information to the Operating Mode Register. When the processor leaves the reset state, the MODA and MODB pins become general-purpose interrupt pins, IRQA and IRQB, respectively, and the MODC pin becomes the nonmaskable interrupt pin NMI.

The OMR is a 24-bit register (only six bits are defined) that controls the current operating mode of the processor. It is located in the DSP56002’s Program Control Unit (described in Section 5 of the DSP56000 Family Manual). The OMR bits are only affected by processor reset and by the ANDI, ORI, MOVEC, BSET, BCLR, and BCHG instructions, which directly reference the OMR. The OMR format for the DSP56002 is shown in Figure 3-2 OMR Format.

3 - 4 MEMORY MODULES AND OPERATING MODES MOTOROLA

For More Information On This Product, Go to: www.freescale.com

Freescale Semiconductor, Inc.

Freescale Semiconductor, Inc.

DSP56002 OPERATING MODE REGISTER (OMR)

$FFFF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PROGRAM

 

 

 

$FFFF

 

 

X DATA

 

 

$FFFF

 

 

Y DATA

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MEMORY

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SPACE

 

 

 

 

 

 

 

 

MEMORY

 

 

 

 

 

 

MEMORY

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SPACE

 

 

 

 

 

 

SPACE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

$7F

 

INTERRUPT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

VECTORS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

$0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

$0

 

 

 

 

$0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OPERATING MODE DETERMINES

 

 

 

 

 

 

 

 

 

 

 

PROGRAM MEMORY AND RESET

 

 

 

 

DE and YD BITS IN THE OMR DETERMINE

 

 

STARTING ADDRESS

 

 

 

 

 

 

THE X AND Y DATA MEMORY MAPS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MODE 0

 

 

MODE 2

 

MODE 3

 

DE = 1

 

DE = 0

MC=0 MB=0 MA=0

MC=0 MB=1 MA=0

MC=0 MB=1 MA=1

 

YD = 0

 

YD = 0

$FFFF

 

$FFFF

$FFFF

 

$FFFF

ON-CHIP

EXTERNAL

$FFFF

ON-CHIP

EXTERNAL

 

 

$E000

RESET

 

 

$FFC0 PERIPHERALS

PERIPHERALS

$FFC0 PERIPHERALS

PERIPHERALS

 

 

 

 

$FFBF

 

 

 

 

 

 

EXTERNAL

 

 

EXTERNAL

 

EXTERNAL

 

EXTERNAL

EXTERNAL

 

EXTERNAL

EXTERNAL

 

 

 

 

 

 

 

 

X DATA

Y DATA

 

X DATA

Y DATA

 

 

 

 

 

 

 

 

MEMORY

MEMORY

 

MEMORY

MEMORY

$01FF

 

$01FF

$01FF

 

$01FF

INTERNAL

INTERNAL

 

 

 

 

 

 

 

 

 

 

 

X ROM -

 

 

 

 

INTERNAL

 

 

INTERNAL

 

 

$017F

+A-LAW/LIN

Y ROM

 

 

 

 

RAM

 

 

RAM

 

 

INTERNAL

FULL

 

 

 

 

 

 

 

 

 

 

 

X ROM -

SINE-WAVE

 

 

 

 

 

 

 

 

 

 

 

+MU-LAW/LIN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

$003F INTERRUPTS

$003F

$003F INTERRUPTS

$00FF

INTERNAL

INTERNAL

$00FF

INTERNAL

INTERNAL

 

RESET

 

 

INTERRUPTS

 

RESET

 

X RAM

Y RAM

 

X RAM

Y RAM

$0

 

$0

 

$0

$0

$0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DATA ROMS ENABLED

 

 

 

 

DATA ROMS DISABLED

 

 

INTERNAL P: RAM

 

 

INTERNAL P: RAM

NO INTERNAL P: RAM

 

 

 

 

 

 

 

 

 

 

INTERNAL RESET

 

 

EXTERNAL RESET

EXTERNAL RESET

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DE = 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DE = 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

$FFFF

 

 

YD = 1

 

 

$FFFF

 

 

YD = 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ON-CHIP

 

 

EXTERNAL

 

 

ON-CHIP

 

 

EXTERNAL

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

$FFC0

PERIPHERALS

 

 

PERIPHERALS

 

 

 

PERIPHERALS

 

 

PERIPHERALS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ON-CHIP

 

$FFC0

 

 

 

 

 

 

 

 

INTERRUPT MAP

 

 

 

 

 

PERIPHERAL MAP

 

 

 

$FFBF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

$007F

 

 

HOST COMMANDS

 

 

 

$FFFF

 

INTERRUPT PRIORITY

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

$0040

 

 

 

 

 

 

 

EXTERNAL

 

EXTERNAL

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

BUS CONTROL

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

$003E

ILLEGAL INSTRUCTION INT.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

EXTERNAL

 

$003C

TIMER INTERRUPT

 

 

 

 

 

 

SCI INTERFACE

 

 

 

 

 

 

X DATA

 

Y DATA

 

 

 

 

 

 

 

 

 

Y DATA

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MEMORY

 

MEMORY

 

 

 

 

 

 

 

 

 

 

 

 

$003A

 

HOST COMMANDS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MEMORY

 

 

 

 

 

 

 

 

SSI INTERFACE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

$0024

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

HOST INTERFACE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SCI INTERRUPTS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PARALLEL I/0 INTERFACE

 

 

 

$01FF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SSI INTERRUPTS

 

 

 

 

 

 

 

 

 

 

 

INTERNAL

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

EXTERNAL INTERRUPTS

 

 

 

 

 

TIMER

 

 

 

 

 

 

X ROM -

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+A-LAW/LIN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SWI INTERRUPT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

$017F

 

 

INTERNAL

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

$FFDE

 

 

 

 

 

 

 

 

 

 

 

 

 

X ROM -

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TRACE INTERRUPT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+MU-LAW/LIN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

STACK ERROR INTERRUPT

 

 

 

 

 

 

 

 

 

 

 

 

$00FF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

INTERNAL

 

 

 

 

 

 

$00FF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

INTERNAL

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RESERVED

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RESET

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X RAM

 

 

 

 

 

 

 

 

 

X RAM

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

$0000

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

$FFC0

 

 

 

 

 

 

 

 

$0

 

 

$0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

NOTE: Addresses $FFC0–$FFFF in X data memory are NOT available externally

Figure 3-1 DSP56002 Memory Maps

MOTOROLA MEMORY MODULES AND OPERATING MODES 3 - 5

For More Information On This Product, Go to: www.freescale.com

Соседние файлы в предмете Радиоприемные устройства