Philips Semiconductors Product data sheet
SC28L202Dual UART
2005 Nov 01
40
Table 8. Baud Rate Generator Characteristics
Crystal or Clock = 14.7456 MHz
NORMAL RATE
(BAUD)
ACTUAL 16X
CLOCK (kHz)
ERROR (%) NORMAL RATE
(BAUD)
ACTUAL 16X
CLOCK (kHz)
ERROR (%)
50 0.8 0 2400 38.4 0
75 1.2 0 4800 76.8 0
110 1.759 –0.069 7200 115.2 0
134.5 2.153 0.059 9600 153.6 0
150 2.4 0 19.2K 307.2 0
200 3.2 0 38.4K 614.4 0
300 4.8 0 14.4K 230.4 0
600 9.6 0 28.8K 460.8 0
1050 16.756 –0.260 31.25 500.0 1.6
1200 19.2 0 57.6k 921.6 0
1800 28.8 0 115.2K 1843.2 0
2000 32.056 0.175 230.4K 3686.4 0
NOTE: Duty cycle of 16X clock is 50% ± 1%
Philips Semiconductors Product data sheet
SC28L202Dual UART
2005 Nov 01
41
REGISTER DESCRIPTIONS Mode Registers
MR0 Mode Register 0 MR0 is accessed by setting the MR pointer to 0 via the command register command B.
Bit 7 BIT 6 BIT (5:4) BIT 3 BIT 2 BIT 1 BIT 0
MR0 A
MR0 B
MR0 B[3:0]
are reserved
Rx WATCH
DOG
0 = Disable
1 = Enable
RxINT BIT 2
See Tables in
MR0 description
TxINT (1:0)
See table #4
FIFO Size
0 = 8
1 = 256
BAUD RATE
EXTENDED II
0 = Norma
1 = Extend II
TEST 2
Set to 0
BAUD RATE
EXTENDED 1
0 = Normal
1 = Extend
MR0[7] This bit controls the receiver watchdog timer. 0 = disable,
1 = enable. When enabled, the watch dog timer will generate a
receiver interrupt if the receiver FIFO has not been accessed within
64 bit times of the receiver 1X clock. This is used to alert the control
processor that data is in the RxFIFO that has not been read. This
situation may occur when the byte count of the last part of a
message is not large enough to generate an interrupt. This control
bit is duplicated WCXER(7:6)
MR0[6] – Bit 2 of receiver FIFO interrupt level. This bit along with Bit
6 of MR1 sets the fill level of the 8 byte FIFO that generates the
receiver interrupt.
MR0[6] MR1[6] Note that this control is split between MR0 and MR1.
This is for backward compatibility to the SC2692 and SCN2681.
Table 9. Receiver FIFO Interrupt Fill Level
MR0[3] = 0
MR0[6] MR1[6] Interrupt Condition
00 1 or more bytes in FIFO (Rx RDY)
01 3 or more bytes in FIFO
10 6 or more bytes in FIFO
11 8 bytes in FIFO (Rx FULL)
Table 10. Receiver FIFO Interrupt Fill Level
MR0[3] = 1
MR0[6] MR1[6] Interrupt Condition
00 1 or more bytes in FIFO (Rx RDY)
01 128 or more bytes in FIFO
10 192 or more bytes in FIFO
11 256 bytes in FIFO (Rx FULL)
For the receiver these bits control the number of FIFO positions
empty when the receiver will attempt to interrupt. After the reset the
receiver FIFO is empty. The default setting of these bits cause the
receiver to attempt to interrupt when it has one or more bytes in it.
MR0[5:4] – Tx interrupt fill level.
Table 11. Transmitter FIFO Interrupt Fill Level
MR0[3] = 0
MR0[5:4] Interrupt Condition
00 8 bytes empty (Tx EMPTY)
01 4 or more bytes empty
10 6 or more bytes empty
11 1 or more bytes empty (Tx RDY)
Table 12. Transmitter FIFO Interrupt Fill Level
MR0[3] = 1
MR0[5:4] Interrupt Condition
00 256 bytes empty (Tx EMPTY)
01 128 or more bytes empty
10 192 or more bytes empty
11 1 or more bytes empty (Tx RDY)
For the transmitter these bits control the number of FIFO positions
empty when the receiver will attempt to interrupt. After the reset the
transmit FIFO has 8 bytes empty. It will then attempt to interrupt as
soon as the transmitter is enabled. The default setting of the MR0
bits (00) condition the transmitter to attempt to interrupt only when it
is completely empty. As soon as one byte is loaded, it is no longer
empty and hence will withdraw its interrupt request.
MR0[3] – FIFO Size
MR0[2:0] – These bits are used to select one of the six–baud rate
groups.
See Table 13 for the group organization.
000 Normal mode
001 Extended mode I
100 Extended mode II
Other combinations of MR2[2:0] should not be used
NOTE: MR0[3:0] are not used in channel B and should be set to ‘0’.
Philips Semiconductors Product data sheet
SC28L202Dual UART
2005 Nov 01
42
MR1 Mode Register 1
Bit 7 BIT 6 BIT 5 Bit (4:3) BIT 2 Bits (1:0)
MR1 A
MR1 B
Rx
CONTROLS
RTS
RxINT
BIT 1
ERROR
MODE
PARITY MODE PARITY
TYPE
BITS PER
CHARACTER
0 = No
1 = Yes
0 = RxRDY
1 = FFULL
0 = Char
1 = Block
00 = With Parity
01 = Force Parity
10 = No Parity
11 = Multi–drop Mode
0 = Even
1 = Odd
00 = 5
01 = 6
10 = 7
11 = 8
NOTE: * In block error mode the block error conditions must be cleared by using the error reset command (command 0x40) or a receiver reset.
MR1 A is accessed when the Channel A MR pointer points to MR1.
The pointer is set to MR1 by RESET or by a ‘set pointer’ command
applied via CR command 1. After reading or writing MR1 A, the
pointer will point to MR2 A.
MR1 A[7] – Channel A Receiver Request–to–Send Control (Flow
Control)
This bit controls the deactivation of the RTSN A output (I/O0 B) by
the receiver. This output is normally asserted by setting OPR[0]B
and negated by resetting OPR[0]B.
MR1 A[7] = 1 causes RTSN A to be negated (I/O0 B is driven to a ‘1’
[V
CC
]) upon receipt of a valid start bit if the Channel A FIFO is full.
This is the beginning of the reception of the ninth byte. If the FIFO is
not read before the start of the tenth byte, an overrun condition will
occur and the tenth byte will be lost. However, the bit in OPR[0] is
not reset and RTSN A will be asserted again when an empty FIFO
position is available. This feature can be used for flow control to
prevent overrun in the receiver by using the RTSN A output signal to
control the CTSN input of the transmitting device.
MR1[6] – Receiver interrupt control bit 1. See description under
MR0[6].
MR1 A[5] – Channel A Error Mode Select
This bit select the operating mode of the three FIFOed status bits
(FE, PE, received break) for Channel A. In the ‘character’ mode,
status is provided on a character–by–character basis; the status
applies only to the character at the top of the FIFO. In the ‘block’
mode, the status provided in the SR for these bits is the
accumulation (logical–OR) of the status for all characters coming to
the top of the FIFO since the last ‘reset error’ command for Channel
A was issued.
MR1 A[4:3| – Channel A 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 A[4:3] = 11 selects Channel A to operate in the special
multi–drop mode described in the Operation section.
MR1 A[2] – Channel A Parity Type Select
Selects the parity type (odd or even) if the ‘‘with parity’ mode is
programmed by MR1 A[4:3], and the polarity of the forced parity bit if
the ‘force parity’ mode is programmed; no effect if ‘no parity’ is
programmed. In the special multi–drop mode it selects the polarity of
the A/D bit.
MR1 A[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.
MR2 A is accessed when the Channel A MR pointer points to MR2,
which occurs after any access to MR1 A. Accesses to MR2 A do not
change the pointer.
MR2 Mode Register 2
Bit 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
MR2 A
MR2 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.
00 = Normal
01 = Auto–Echo
10 = Local loop
11 = Remote loop
0 = No
1 = Yes
0 = No
1 = Yes
0 = 0.563 4 = 0.813 8 = 1.563 C = 1.813
1 = 0.625 5 = 0.875 9 = 1.625 D = 1.875
2 = 0.688 6 = 0.938 A = 1.688 E = 1.938
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.
See description in the previous MR2 description

SC28L202A1DGG,129

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
UART Interface IC 3-5V 2CH UART 3MBPS
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union