![](http://datasheet.mmic.net.cn/200000/Z8913820FSC_datasheet_15116834/Z8913820FSC_42.png)
Z89138/Z89139
Voice Processing Controllers
Zilog
42
P R E L I M I N A R Y
DS97TAD0201
DSP REGISTERS DESCRIPTION
General. The DSP is a high-performance second genera-
tion CMOS Digital Signal Processor with a modified Har-
vard-type architecture with separate program and data
ports. The design has been optimized for processing pow-
er and saving silicon space.
Registers. The DSP has eight internal registers and sev-
en external registers. The external registers are for the A/D
and D/A converters, and the mailbox and interrupt interfac-
ing between DSP to the Z8. External registers are access-
ed in one machine cycle, the same as internal registers.
DSP Registers
There are 15 internal and extended 16-bit registers which
are defined in Table 11.
EXT3-EXT0 (External Registers 3-0). These are the Mail-
box Registers used by the DSP and Z8 to communicate.
These four 16-bit registers correspond to the eight outgo-
ing and eight incoming 8-bit registers in Bank B of the Z8’s
Expanded Register File.
EXT4 (DSP Interrupt Control Register (ICR)). This register
controls the interrupts in the DSP as well as the interrupts
in common between the DSP and the Z8. It is accessible
by the DSP only, except for bit F and bit 9.
EXT5 (D/A and A/D Data Register). This register is used
by both D/A and A/D converters. The D/A converter is
loaded by writing to this register, while the A/D converter is
addressed by reading from this register. The Register
EXT5 is accessible only by the DSP.
EXT6 (Analog Control Register). This register controls the
D/A and A/D converters. It is a read/write register accessi-
ble only by the DSP.
Table 11. DSP Registers
Register
Attribute
Register Denition
BUS
Read
Data-Bus
X
Read/Write
X Multiplier Input, 16-Bit
Y
Read/Write
Y Multiplier Input, 16-Bit
A
Read/Write
Accumulator, 24-Bit
SR
Read/Write
Status Register
SP
Read/Write
Stack Pointer
PC
Read/Write
Program Counter
P
Read
Output of MAC, 24-Bit
EXT0
Read
Z8 ERF Bank B, Register 00-01 (from Z8)
Write
Z8 ERF Bank B, Register 08-09 (to Z8)
EXT1
Read
Z8 ERF Bank B, Register 02-03 (from Z8)
Write
Z8 ERF Bank B, Register 0A-0B (to Z8)
EXT2
Read
Z8 ERF Bank B, Register 04-05 (from Z8)
Write
Z8 ERF Bank B, Register 0C-0D (to Z8)
EXT3
Read
Z8 ERF Bank B, Register 06-07 (from Z8)
Write
Z8 ERF Bank B, Register 0E-0F (to Z8)
EXT4
Read/Write
DSP Interrupt Control Register
EXT5
Read
A/D Converter
Write
D/A Converter
EXT6
Read/Write
Analog Control Register