z89136 ZiLOG Semiconductor, z89136 Datasheet - Page 48

no-image

z89136

Manufacturer Part Number
z89136
Description
Low-cost Dtad Controller
Manufacturer
ZiLOG Semiconductor
Datasheet
Z89135/136 (ROMless)
Low-Cost DTAD Controller
Z8_IRQ3. This bit can be read from both Z8 and DSP and
can be set by DSP only. Addressing this location accesses
bit D3 of the Z8 IRQ register, hence this bit is not imple-
mented in the ICR. During the interrupt service routine ex-
ecuted on the Z8 side, the User has to reset the Z8_IRQ3
bit by writing a 1 to bit D0 of the DSPCON. The hardware
of the Z89165/C66 automatically resets Z8_IRQ3 bit three
instructions of the Z8 after 1 is written to its location in reg-
ister bank 0F. This delay provides the timing synchroniza-
tion between the Z8 and the DSP sides during interrupts.
In summary, the interrupt service routine of the Z8 for IRQ3
should be finished by:
LD
OR
POP
IRET
DSP ANALOG DATA REGISTERS
The D/A conversion is DSP driven by sending 10-bit data
to the EXT5 of the DSP. The six remaining bits of EXT5 are
not used (Figure 34).
1-48
DSP_IPR[2-0]
2 1 0
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
;RP,#%0F
;r12,#%01
;RP
;
F
F
E
E
D
D
Figure 34. EXT5 Regoster D/A Mode Definition
Figure 35. EXT5 Register A/D Mode Definition
C
C
switched to
B
Z8_INT is
B
Reserved
Reserved
Table 14. DSP Interrupt Selection
A
INT2
INT1
INT2
INT1
INT0
INT0
A
9
9
8
P R E L I M I N A R Y
8
7
7
6
6
5
4
5
DSP Enable_INT. Writing a 1 to this location enables glo-
bal interrupts of the DSP while writing 0 disables them. A
system Reset globally disables all interrupts.
DSP_IPRX. This three-bit group defines the Interrupt Se-
lection logic according to Table 14.
Clear_IRQX. These bits can be accessed by the DSP
only. Writing a 1 to these locations rests the corresponding
DSP_IRQX bits to 0. Clear_IRQX are virtual bits and are
not implemented.
A/D supplies 8-bit data to the DSP through the register
EXT5 of the DSP. From the 16 bits of EXT5, only bits 2
through 9 are used by the A/D (Figure 35). Bits 0 and 1 are
padded with zeroes
3
4
2
3
1
switched to
A/D_INT is
2
Reserved
Reserved
0
INT1
INT2
INT0
INT0
INT2
INT1
1
0
Reserved
8-Bit Data From A/D Converter
Reserved
(Read Only)
10-Bit Data for D/A
Reserved
(Write Only)
switched to
D/A_INT is
Reserved
Reserved
INT0
INT0
INT1
INT2
INT1
INT2
DS97TAD0300
Zilog

Related parts for z89136