XR68C92/192
7
Rev. 1.33
INTERNAL CONTROL LOGIC
The internal control logic of the XR68C92/192 receives
operation commands from the central processing unit
(CPU) and generates appropriate signals to the inter-
nal sections to control device operation. The internal
control logic takes in the following inputs:
-CS, which is the XR68C92/192 chip-select;
R/-W which allows data transfers between the CPU
and XR68C92/192via the data bus (D0 to D7);
four register-select lines (A0 through A3) which are
decoded to allow access to the registers within the
XR68C92/192;
-RESET (reset), which initializes or resets all
outputs and internal registers.
COMMUNICATION CHANNELS A AND B
Each communication channel includes a full-duplex
asynchronous receiver/transmitter (UART). The oper-
ating frequency for each receiver and each transmitter
can be selected independently from the baud rate
generator, the Counter/Timer (C/T), or from an exter-
nal clock. The transmitter accepts parallel data from
the CPU, converts it to a serial bit stream in the form of
a character and outputs it on the Transmit Data output
pin (TXA, TXB). The character consists of start, stop,
and optional parity bits, The receiver accepts serial
data on the Receive Data input pin (RXA, RXB),
converts this serial input to parallel format, checks for
a start bit, stop bit, parity bit (if any), framing error,
overrun or break condition, and transfers the data byte
to the CPU during read operations.
TIMING LOGIC
The timing logic consists of
a crystal oscillator,
a baud rate generator (BRG),
clock selector logic, and
a programmable 16-bit counter/timer (C/T).
The crystal oscillator operates directly from a typical
3.6864 MHz crystal connected across the XTAL1 and
XTAL2 inputs or from an external clock of the appropri-
ate frequency connected to XTAL1. The XTAL1 clock
serves as the basic timing reference for the baud rate
generator, the C/T, and other internal circuits.
The baud rate generator operates from the XTAL1
clock input and can generate 28 commonly used data
communication baud rates (if a typical 3.6864MHz
crystal or clock is used) ranging from 50 to 230.4kbps
by producing internal clock outputs at 16 times the
actual baud rate. In addition, other baud rates can be
derived by connecting 16X or 1X clocks to multi-
purpose input port pins IP3 - IP6 that have alternate
functions as receiver or transmitter clock inputs.
Clock selector logic consists of the clock selector
register (CSRA, CSRB), bits 0 & 2 of Mode Register 0
(MR0A, MR0B) and bit-7 of Auxilliary Control Register
(ACR). These allow various combinations of these
baud rates for receiver and transmitter of each chan-
nel. See Baud Rate Table on page 18 for more details.
The programmable 16-bit counter/timer (C/T) can pro-
duce a 16X clock for other baud rates by counting down
its programmed clock source. Users can program the
16 bit C/T within the XR68C92/192 to use one of
several clock sources as its input. The output of the C/
T is available to the internal clock selectors and can
also be programmed to appear at output OP3. In the
timer mode, the C/T acts as a programmable divider
and can generate a square-wave output at OP3. In the
counter mode, the C/T can be started and stopped
under program control. When stopped, the CPU can
read its contents. The counter counts down the num-
ber of pulses stored in the concatenation of the C/T
upper register and C/T lower register and produces an
interrupt. This is a system-oriented feature that can be
used to record timeouts when implementing various
application protocols.
INTERRUPT CONTROL LOGIC
The following registers are associated with the inter-
rupt control logic:
Interrupt Mask Register (IMR)
Interrupt Status Register (ISR)
Auxiliary Control Register (ACR)
Interrupt Vector Register (IVR)
A single active-low interrupt output (-INT) can notify the
CPU that any of eight internal events has occurred.
These eight events are described in the discussion of
the interrupt status register (ISR). User can program
the interrupt mask register (IMR) to allow only certain
conditions to cause -INT to be asserted while the CPU
can read the ISR to determine all currently active
interrupting conditions. When an active-low interrupt
acknowledge signal (-IACK) from the CPU is asserted
XR68C92/192
8
Rev. 1.33
while the XR68C92/192 has an interrupt pending, the
XR68C92/192 will place the contents of the interrupt
vector register (IVR, address 0x0C) on the data bus
and assert the data transfer acknowledge signal
(-DACK). If the XR68C92/192 has no pending inter-
rupt, it ignores the -IACK cycles. In addition, users can
program the parallel outputs OP3 through OP7 to
provide discrete interrupt outputs for the transmitters,
the receivers, and the C/T. See 'Multi-purpose Out-
puts' section for details.
DATA BUS BUFFER (D0 - D7)
The data bus buffer provides the interface between the
external and internal data buses. It is controlled by the
internal control logic to allow read and write data
transfer operations to occur between the controlling
CPU and XR68C92/192 by way of the eight parallel
data lines (D0 through D7).
MULTI-PURPOSE INPUTS (IP0 - IP5)
The states of the seven multi-purpose inputs (IP0
through IP5) can be read from the internal register IPR
(address 0x0D). The bits in this register are the
complements of the actual inputs - for example, if the
IP0 is low, the corresponding bit in the IPR, bit-0 is a
logic '1'. Each of these inputs also has an alternate
control function capability. The alternate functions can
be enabled/disabled on a bit-by-bit basis. The table
below shows how each of these inputs is configured for
its special function.
Four change-of-state detectors are associated with
inputs IP0, IP1, IP2, and IP3. If a high-to-low or low-to-
high transition occurs on any of these inputs, the
corresponding bit in the input port change register
(IPCR - address 0x04) will be set accordingly. The
sampling clock of the change detectors is the XTAL1/
96 tap of the baud rate generator, which is 38.4kHz if
XTAL1 is 3.6864MHz. A new input level must be
sampled on two consecutive sampling clocks to detect
a change. Also, users can program the XR68C92/192
to allow a change of state in any of the inputs IP0
through IP3 to generate an interrupt to the CPU. See
description of the Interrupt Status Register (ISR, ad-
dress 0x05) for details. The IPCR bits are cleared when
the CPU reads the register. Also see the Baud Rate
Table on page 18.
MULTI-PURPOSE OUTPUTS (OP0 - OP7)
The eight output pins (OP0 - OP7) can either be used
as general purpose outputs or can be used for alter-
nate functions representing various conditions using
- Mode Registers 1 and 2 (MR1A, MR1B, MR2A,
MR2B)
- Output Port Configuration Register (OPCR)
- Set Output Port Register (SOPR), and
- Reset Output Port Register (ROPR).
OP0 and OP1:
The output OP0 can function as the channel A request-
to-send (-RTSA) output for either the transmitter
(MR2A bit-5 = 1) or the receiver (MR1A bit-7 = 1). Note
that only one of these bits should be set to '1' at a given
time. See the description of the transmitter RTS and
receiver RTS in the 'Transmitter' and 'Receiver' sec-
tions of this datasheet respectively. The output OP1
acts as the channel B request-to-send (-RTSB) output
Input Function Programming
IP0 -CTSA Set MR2A bit-4 = 1
IP1 -CTSB Set MR2B bit-4 = 1
IP2 C/T Ext. Clk Set ACR[6:4] = 000
IP3 TxA Ext. Clk Set CSRA[3:0] = 1110 or 1111
IP4 RxA Ext. Clk Set CSRA[7:4] = 1110 or 1111
IP5 TxB Ext. Clk Set CSRB[3:0] = 1110 or 1111
XTAL1
XTAL2
Y1
C1
22-47pF
C2
22-47pF
3.6864MHz
200 - 500 k
XR68C92/192
Figure 1: Crystal Connection
XR68C92/192
9
Rev. 1.33
and is controlled in a similar way by the channel B
registers.
OP2 - OP7:
The other outputs (OP2 - OP7) are configured via the
OPCR. Please see the description under the OPCR
register for the details.
CRYSTAL INPUTS (XTAL1 & XTAL2)
If a crystal is used, it is connected between XTAL1 and
XTAL2, in which case a capacitor of approximately 22
to 47 pF should be connected from each of these pins
to ground (see Figure 1). If an external CMOS-level
clock is used, the pin XTAL2 must be left open.
RESET
The XR68C92/192 can be reset by asserting the
-RESET signal or by programming the appropriate
internal registers. A hardware reset (assertion of
-RESET) clears the following registers:
Status Registers A and B (SRA and SRB)
Interrupt Mask Register (IMR)
Interrupt Status Register (ISR)
Output Port Configuration Register (OPCR)
RESET also performs the following operations:
Initializes the interrupt vector register (IVR) to 0x0F.
Places the outputs OP0 through OP7 in the high
state
Places the counter/timer in counter mode
Places channels A and B in the inactive state with the
transmitter serial-data outputs (TXA and TXB) in the
mark (high) state.
Reset commands can be programmed through the
command registers to reset the receiver, transmitter,
error status, or break-change interrupts for each chan-
nel.
TRANSMITTER
The transmitter converts the parallel data from the
CPU to a serial bit stream on the transmitter output pin
(TXA, TXB). It automatically sends a start bit followed
by the programmed number of data bits, an optional
parity bit, and the programmed number of stop bits.
The least-significant bit is sent first. Data is shifted out
the transmit serial data output pin (TXA, TXB) on the
falling edge of the programmed clock source (XTAL1,
IP3 or IP5: see CSR bits 3:0). After the transmission of
the stop bits, and a new character is not available in the
transmit FIFO, the transmitter serial data output (TXA,
TXB) remains high. Transmission resumes when the
CPU loads a new character into the transmit FIFO. If
the transmitter receives a disable command (CRA,
CRB bits 3:2), it will continue operating until the char-
acter in the transmit shift register is completely sent
out. Other characters in the FIFO are neither sent nor
discarded, but will be sent when the transmitter is re-
enabled.
TX RTS Control: Users can program the transmitter to
automatically negate the request-to-send (RTS) out-
put (alternate function of OP0 and OP1 for channels A
and B respectively) on completion of a message trans-
mission (using MR2A, MR2B bit-5). If the transmitter is
programmed to operate with RTS control, the RTS
output must be manually asserted before each mes-
sage is transmitted. Also, the transmitter needs to be
disabled after all the required data are loaded into the
FIFO. Then, the RTS output will be automatically
negated when the transmit-shift register and the TX
FIFO are both empty. In automatic RTS mode, no more
characters can be written to the FIFO after the trans-
mitter is disabled.
If auto clear-to-send (CTS) control is enabled (using
MR2A, MR2B bit-4), the CTS input (alternate function
of IP0 and IP1 for channels A and B respectively) must
be asserted (low) in order for the character to be
transmitted. If it gets negated (high) in the middle of a
transmission, the character in the shift register is
transmitted and the transmit data output (TXA, TXB)
then remains in the marking state until CTSA, CTSB
gets asserted again.
The transmitter can also be forced to send a continu-
ous low (space) condition by issuing the start-break
command (see CRA, CRB bits 7:4). The state of CTS
is ignored by the transmitter when it is set to send a
break.
NOTE: The terms assertion and negation will be used
extensively to avoid confusion when dealing with a
mixture of “active low” and “active high” signals. The
term assert or assertion indicates that a signal is active
or true, independent of whether that level is repre-
sented by a high or low voltage. The term negate or
negation indicates that a signal is inactive or false.

XR68C92IVTR-F

Mfr. #:
Manufacturer:
MaxLinear
Description:
UART Interface IC XR68C92IVTR-F
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union