Philips Semiconductors
Product specification
SC28L92
3.3V–5.0V Dual Universal Asynchronous
Receiver/Transmitter (DUART)
2000 Jan 21
24
parity’ mode is programmed. In the special multi-drop mode it
selects the polarity of the A/D bit.
MR1A[1:0]—Channel A Bits Per Character Select
This field selects the number of data bits per character to be
transmitted and received. The character length does not include the
start, parity, and stop bits.
MR2A—Channel A Mode Register 2
MR2A is accessed when the Channel A MR pointer points to MR2, which occurs after any access to MR1A. Accesses to MR2A do not change
the pointer.
MR2 MODE REGISTER 2
ÁÁÁÁ
ÁÁÁÁ
Addr
ÁÁÁÁ
ÁÁÁÁ
Bit 7
ÁÁÁÁ
ÁÁÁÁ
BIT 6
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
BIT 5
ÁÁÁÁÁ
ÁÁÁÁÁ
BIT 4
ÁÁÁÁ
ÁÁÁÁ
BIT 3
ÁÁÁÁÁ
ÁÁÁÁÁ
BIT 2
ÁÁÁÁÁ
ÁÁÁÁÁ
BIT 1
ÁÁÁÁÁ
ÁÁÁÁÁ
BIT 0
ÁÁÁÁ
Á
ÁÁ
Á
ÁÁÁÁ
MR2A/B
ÁÁÁÁÁÁÁ
Á
ÁÁÁÁÁ
Á
ÁÁÁÁÁÁÁ
CHANNEL MODE
ÁÁÁÁÁÁ
Á
ÁÁÁÁ
Á
ÁÁÁÁÁÁ
Tx CONTROLS
RTS
ÁÁÁÁÁ
Á
ÁÁÁ
Á
ÁÁÁÁÁ
CTS
ENABLE Tx
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Á
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Á
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
STOP BIT LENGTH
NOTE: Add 0.5 to binary codes 0–7 for 5 bit character lengths.
ÁÁÁÁ
ÁÁÁÁ
0x00
0 08
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
00 = Normal
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
0 = 0.563
ÁÁÁÁÁ
ÁÁÁÁÁ
4 = 0.813
ÁÁÁÁÁ
ÁÁÁÁÁ
8 = 1.563
ÁÁÁÁÁ
ÁÁÁÁÁ
C = 1.813
ÁÁÁÁ
0x08
ÁÁÁÁÁÁÁ
01 = Auto-Echo
ÁÁÁÁÁÁ
0 = No
ÁÁÁÁÁ
0 = No
ÁÁÁÁ
1 = 0.625
ÁÁÁÁÁ
5 = 0.875
ÁÁÁÁÁ
9 = 1.625
ÁÁÁÁÁ
D = 1.875
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
10 = Local loop
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
1 = Yes
ÁÁÁÁÁ
ÁÁÁÁÁ
1 = Yes
ÁÁÁÁ
ÁÁÁÁ
2 = 0.688
ÁÁÁÁÁ
ÁÁÁÁÁ
6 = 0.938
ÁÁÁÁÁ
ÁÁÁÁÁ
A = 1.688
ÁÁÁÁÁ
ÁÁÁÁÁ
E = 1.938
ÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁ
11 = Remote loop
ÁÁÁÁÁÁ
ÁÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁÁ
ÁÁÁÁ
ÁÁÁÁ
3 = 0.750
ÁÁÁÁÁ
ÁÁÁÁÁ
7 = 1.000
ÁÁÁÁÁ
ÁÁÁÁÁ
B = 1.750
ÁÁÁÁÁ
ÁÁÁÁÁ
F = 2.000
NOTE:
Add 0.5 to values shown for 0–7 if channel is programmed for 5 bits/char.
MR2A[7:6]—Channel A Mode Select
Each channel of the DUART can operate in one of four modes.
MR2A[7:6] = 00 is the normal mode, with the transmitter and
receiver operating independently.
MR2A[7:6] = 01 places the channel in the automatic echo mode,
which automatically retransmits the received data. The following
conditions are true while in automatic echo mode:
1. Received data is reclocked and retransmitted on the TxDA
output.
2. The receive clock is used for the transmitter.
3. The receiver must be enabled, but the transmitter need not be
enabled.
4. The Channel A TxRDY and TxEMT status bits are inactive.
5. The received parity is checked, but is not regenerated for
transmission, i.e. transmitted parity bit is as received.
6. Character framing is checked, but the stop bits are retransmitted
as received.
7. A received break is echoed as received until the next valid start
bit is detected.
8. CPU to receiver communication continues normally, but the CPU
to transmitter link is disabled.
MR2A[7:6] = 10 selects local loop back diagnostic mode. In this
mode:
1. The transmitter output is internally connected to the receiver
input.
2. The transmit clock is used for the receiver.
3. The TxDA output is held High.
4. The RxDA input is ignored.
5. The transmitter must be enabled, but the receiver need not be
enabled.
6. CPU to transmitter and receiver communications continue
normally.
MR2A[7:6] = 11 selects remote loop back diagnostic mode. In this
mode:
1. Received data is reclocked and retransmitted on the TxDA
out-put.
2. The receive clock is used for the transmitter.
3. Received data is not sent to the local CPU, and the error status
conditions are inactive.
4. The received parity is not checked and is not regenerated for
transmission, i.e., transmitted parity is as received.
5. The receiver must be enabled.
6. Character framing is not checked, and the stop bits are
retransmitted as received.
7. A received break is echoed as received until the next valid start
bit is detected.
The user must exercise care when switching into and out of the
various modes. The selected mode will be activated immediately
upon mode selection, even if this occurs in the middle of a received
or transmitted character. Likewise, if a mode is deselected the
device will switch out of the mode immediately. An exception to this
is switching out of auto echo or remote loop back modes: if the
de-selection occurs just after the receiver has sampled the stop bit
(indicated in auto echo by assertion of RxRDY), and the transmitter
is enabled, the transmitter will remain in auto echo mode until the
entire stop has been re-transmitted.
MR2A[5]—Channel A Transmitter Request-to-Send Control
This bit controls the deactivation of the RTSAN output (OP0) by the
transmitter. This output is normally asserted by setting OPR[0] and
negated by resetting OPR[0]. MR2A[5] = 1 caused OPR[0] to be
reset automatically one bit time after the characters in the Channel A
transmit shift register and in the TxFIFO, if any, are completely
transmitted including the programmed number of stop bits, if the
transmitter is not enabled.