English
Language : 

SC26C198 Datasheet, PDF (17/49 Pages) NXP Semiconductors – Octal UART with TTL compatibility at 3.3V and 5V supply voltages
Philips Semiconductors
Octal UART with TTL compatibility at 3.3V
and 5V supply voltages
Product specification
SC26C198 SC68C198
SC26L198 SC68L198
* If these bits are not 0 the characters will be stripped regardless of
character when the RxFIFO has loaded to a depth of 12 characters.
bits (3:2) or (1:0)
Draining the RxFIFO to a level of 8 or less causes the Transmitter to
MR0[7:6] – Control the handling of recognized Xon/Xoff or Address
characters. If set, the character codes are placed on the RxFIFO
along with their status bits just as ordinary characters are. If the
emit an Xon character. All transmissions require no host
involvement. A setting other than b’00 in this field precludes the use
of the command register to transmit Xon/Xoff characters.
character is not pushed onto the RxFIFO, its received status will be
lost unless the receiver is operating in the block error mode, see
MR1[5] and the general discussion on receiver error handling.
Interrupt processing is not effected by the setting of these bits. See
Character recognition section.
Note: Interrupt generation in Xon/Xoff processing is controlled by the
IMR (Interrupt Mask Register) of the individual channels. The
interrupt may be cleared by a read of the XISR, the Xon/Xoff
Interrupt Status Register. Receipt of a flow control character will
always generate an interrupt if the IMR is so programmed. The
MR0[5:4] – Controls the fill level at which a transmitter begins to
present its interrupt number to the interrupt arbitration logic. Use of
MR0[3:2] bits have effect on the automatic aspects of flow control
only, not the interrupt generation.
a low fill level minimizes the number of interrupts generated and
maximizes the number of transmit characters per interrupt cycle. It
also increases the probability that the transmitter will go idle for lack
of characters in the TxFIFO.
MR0[1:0] – This field controls the operation of the Address
recognition logic. If the device is not operating in the special or
“wake–up” mode, this hardware may be used as a general purpose
character detector by choosing any combination except b’00.
MR0[3:2] – Controls the Xon/Xoff processing logic. Auto
Interrupt generation is controlled by the channel IMR. The interrupt
Transmitter flow control allows the gating of Transmitter activity by
Xon/Xoff characters received by the Channel’s receiver. Auto
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ Receiver flow control causes the Transmitter to emit an Xoff
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ Table 4. MR1 – Mode Register 1
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ Bit 7
Bit 6
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ RxRTS
Control
ISR Read Mode
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ 0 – off
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ 1 – on
0 – ISR unmasked
1 – ISR masked
Bit 5
Error Mode
0 = Character
1 = Block
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ MR1[7]: Receiver Request to Send Control
may be cleared by a read of the XISR, the Xon/Xoff Interrupt Status
Register. See further description in the section on the Wake Up
mode.
Bit 4:3
Bit 2
Bit 1:0
Parity Mode
Parity Type
Bits per
Character
00 – With Parity
01 – Force parity
10 – No parity
11 – Special Mode
0 = Even
1 = Odd
00 – 5
01 – 6
10 – 7
11 – 8
on a character by character basis; the status applies only to the
This bit controls the deactivation of the RTSN output (I/O2) by the
character at. the bottom of the FIFO. In the block mode, the status
receiver. This output is asserted and negated by commands applied
provided in the SR for these bits is the accumulation (logical OR) of
via the command register. MR1[7] = 1 causes RTSN to be
the status for all characters coming to the top of the FIFO, since the
automatically negated upon receipt of a valid start bit if the receiver
last reset error command was issued.
FIFO is full or greater. RTSN is reasserted when an the FIFO fill
level falls below full. This constitutes a change from previous
members of Philips (Signets)’ UART families where the RTSN
function triggered on FIFO full. This behavior caused problems with
PC UARTs that could not stop transmission at the proper time. .
The RTSN feature can be used to prevent overrun in the receiver, by
MR1[4:3]: Parity Mode Select
If ’with parity’ or ’force parity’ is selected, a parity bit is added to the
transmitted character and the receiver performs a parity check on
incoming data. MR1[4:3] = 11 selects the channel to operate in the
special wake up mode.
using the RTSN output signal, to control the CTSN input of the
transmitting device.
MR1[2]: Parity Type Select
This bit sets the parity type (odd or even) if the ’with parity’ mode is
MR1[6]: Interrupt Status Masking
programmed by MR1[4:3], and the polarity of the forced parity bit if
This bit controls the readout mode of the Interrupt Status Register,
the ’force parity’ mode is programmed. It has no effect if the ’no
ISR. If set, the ISR reads the current status masked by the IMR, i.e.
parity’ mode is programmed. In the special ’wake up’ mode, it
only interrupt sources enabled in the IMR can ever show a ’1’ in the
selects the polarity of the A/D bit. The parity bit is used to an
ISR. If cleared, the ISR shows the current status of the interrupt
address or data byte in the ’wake up’ mode.
source without regard to the Interrupt Mask setting.
MR1[1:0]: Bits per Character Select
MR1[5]: Error Mode Select
This field selects the number of data bits per character to be
This bit selects the operating mode of the three FIFOed status bits
(FE, PE, received break). In the character mode, status is provided
transmitted and received. This number does not include the start,
parity, or stop bits.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ Table 5. MR2 – Mode Register 2
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ The MR2 register provides basic channel setup control that may need more frequent updating.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ Bits 7:6
Bit 5
Bit 4
Bit 3:2
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ Channel Mode
TxRTS Control
CTSN Enable Tx
RxINT
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ 00 = normal
01 = Auto echo
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ 10 = Local loop
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ 11 = Remote loop
0 = No
1 = Yes
0 = No
1 = Yes
00 = RRDY
01 = Half Full
10 = 3/4 Full
11 = Full
Bit 1:0
Stop Length
00 = 1.0
01 = 1.5
10 = 2.0
11 = 9/16
1995 May 1
352