English
Language : 

XR88C681_06 Datasheet, PDF (45/101 Pages) Exar Corporation – CMOS Dual Channel UART (DUART)
XR88C681
-INTR output. This action will, in turn, cause the -INT input
of the CPU to be asserted. Once the CPU has completed
its current instruction, the CPU Module will assert the
-INTA signal. This will in turn assert the -IACK (Interrupt
Acknowledge) input to the DUART. The purpose of the
asserted -IACK signal is to inform the DUART that the
very next cycle will be an “IACK” or “Interrupt
Acknowledge” cycle. DUART, in response to the -IACK
signal, will place the contents of the Interrupt Vector
Register (IVR) on the Data Bus. This data will be read by
the CPU, and program control will be branched to the
appropriate interrupt service routine. In the case of the
Z-80 CPU, this location is a 16 bit address which is
determined from Table 13.
Most Significant Byte
Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9
Contents of the I Register (within the CPU)
Bit 8
Least Significant Byte
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1
The 7 Most Significant Bits within the Interrupt Vector
Register of the DUART
Bit 0
0
Note: The LSB of the IVR is always set to “0” once read by the CPU. Interrupt Service Routines must begin at even ddresses.
Table 13. The Relationship between the Contents of the Interrupt Vector Register (of the DUART)
and the location of the Interrupt Service Routine (Z-80 CPU)
Additionally, the user must be aware of the contents that he/she loads into the I Register of the CPU, during run time.
A0 - A15
D0 - D7
-INT
Address
Decoder
Circuitry
from Vcc or higher
priority peripheral
to lower priority
peripheral
CS_DUART
A0 - A3
IEI
IEO
-CS
A0 - A3
D0 - D7
-INTR
-WR
-RD
-MREQ
-IORQ
M1
Z80 CPU
-MEMW
-MEMR
-INTA
-WR
-RD
-IACK
XR88C681
Figure 19. Schematic of an Approach to Interface the DUART to the Z-80
CPU (for Z-Mode Operation)
Rev. 2.11
45