XR88C681CP/40 Exar Corporation, XR88C681CP/40 Datasheet - Page 83

no-image

XR88C681CP/40

Manufacturer Part Number
XR88C681CP/40
Description
Dual Channel UART
Manufacturer
Exar Corporation
Datasheet

Specifications of XR88C681CP/40

Features
*
Number Of Channels
2, DUART
Fifo's
1 Byte, 3 Byte
Voltage - Supply
5V
With Parallel Port
Yes
With Cmos
Yes
Mounting Type
Through Hole
Package / Case
40-DIP (0.600", 15.24mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
XR88C681CP/40
Manufacturer:
TP
Quantity:
6 238
Part Number:
XR88C681CP/40
Manufacturer:
EXAR/艾科嘉
Quantity:
20 000
Part Number:
XR88C681CP/40-F
Manufacturer:
Linear
Quantity:
185
Figure 44 shows two DUART devices, one labeled
“Transmitting Device” and the other, “Receiving Device”.
This example starts with the assumption that the
“Transmitter Device” has been programmed such that
MR2A[5] = 1, which results in programming the
“Transmitting Device” for Transmitter-RTS Control. This
example further assumes that the “Transmitting Device”
has been programmed such that MR2A[4] = 1. According
to Section G.3, the Transmitter of Channel A of the
“Transmitting Device” has now been programmed to be
under -CTSA input control.
In the case of the “Receiving Device”, IP2 (RTS-in) has
been programmed to generate an “Input Port Change of
State” interrupt request to the CPU. The firmware for the
Interrupt Service Routines is written such that if the IP2
input were to change and IPCR[2] = 0, the CPU would
“write” [D7,..., D0] = [0, 0, 0, 0, 1, 0, 0, 0] to DUART
address 0E
would
COMMAND”, and in the process toggle OPR[3] to a logic
“high” and the Output Port pin, OP3, (CTS-out) to a logic
“low”. This would, in turn, assert the -CTSA input of the
Rev. 2.11
invoke
16
. In this step, the Interrupt Service Routine
the
“SET
OUTPUT
PORT
BITS
83
“Transmitting Device” and allow it to transmit data to the
“Receiving Device”.
Once Channel A Transmitter has emptied both its THR
and TSR of data, it will negate the -RTSA output, via the
“Transmitter-RTS Control” feature. When the -RTSA
output the “Transmitting Device” is toggled “high”, the IP2
(RTS-in) is also toggled “high”, thereby generating
another “Input Change of State” interrupt request to the
CPU.
Routine would be to “Write” [D7,..., D0] = [0, 0, 0, 0, 1, 0, 0,
0] to DUART address 0F
Service Routine would invoke the “CLEAR OUTPUT
PORT BITS COMMAND”, and in the process toggle OP3
(CTS-out) “high”. This would in turn negate the -CTSA
input of the “Transmitting Device” and inhibit the
transmission of data from the Channel A of the
“Transmitting Device”.
Figure 45 presents a Flow Diagram which depicts an
Algorithm that could be used to implement the
Transmitter-Control
Please note that the shaded block pertain to occurrences
within the “Receiving Device”. Whereas the “White” block
pertain to operation within the “Transmitting Device.”
With IPCR[2] = 1, the likely Interrupt Service
RTS/CTS
16
. In this step, the Interrupt
XR88C681
Handshaking
Mode.

Related parts for XR88C681CP/40