SC28L92A1BS [NXP]
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter (DUART); 3.3 V / 5.0 V双路通用异步接收器/发送器( DUART )型号: | SC28L92A1BS |
厂家: | NXP |
描述: | 3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter (DUART) |
文件: | 总73页 (文件大小:337K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
SC28L92
3.3 V/5.0 V Dual Universal Asynchronous
Receiver/Transmitter (DUART)
Rev. 07 — 19 December 2007
Product data sheet
1. General description
The SC28L92 is a pin and function replacement for the SCC2692 and SC26C92 operating
at 3.3 V or 5 V supply with added features and deeper FIFOs. Its configuration on
power-up is that of the SC26C92. Its differences from the SCC2692 and SC26C92 are:
16 character receiver, 16 character transmit FIFOs, watchdog timer for each receiver,
mode register 0 is added, extended baud rate and overall faster speeds, programmable
receiver and transmitter interrupts. (Neither the SC26C92 nor the SCC2692 is being
discontinued.)
Pin programming will allow the device to operate with either the Motorola or Intel bus
interface. The bit 3 of the MR0A register allows the device to operate in an 8 byte FIFO
mode if strict compliance with the SC26C92 FIFO structure is required.
The NXP Semiconductors SC28L92 Dual Universal Asynchronous Receiver/Transmitter
(DUART) is a single-chip CMOS-LSI communications device that provides two full-duplex
asynchronous receiver/transmitter channels in a single package. It interfaces directly with
microprocessors and may be used in a polled or interrupt driven system with modem and
DMA interface.
The operating mode and data format of each channel can be programmed independently.
Additionally, each receiver and transmitter can select its operating speed as one of 28
fixed baud rates; a 16× clock derived from a programmable counter/timer, or an external
1× or 16× clock. The baud rate generator and counter/timer can operate directly from a
crystal or from external clock inputs. The ability to independently program the operating
speed of the receiver and transmitter make the DUART particularly attractive for
dual-speed channel applications such as clustered terminal systems.
Each receiver and transmitter is buffered by 8 or 16 character FIFOs to minimize the
potential of receiver overrun, transmitter underrun and to reduce interrupt overhead in
interrupt driven systems. In addition, a flow control capability is provided via RTS/CTS
signaling to disable a remote transmitter when the receiver buffer is full.
Also provided on the SC28L92 are a multipurpose 7-bit input port and a multipurpose 8-bit
output port. These can be used as general purpose I/O ports or can be assigned specific
functions (such as clock inputs or status/interrupt outputs) under program control.
The SC28L92 is available in three package versions: PLCC44, QFP44, and HVQFN48.
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
2. Features
I Member of IMPACT family: 3.3 V to 5.0 V, −40 °C to +85 °C and 68xxx or 80xxx bus
interface for all devices
I Dual full-duplex independent asynchronous receiver/transmitters
I 16 character FIFOs for each receiver and transmitter
I Pin programming selects 68xxx or 80xxx bus interface
I Programmable data format
N 5 data to 8 data bits plus parity
N Odd, even, no parity or force parity
N 1 stop, 1.5 stop or 2 stop bits programmable in 1⁄16-bit increments
I 16-bit programmable counter/timer
I Programmable baud rate for each receiver and transmitter selectable from:
N 28 fixed rates: 50 kBd to 230.4 kBd
N Other baud rates to 1 MHz at 16×
N Programmable user-defined rates derived from a programmable counter/timer
N External 1× or 16× clock
I Parity, framing, and overrun error detection
I False start bit detection
I Line break detection and generation
I Programmable channel mode
N Normal (full-duplex)
N Automatic echo
N Local loopback
N Remote loopback
N Multi-drop mode (also called wake-up or 9-bit)
I Multi-function 7-bit input port (includes IACKN)
N Can serve as clock or control inputs
N Change of state detection on four inputs
N Inputs have typically > 100 kΩ pull-up resistors
N Change of state detectors for modem control
I Multi-function 8-bit output port
N Individual bit set/reset capability
N Outputs can be programmed to be status/interrupt signals
N FIFO status for DMA interface
I Versatile interrupt system
N Single interrupt output with eight maskable interrupting conditions
N Output port can be configured to provide a total of up to six separate interrupt
outputs that may be wire ORed
N Each FIFO can be programmed for four different interrupt levels
N Watchdog timer for each receiver
I Maximum data transfer rates: 1× - 1 Mbit/s, 16× - 1 Mbit/s
I Automatic wake-up mode for multi-drop applications
I Start-end break interrupt/status
I Detects break which originates in the middle of a character
© NXP B.V. 2007. All rights reserved.
SC28L92_7
Product data sheet
Rev. 07 — 19 December 2007
2 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
I On-chip crystal oscillator
I Power-down mode
I Receiver time-out mode
I Single 3.3 V or 5 V power supply
I Powers up to emulate SC26C92
3. Ordering information
Table 1.
Ordering information
VCC = 3.3 V ± 10 % or VCC = 5.0 V ± 10 %; Tamb = −40 °C to +85 °C
Type number
Package
Name
Description
Version
SC28L92A1A
SC28L92A1B
PLCC44
QFP44
plastic leaded chip carrier; 44 leads
SOT187-2
SOT307-2
plastic quad flat package; 44 leads (lead length 1.3 mm);
body 10 × 10 × 1.75 mm
SC28L92A1BS
HVQFN48 plastic thermal enhanced very thin quad flat package; no leads;
SOT778-4
48 terminals; body 6 × 6 × 0.85 mm
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
3 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
4. Block diagram
SC28L92 (80xxx mode)
8
CHANNEL A
D0 to D7
BUS BUFFER
16-BYTE
TRANSMIT FIFO
TxDA
RxDA
TRANSMIT
SHIFT REGISTER
OPERATION
CONTROL
RDN
WRN
ADDRESS
DECODE
16-BYTE
RECEIVE FIFO
CEN
4
A0 to A3
RESET
WATCHDOG
TIMER
R/W CONTROL
RECEIVE
SHIFT REGISTER
I/M
open or connect
to V
for 80xxx
CC
INTERRUPT
CONTROL
MRA0, 1, 2, 3
CRA
IMR
ISR
GP
INTRN
SRA
TxDB
RxDB
CHANNEL B
(AS ABOVE)
INPUT PORT
CHANGE-OF-
STATE
DETECTORS (4)
TIMING
7
IP0 to IP6
BAUD RATE
GENERATOR
IPCR
ACR
CLOCK
SELECTORS
COUNTER/
TIMER
OUTPUT PORT
X1/CLK
X2
FUNCTION
SELECT LOGIC
XTAL
OSCILLATOR
8
OP0 to OP7
CSRA
CSRB
ACR
OPCR
OPR
CTL
CTU
002aad459
The data pins TxD and RxD are considered idle at the logic 1 (HIGH) level when inactive, or active when at the logic 0
(LOW) level. Comments about these levels when RS232 is referenced often refer to Mark and Space levels. Mark usually
means inactive and Space means active. The voltage levels represented by the terms Mark and Space are often reversed
from those above: Mark is low voltage, and Space is high voltage.
Fig 1. Block diagram (80xxx mode)
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
4 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
SC28L92 (68xxx mode)
8
CHANNEL A
D0 to D7
BUS BUFFER
16-BYTE
TRANSMIT FIFO
TxDA
RxDA
TRANSMIT
SHIFT REGISTER
OPERATION
CONTROL
R/WN
IACKN
CEN
ADDRESS
DECODE
16-BYTE
RECEIVE FIFO
4
A0 to A3
RESETN
WATCHDOG
TIMER
R/W CONTROL
RECEIVE
SHIFT REGISTER
I/M
ground for
68xxx mode
INTERRUPT
CONTROL
MRA0, 1, 2, 3
CRA
IMR
ISR
GP
INTRN
SRA
DACKN
TxDB
RxDB
CHANNEL B
(AS ABOVE)
INPUT PORT
CHANGE-OF-
STATE
DETECTORS (4)
TIMING
6
IP0 to IP5
BAUD RATE
GENERATOR
IPCR
ACR
CLOCK
SELECTORS
COUNTER/
TIMER
OUTPUT PORT
X1/CLK
X2
FUNCTION
SELECT LOGIC
XTAL
OSCILLATOR
8
OP0 to OP7
CSRA
CSRB
ACR
OPCR
OPR
CTL
CTU
002aad460
The data pins TxD and RxD are considered idle at the logic 1 (HIGH) level when inactive, or active when at the logic 0
(LOW) level. Comments about these levels when RS232 is referenced often refer to Mark and Space levels. Mark usually
means inactive and Space means active. The voltage levels represented by the terms Mark and Space are often reversed
from those above: Mark is low voltage, and Space is high voltage.
Fig 2. Block diagram (68xxx mode)
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
5 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
5. Pinning information
5.1 Pinning
7
39
38
37
36
35
34
33
32
31
30
29
A3
IP0
CEN
RESET
X2
8
9
WRN
RDN
RxDB
I/M
10
11
12
13
14
15
16
17
X1/CLK
RxDA
n.c.
SC28L92A1A
(80xxx mode)
TxDB
OP1
OP3
OP5
OP7
TxDA
OP0
OP2
OP4
OP6
002aad412
Fig 3. Pin configuration for PLCC44; 80xxx mode
7
39
38
37
36
35
34
33
32
31
30
29
A3
IP0
CEN
8
RESETN
X2
9
R/WN
DACKN
RxDB
I/M
10
11
12
13
14
15
16
17
X1/CLK
RxDA
n.c.
SC28L92A1A
(68xxx mode)
TxDB
OP1
TxDA
OP0
OP3
OP2
OP5
OP4
OP7
OP6
002aad413
Fig 4. Pin configuration for PLCC44; 68xxx mode
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
6 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
1
2
33
32
31
30
29
28
27
26
25
24
23
A3
IP0
CEN
RESET
X2
3
WRN
RDN
RxDB
TxDB
OP1
OP3
OP5
OP7
I/M
4
X1/CLK
RxDA
TxDA
OP0
5
6
SC28L92A1B
(80xxx mode)
7
8
OP2
9
OP4
10
11
OP6
n.c.
002aad414
Fig 5. Pin configuration for QFP44; 80xxx mode
1
2
33
32
31
30
29
28
27
26
25
24
23
A3
IP0
CEN
RESETN
X2
3
R/WN
DACKN
RxDB
TxDB
OP1
4
X1/CLK
RxDA
TxDA
OP0
5
6
SC28L92A1B
(68xxx mode)
7
8
OP3
OP2
9
OP5
OP4
10
11
OP7
OP6
I/M
n.c.
002aad415
Fig 6. Pin configuration for QFP44; 68xxx mode
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
7 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
terminal 1
index area
1
2
36
35
34
33
32
31
30
29
28
27
26
25
A3
n.c.
IP0
WRN
RDN
RxDB
n.c.
CEN
RESET
X2
3
4
5
X1/CLK
RxDA
TxDA
OP0
6
SC28L92A1BS
(80xxx mode)
7
I/M
8
TxDB
OP1
OP3
OP5
OP7
9
OP2
10
11
12
OP4
OP6
n.c.
002aad362
Transparent top view
Fig 7. Pin configuration for HVQFN48; 80xxx mode
terminal 1
index area
1
2
36
35
34
33
32
31
30
29
28
27
26
25
A3
IP0
n.c.
CEN
RESETN
X2
3
R/WN
DACKN
RxDB
n.c.
4
5
X1/CLK
RxDA
TxDA
OP0
6
SC28L92A1BS
(68xxx mode)
7
I/M
8
TxDB
OP1
9
OP2
10
11
12
OP3
OP4
OP5
OP6
OP7
n.c.
002aad363
Transparent top view
Fig 8. Pin configuration for HVQFN48; 68xxx mode
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
8 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
5.2 Pin description
Table 2.
Pin description for 80xxx bus interface (Intel)
Symbol Pin
Type Description
PLCC44 QFP44 HVQFN48
I/M
12
11
7
I
Bus configuration: When HIGH or not connected configures the bus
interface to the conditions shown in this table.
D0
D1
D2
D3
D4
D5
D6
D7
CEN
28
18
27
19
26
20
25
21
39
22
12
21
13
20
14
19
15
33
23
14
22
15
21
16
20
17
35
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I
Data bus: Bidirectional 3-state data bus used to transfer commands,
data and status between the DUART and the CPU. D0 is the least
significant bit.
Chip enable: Active LOW input signal. When LOW, data transfers
between the CPU and the DUART are enabled on D0 to D7 as
controlled by the WRN, RDN and A0 to A3 inputs. When HIGH, places
the D0 to D7 lines in the 3-state condition.
WRN
RDN
9
3
4
3
4
I
I
Write strobe: When LOW and CEN is also LOW, the contents of the
data bus is loaded into the addressed register. The transfer occurs on
the rising edge of the signal.
10
Read strobe: When LOW and CEN is also LOW, causes the contents
of the addressed register to be presented on the data bus. The read
cycle begins on the falling edge of RDN.
A0
A1
A2
A3
2
4
6
7
40
42
44
1
44
46
48
1
I
I
I
I
I
Address inputs: Select the DUART internal registers and ports for
read/write operations.
RESET 38
32
34
Reset: A HIGH level clears internal registers (SRA, SRB, IMR, ISR,
OPR and OPCR), puts OP0 to OP7 in the HIGH state, stops the
counter/timer, and puts channels A and B in the inactive state, with the
TxDA and TxDB outputs in the mark (HIGH) state. Sets MR pointer to
MR1. See Figure 10.
INTRN
24
18
30
31
19
32
33
O
I
Interrupt request: Active LOW, open-drain, output which signals the
CPU that one or more of the eight maskable interrupting conditions are
true. This pin requires a pull-up device.
X1/CLK 36
Crystal 1: Crystal or external clock input. A crystal or clock of the
specified limits must be supplied at all times. When a crystal is used, a
capacitor must be connected from this pin to ground (see Figure 17).
X2
37
O
Crystal 2: Connection for other side of the crystal. When a crystal is
used, a capacitor must be connected from this pin to ground (see
Figure 17). If X1/CLK is driven from an external source, this pin must
be left open.
RxDA
RxDB
35
11
29
5
31
5
I
I
Channel A receiver serial data input: The least significant bit is
received first. See note on drive levels at block diagram (Figure 1).
Channel B receiver serial data input: The least significant bit is
received first. See note on drive levels at block diagram (Figure 1).
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
9 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
Table 2.
Pin description for 80xxx bus interface (Intel) …continued
Symbol Pin
Type Description
PLCC44 QFP44 HVQFN48
TxDA
TxDB
33
13
28
6
30
8
O
O
Channel A transmitter serial data output: The least significant bit is
transmitted first. This output is held in the Mark condition when the
transmitter is disabled, Idle or when operating in local loopback mode.
See note on drive levels at block diagram (Figure 1).
Channel B transmitter serial data output: The least significant bit is
transmitted first. This output is held in the Mark condition when the
transmitter is disabled, Idle, or when operating in local loopback mode.
See note on drive levels at block diagram (Figure 1).
OP0
OP1
32
14
27
7
29
9
O
O
Output 0: General purpose output or channel A request to send
(RTSAN, active LOW). Can be deactivated automatically on receive or
transmit.
Output 1: General-purpose output or channel B request to send
(RTSBN, active LOW). Can be deactivated automatically on receive or
transmit.
OP2
OP3
31
15
26
8
28
10
O
O
Output 2: General purpose output, or channel A transmitter 1× or 16×
clock output, or channel A receiver 1× clock output.
Output 3: General purpose output or open-drain, active LOW
counter/timer output or channel B transmitter 1× clock output, or
channel B receiver 1× clock output.
OP4
OP5
OP6
OP7
IP0
30
16
29
17
8
25
9
27
11
26
12
2
O
O
O
O
I
Output 4: General purpose output or channel A open-drain, active
LOW, RxA interrupt ISR[1] output.
Output 5: General-purpose output or channel B open-drain, active
LOW, RxB interrupt ISR[5] output.
24
10
2
Output 6: General purpose output or channel A open-drain, active
LOW, TxA interrupt ISR[0] output.
Output 7: General-purpose output, or channel B open-drain, active
LOW, TxB interrupt ISR[4] output.
Input 0: General purpose input or channel A clear to send active LOW
input (CTSAN).
IP1
5
43
47
I
Input 1: General purpose input or channel B clear to send active LOW
input (CTSBN).
IP2
IP3
40
3
34
41
38
45
I
I
Input 2: General-purpose input or counter/timer external clock input.
Input 3: General purpose input or channel A transmitter external clock
input (TxCA). When the external clock is used by the transmitter, the
transmitted data is clocked on the falling edge of the clock.
IP4
IP5
IP6
VCC
43
42
41
44
37
36
35
41
40
39
I
Input 4: General purpose input or channel A receiver external clock
input (RxCA). When the external clock is used by the receiver, the
received data is sampled on the rising edge of the clock.
I
Input 5: General purpose input or channel B transmitter external clock
input (TxCB). When the external clock is used by the transmitter, the
transmitted data is clocked on the falling edge of the clock.
I
Input 6: General purpose input or channel B receiver external clock
input (RxCB). When the external clock is used by the receiver, the
received data is sampled on the rising edge of the clock.
38, 39 42
Pwr
Power Supply: 3.3 V ± 10 % or 5 V ± 10 % supply input.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
10 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
Table 2.
Pin description for 80xxx bus interface (Intel) …continued
Symbol Pin
Type Description
PLCC44 QFP44 HVQFN48
22
16, 17 18[1]
1, 23, 34 23
GND
n.c.
Pwr
Ground
6, 13, 24, 25, Pwr
36, 37, 43
Not connected
[1] HVQFN48 package die supply ground is connected to both GND pin and exposed center pad. GND pin must be connected to supply
ground for proper device operation. For enhanced thermal, electrical, and board level performance, the exposed pad needs to be
soldered to the board using a corresponding thermal pad on the board and for proper heat conduction through the board, thermal vias
need to be incorporated in the PCB in the thermal pad region.
Table 3.
Symbol Pin
PLCC44 QFP44 HVQFN48
Pin description for 68xxx bus interface (Motorola)
Type Description
I/M
12
11
7
I
Bus configuration: When LOW configures the bus interface to the
conditions shown in this table.
D0
D1
D2
D3
D4
D5
D6
D7
CEN
28
18
27
19
26
20
25
21
39
22
12
21
13
20
14
19
15
33
23
14
22
15
21
16
20
17
35
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I
Data bus: Bidirectional 3-state data bus used to transfer commands,
data and status between the DUART and the CPU. D0 is the least
significant bit.
Chip enable: Active LOW input signal. When LOW, data transfers
between the CPU and the DUART are enabled on D0 to D7 as
controlled by the R/WN and A0 to A3 inputs. When HIGH, places the
D0 to D7 lines in the 3-state condition.
R/WN
9
3
3
I
I
Read/Write: Input signal. When CEN is LOW, R/WN HIGH input
indicates a read cycle; when LOW indicates a write cycle.
IACKN
41
35
39
Interrupt acknowledge: Active LOW input indicating an interrupt
acknowledge cycle. Usually asserted by the CPU in response to an
interrupt request. When asserted places the interrupt vector on the
bus and asserts DACKN.
DACKN 10
4
4
O
Data transfer acknowledge: A3-state active LOW output asserted in
a write, read, or interrupt acknowledge cycle to indicate proper
transfer of data between the CPU and the DUART.
A0
A1
A2
A3
2
4
6
7
40
42
44
1
44
46
48
1
I
I
I
I
I
Address inputs: Select the DUART internal registers and ports for
read/write operations.
RESETN 38
32
34
Reset: A LOW level clears internal registers (SRA, SRB, IMR, ISR,
OPR, OPCR), puts OP0 to OP7 in the HIGH state, stops the
counter/timer, and puts channels A and B in the inactive state, with the
TxDA and TxDB outputs in the mark (HIGH) state. Sets MR pointer to
MR1. See Figure 10.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
11 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
Table 3.
Pin description for 68xxx bus interface (Motorola) …continued
Symbol Pin
Type Description
PLCC44 QFP44 HVQFN48
INTRN
24
18
30
31
19
32
33
O
I
Interrupt request: Active LOW, open-drain, output which signals the
CPU that one or more of the eight maskable interrupting conditions
are true. This pin requires a pull-up.
X1/CLK 36
Crystal 1: Crystal or external clock input. A crystal or clock of the
specified limits must be supplied at all times. When a crystal is used, a
capacitor must be connected from this pin to ground (see Figure 17).
X2
37
O
Crystal 2: Connection for other side of the crystal. When a crystal is
used, a capacitor must be connected from this pin to ground (see
Figure 17). If X1/CLK is driven from an external source, this pin must
be left open.
RxDA
RxDB
TxDA
35
11
33
29
5
31
5
I
Channel A receiver serial data input: The least significant bit is
received first. See note on drive levels at block diagram (Figure 2).
I
Channel B receiver serial data input: The least significant bit is
received first. See note on drive levels at block diagram (Figure 2).
28
30
O
Channel A transmitter serial data output: The least significant bit is
transmitted first. This output is held in the ‘mark condition when the
transmitter is disabled, idle or when operating in local loopback mode.
See note on drive levels at block diagram (Figure 2).
TxDB
13
6
8
O
Channel B transmitter serial data output: The least significant bit is
transmitted first. This output is held in the Mark condition when the
transmitter is disabled, idle, or when operating in local loopback mode.
See note on drive levels at block diagram (Figure 2).
OP0
OP1
32
14
27
7
29
9
O
O
Output 0: General purpose output or channel A request to send
(RTSAN, active LOW). Can be deactivated automatically on receive or
transmit.
Output 1: General purpose output or channel B request to send
(RTSBN, active LOW). Can be deactivated automatically on receive or
transmit.
OP2
OP3
31
15
26
8
28
10
O
O
Output 2: General purpose output, or channel A transmitter 1× or 16×
clock output, or channel A receiver 1× clock output.
Output 3: General purpose output or open-drain, active LOW
counter/timer output or channel B transmitter 1× clock output, or
channel B receiver 1× clock output.
OP4
OP5
OP6
OP7
IP0
30
16
29
17
8
25
9
27
11
26
12
2
O
O
O
O
I
Output 4: General purpose output or channel A open-drain, active
LOW, RxA interrupt ISR [1] output.
Output 5: General purpose output or channel B open-drain, active
LOW, RxB interrupt ISR[5] output.
24
10
2
Output 6: General purpose output or channel A open-drain, active
LOW, TxA interrupt ISR[0] output.
Output 7: General purpose output, or channel B open-drain, active
LOW, TxB interrupt ISR[4] output.
Input 0: General purpose input or channel A clear to send active LOW
input (CTSAN).
IP1
5
43
34
47
38
I
Input 1: General purpose input or channel B clear to send active LOW
input (CTSBN).
IP2
40
I
Input 2: General purpose input or counter/timer external clock input.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
12 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
Table 3.
Pin description for 68xxx bus interface (Motorola) …continued
Symbol Pin
Type Description
PLCC44 QFP44 HVQFN48
IP3
IP4
IP5
3
41
37
36
45
41
40
I
I
I
Input 3: General purpose input or channel A transmitter external clock
input (TxCA). When the external clock is used by the transmitter, the
transmitted data is clocked on the falling edge of the clock.
43
42
Input 4: General purpose input or channel A receiver external clock
input (RxCA). When the external clock is used by the receiver, the
received data is sampled on the rising edge of the clock.
Input 5: General purpose input or channel B transmitter external clock
input (TxCB). When the external clock is used by the transmitter, the
transmitted data is clocked on the falling edge of the clock.
VCC
GND
n.c.
44
22
38, 39 42
16, 17 18[1]
Pwr
Pwr
-
Power Supply: 3.3 V ± 10 % or 5 V ± 10 % supply input.
Ground
1, 23, 34 23
6, 13, 24,
25, 36, 37,
43
Not connected
[1] HVQFN48 package die supply ground is connected to both GND pin and exposed center pad. GND pin must be connected to supply
ground for proper device operation. For enhanced thermal, electrical, and board level performance, the exposed pad needs to be
soldered to the board using a corresponding thermal pad on the board and for proper heat conduction through the board, thermal vias
need to be incorporated in the PCB in the thermal pad region.
6. Functional description
6.1 Block diagram
The SC28L92 DUART consists of the following eight major sections: data bus buffer,
operation control, interrupt control, timing, communications channels A and B, input port
and output port. Refer to Section 4 “Block diagram”.
6.1.1 Data bus buffer
The data bus buffer provides the interface between the external and internal data buses. It
is controlled by the operation control block to allow read and write operations to take place
between the controlling CPU and the DUART.
6.1.2 Operation control
The operation control logic receives operation commands from the CPU and generates
appropriate signals to internal sections to control device operation. It contains address
decoding and read and write circuits to permit communications with the microprocessor
via the data bus.
6.1.3 Interrupt control
A single active LOW interrupt output (INTRN) is provided which is activated upon the
occurrence of any of eight internal events. Associated with the interrupt system are the
Interrupt Mask Register (IMR) and the Interrupt Status Register (ISR). The IMR can be
programmed to select only certain conditions to cause INTRN to be asserted. The ISR
can be read by the CPU to determine all currently active interrupting conditions. Outputs
OP3 to OP7 can be programmed to provide discrete interrupt outputs for the transmitter,
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
13 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
receivers, and counter/timer. When OP3 to OP7 are programmed as interrupts, their
output buffers are changed to the open-drain active LOW configuration. The OP pins may
be used for DMA and modem control as well (see Section 7.4).
6.1.4 FIFO configuration
Each receiver and transmitter has a 16 byte FIFO. These FIFOs may be configured to
operate at a fill capacity of either 8 bytes or 16 bytes. This feature may be used if it is
desired to operate the SC28L92 in strict compliance with the SC26C92. The 8 byte or
16 byte mode is controlled by the MR0A[3] bit. A logic 0 value for this bit sets the 8-bit
mode (the default); a logic 1 sets the 16 byte mode. MR0A bit 3 sets the FIFO size for both
channels.
The FIFO fill interrupt level automatically follow the programming of the MR0A[3] bit. See
Table 25 and Table 26.
6.1.5 68xxx mode
When the I/M pin is connected to GND (ground), the operation of the SC28L92 switches to
the bus interface compatible with the Motorola bus interfaces. Several of the pins change
their function as follows:
IP6 becomes IACKN input
RDN becomes DACKN
WRN becomes R/WN
The interrupt vector is enabled and the interrupt vector will be placed on the data bus
when IACKN is asserted LOW. The interrupt vector register is located at address 0xC. The
contents of this register are set to 0x0F on the application of RESETN.
The generation of DACKN uses two positive edges of the X1 clock as the DACKN delay
from the falling edge of CEN. If the CEN is withdrawn before two edges of the X1 clock
occur, the generation of DACKN is terminated. Systems not strictly requiring DACKN
may use the 68xxx mode with the bus timing of the 80xxx mode greatly decreasing the
bus cycle time.
6.2 Timing circuits
6.2.1 Crystal clock
The timing block consists of a crystal oscillator, a baud rate generator, a programmable
16-bit counter/timer, and four clock selectors. The crystal oscillator operates directly from
a crystal connected across the X1/CLK and X2 inputs. If an external clock of the
appropriate frequency is available, it may be connected to X1/CLK. The clock serves as
the basic timing reference for the Baud Rate Generator (BRG), the counter/timer, and
other internal circuits. A clock signal within the limits specified in Section 10 “Dynamic
characteristics” must always be supplied to the DUART. If an external clock is used
instead of a crystal, X1 should be driven using a configuration similar to the one in
Figure 17. Nominal crystal rate is 3.6864 MHz. Rates up to 8 MHz may be used.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
14 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
6.2.2 Baud rate generator
The baud rate generator operates from the oscillator or external clock input at the X1 input
and is capable of generating 28 commonly used data communications baud rates ranging
from 50 kBd to 38.4 kBd. Programming bit 0 of MR0 to a logic 1 gives additional baud
rates of 57.6 kBd, 115.2 kBd and 230.4 kBd (500 kHz with X1 at 8.0 MHz). Note that the
MR0A[2:0] control this change and that the change applies to both channels. MR0B[2:0]
are reserved.
The baud rates are based on an input frequency of 3.6864 MHz. Changing the X1
frequency will change all baud rates by ratio of 3.6864 MHz to the new frequency. All rates
generated by the BRG will be in the 16× mode. The clock outputs from the BRG are at 16×
the actual baud rate.
The counter/timer can be used as a timer to produce a 16× clock for any other baud rate
by counting down the crystal clock or an external clock. The four clock selectors allow the
independent selection, for each receiver and transmitter, of any of these baud rates or
external timing signal. The use of the counter/timer also requires the generation of a
frequency 16× of the baud rate. See Section 6.2.3.
6.2.3 Counter/timer
The Counter/timer is a 16-bit programmable divider that operates in one of three modes:
counter, timer and time-out. In the timer mode it generates a square wave. In the counter
mode it generates a time delay. In the time-out mode it monitors the time between
received characters. The C/T uses the numbers loaded into the Counter/Timer Lower
Register (CTLR) and the Counter/Timer Upper Register (CTUR) as its divisor.
The counter/timer clock source and mode of operation (counter or timer) is selected by the
Auxiliary Control Register bits 6 to 4 (ACR[6:4]). The output of the counter/timer may be
used for a baud rate and/or may be output to the OP pins for some external function that
may be totally unrelated to data transmission. The counter/timer also sets the
counter/timer ready bit in the Interrupt Status Register (ISR) when its output transitions
from logic 1 to logic 0. A register read address (see Table 4) is reserved to issue a start
counter/timer command and a second register read address is reserved to issue a stop
command. The value of D[7:0] is ignored. The START command always loads the
contents of CTUR, CTLR to the counting registers. The STOP command always resets
the ISR[3] bit in the interrupt status register.
6.2.4 Timer mode
In the timer mode a symmetrical square wave is generated whose half period is equal in
time to division of the selected counter/timer clock frequency by the 16-bit number loaded
in the CTLR CTUR. Thus, the frequency of the counter/timer output will be equal to the
counter/timer clock frequency divided by twice the value of the CTUR CTLR. While in the
timer mode the ISR bit 3 (ISR[3]) will be set each time the counter/timer transitions from
logic 1 to logic 0 (HIGH-to-LOW). This continues regardless of issuance of the stop
counter command. ISR[3] is reset by the stop counter command.
Note: Reading of the CTU and CTL registers in the timer mode is not meaningful. When
the C/T is used to generate a baud rate and the C/T is selected through the CSR then the
receivers and/or transmitter will be operating in the 16× mode. Calculation for the
number n to program the counter/timer upper and lower registers is shown in Equation 1.
The value of the divisor n is
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
15 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
counter/timer input clock
n =
(1)
--------------------------------------------------------------------------
2 × 16 × (desired baud rate)
Often this division will result in a non-integer number; 26.3 for example. One may only
program integer numbers to a digital divider. Therefore 26 (0x1A) would be chosen. If 26.7
were the result of the division, then 27 (0x1B) would be chosen. This gives a baud rate
error of 0.3/26.3 or 0.3/26.7 that yields a percentage error of 1.14 % or 1.12 %
respectively, well within the ability of the asynchronous mode of operation. Higher input
frequency to the counter reduces the error effect of the fractional division.
6.2.5 Counter mode
In the counter mode the counter/timer counts the value of the CTLR CTUR down to zero
and then sets the ISR[3] bit and sets the counter/timer output from 1 to 0. It then rolls over
to 65,365 and continues counting with no further observable effect. Reading the C/T in the
counter mode outputs the present state of the C/T. If the C/T is not stopped, a read of the
C/T may result in changing data on the data bus.
6.2.6 Time-out mode
The time-out mode uses the received data stream to control the counter. The time-out
mode forces the C/T into the timer mode. Each time a received character is transferred
from the shift register to the Rx FIFO, the counter is restarted. If a new character is not
received before the counter reaches zero count, the counter ready bit is set, and an
interrupt can be generated. This mode can be used to indicate when data has been left in
the Rx FIFO for more than the programmed time limit. If the receiver has been
programmed to interrupt the CPU when the receive FIFO is full, and the message ends
before the FIFO is full, the CPU will not be interrupted for the remaining characters in the
Rx FIFO.
By programming the C/T such that it would time-out in just over one character time, the
above situation could be avoided. The processor would be interrupted any time the data
stream had stopped for more than one character time. Note: This is very similar to the
watchdog time of MR0. The difference is in the programmability of the delay time and that
the watchdog timer is restarted by either a receiver load to the Rx FIFO or a system read
from it.
This mode is enabled by writing the appropriate command to the command register.
Writing 0xA to CRA or CRB will invoke the time-out mode for that channel. Writing 0xC to
CRA or CRB will disable the time-out mode. Only one receiver should use this mode at a
time. However, if both are on, the time-out occurs after both receivers have been inactive
for the time-out period. The start of the C/T will be on the logic OR of the two receivers.
The time-out mode disables the regular start counter or stop counter commands and puts
the C/T into counter mode under the control of the received data stream. Each time a
received character is transferred from the shift register to the Rx FIFO, the C/T is stopped
after one C/T clock, reloaded with the value in CTUR and CTLR and then restarted on the
next C/T clock. If the C/T is allowed to end the count before a new character has been
received, the counter ready bit, ISR[3], will be set. If IMR[3] is set, this will generate an
interrupt. Since receiving a character restarts the C/T, the receipt of a character after the
C/T has timed out will clear the counter ready bit, ISR[3], and the interrupt. Invoking the
Set Time-out Mode On command, CRx = 0xA, will also clear the counter ready bit and
stop the counter until the next character is received. The counter/timer is controlled with
six commands: Start/Stop C/T, Read/Write Counter/Timer lower register and Read/Write
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
16 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
Counter/Timer upper register. These commands have slight differences depending on the
mode of operation. Please see the detail of the commands in Section 7.3.3 “Command
registers”.
6.2.7 Time-out mode caution
When operating in the special time-out mode, it is possible to generate what appears to be
a false interrupt, i.e., an interrupt without a cause. This may result when a time-out
interrupt occurs and then, before the interrupt is serviced, another character is received,
i.e., the data stream has started again. (The interrupt latency is longer than the pause in
the data stream.) In this case, when a new character has been received, the counter/timer
will be restarted by the receiver, thereby withdrawing its interrupt. If, at this time, the
interrupt service begins for the previously seen interrupt, a read of the ISR will show the
Counter Ready bit not set. If nothing else is interrupting, this read of the ISR will return a
0x00 character. This action may present the appearance of a spurious interrupt.
6.2.8 Communications channels A and B
Each communications channel of the SC28L92 comprises a full-duplex asynchronous
receiver/transmitter (UART). The operating frequency for each receiver and transmitter
can be selected independently from the baud rate generator, the counter/timer, or from an
external input. The transmitter accepts parallel data from the CPU, converts it to a serial
bit stream, inserts the appropriate start, stop, and optional parity bits and outputs a
composite serial stream of data on the TxD output pin. The receiver accepts serial data on
the RxD pin, converts this serial input to parallel format, checks for start bit, stop bit, parity
bit (if any), or break condition and sends an assembled character to the CPU via the
receive FIFO. Three status bits (break received, framing and parity errors) are also
FIFOed with each data character.
6.2.9 Input port
The inputs to this unlatched 7-bit (6-bit for 68xxx mode) port can be read by the CPU by
performing a read operation at address 0xD. A HIGH input results in a logic 1 while a LOW
input results in a logic 0. D7 will always read as a logic 1. The pins of this port can also
serve as auxiliary inputs to certain portions of the DUART logic, modem and DMA.
Four change-of-state detectors are provided which are associated with inputs IP3, IP2,
IP1 and IP0. A HIGH-to-LOW or LOW-to-HIGH transition of these inputs, lasting longer
than 25 µs to 50 µs, will set the corresponding bit in the input port change register. The
bits are cleared when the register is read by the CPU. Any change of state can also be
programmed to generate an interrupt to the CPU.
The input port change of state detection circuitry uses a 38.4 kHz sampling clock derived
from one of the baud rate generator taps. This results in a sampling period of slightly more
than 25 µs (this assumes that the clock input is 3.6864 MHz). The detection circuitry, in
order to guarantee that a true change in level has occurred, requires two successive
samples at the new logic level be observed. As a consequence, the minimum duration of
the signal change is 25 µs if the transition occurs coincident with the first sample pulse.
The 50 µs time refers to the situation in which the change of state is just missed and the
first change of state is not detected until 25 µs later.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
17 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
6.2.10 Output port
The output ports are controlled from six places: the OPCR, OPR, MR, Command, SOPR
and ROPR registers. The OPCR register controls the source of the data for the output
ports OP2 through OP7. The data source for output ports OP0 and OP1 is controlled by
the MR and CR registers. When the OPR is the source of the data for the output ports, the
data at the ports is inverted from that in the OPR register. The content of the OPR register
is controlled by the set output port bits command and the reset output bits command.
These commands are at 0xE and 0xF, respectively. When these commands are used,
action takes place only at the bit locations where ones exist. For example, a one in bit
location 5 of the data word used with the set output port bits command will result in OPR5
being set to one. The OP5 would then be set to zero (VSS). Similarly, a one in bit position 5
of the data word associated with the reset output ports bits command would set OPR5 to
zero and, hence, the pin OP5 to a one (VDD).
These pins along with the IP pins and their change-of-state detectors are often used for
modem and DMA control.
6.3 Operation
6.3.1 Transmitter
The SC28L92 is conditioned to transmit data when the transmitter is enabled through the
command register. The SC28L92 indicates to the CPU that it is ready to accept a
character by setting the TxRDY bit in the status register. This condition can be
programmed to generate an interrupt request at OP6 or OP7 and INTRN. When the
transmitter is initially enabled the TxRDY and TxEMPT bits will be set in the status
register. When a character is loaded to the transmit FIFO the TxEMPT bit will be reset.
The TxEMPT will not set until: 1) the transmit FIFO is empty and the transmit shift register
has finished transmitting the stop bit of the last character written to the transmit FIFO, or
2) the transmitter is disabled and then re-enabled. The TxRDY bit is set whenever the
transmitter is enabled and the Tx FIFO is not full. Data is transferred from the holding
register to transmit shift register when it is idle or has completed transmission of the
previous character. Characters cannot be loaded into the Tx FIFO while the transmitter is
disabled.
The transmitter converts the parallel data from the CPU to a serial bit stream on the TxD
output pin. 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. Following the transmission of the stop bits, if a new character is not
available in the Tx FIFO, the TxD output remains HIGH and the TxEMT bit in the Status
Register (SR) will be set to 1. Transmission resumes and the TxEMT bit is cleared when
the CPU loads a new character into the Tx FIFO.
If the transmitter is disabled it continues operating until the character currently being
transmitted and any characters in the Tx FIFO, including parity and stop bits, have been
transmitted. New data cannot be loaded to the Tx FIFO when the transmitter is disabled.
When the transmitter is reset it stops sending data immediately.
The transmitter can be forced to send a break (a continuous LOW condition) by issuing a
START BREAK command via the CR register. The break is terminated by a STOP BREAK
command or a transmitter reset.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
18 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
If CTS option is enabled (MR2[4] = 1), the CTS input at IP0 or IP1 must be LOW in order
for the character to be transmitted. The transmitter will check the state of the CTS input at
the beginning of each character transmitted. If it is found to be HIGH, the transmitter will
delay the transmission of any following characters until the CTS has returned to the LOW
state. CTS going HIGH during the serialization of a character will not affect that character.
The transmitter can also control the RTSN outputs, OP0 or OP1 via MR2[5]. When this
mode of operation is set, the meaning of the OP0 or OP1 signals will usually be end of
message. See description of bit MR2[5] in Table 30 “MR2A - Mode Register 2 channel A
(address 0x0) bit description” for more detail. This feature may be used to automatically
turn around a transceiver in simplex systems.
6.3.2 Receiver
The SC28L92 is conditioned to receive data when enabled through the command register.
The receiver looks for a HIGH-to-LOW (mark-to-space) transition of the start bit on the
RxD input pin. If a transition is detected, the state of the RxD pin is sampled each 16×
clock for 7 clocks to 1⁄2 clocks (16× clock mode) or at the next rising edge of the bit time
clock (1× clock mode). If RxD is sampled HIGH, the start bit is invalid and the search for a
valid start bit begins again. If RxD is still LOW, a valid start bit is assumed and the receiver
continues to sample the input at one bit time intervals at the theoretical center of the bit,
until the proper number of data bits and parity bit (if any) have been assembled, and one
stop bit has been detected. The least significant bit is received first. The data is then
transferred to the receive FIFO and the RxRDY bit in the SR is set to a 1. This condition
can be programmed to generate an interrupt at OP4 or OP5 and INTRN. If the character
length is less than 8 bits, the most significant unused bits in the Rx FIFO are set to zero.
After the stop bit is detected, the receiver will immediately look for the next start bit.
However, if a non-zero character was received without a stop bit (framing error) and RxD
remains LOW for one half of the bit period after the stop bit was sampled, then the
receiver operates as if a new start bit transition had been detected at that point (one-half
bit time after the stop bit was sampled).
The parity error, framing error and overrun error (if any) are strobed into the SR from the
next byte to be read from the Rx FIFO. If a break condition is detected (RxD is LOW for
the entire character including the stop bit), a character consisting of all zeros will be
loaded into the Rx FIFO and the received break bit in the SR is set to 1. The RxD input
must return to HIGH for two (2) clock edges of the X1 crystal clock for the receiver to
recognize the end of the break condition and begin the search for a start bit.
This will usually require a HIGH time of one X1 clock period or 3 X1 edges since the
clock of the controller is not synchronous to the X1 clock.
6.3.3 Transmitter reset and disable
Note the difference between transmitter disable and reset. A transmitter reset stops
transmitter action immediately, clears the transmitter FIFO and returns the idle state. A
transmitter disable withdraws the transmitter interrupts but allows the transmitter to
continue operation until all bytes in its FIFO and shift register have been transmitted
including the final stop bits. It then returns to its idle state.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
19 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
6.3.4 Receiver FIFO
The Rx FIFO consists of a First-In-First-Out (FIFO) stack with a capacity of 8 or 16
characters. Data is loaded from the receive shift register into the topmost empty position
of the FIFO. The RxRDY bit in the status register is set whenever one or more characters
are available to be read, and a FFULL status bit is set if all 8 or 16 stack positions are filled
with data. Either of these bits can be selected to cause an interrupt. A read of the Rx FIFO
outputs the data at the top of the FIFO. After the read cycle, the data FIFO and its
associated status bits (see Section 6.3.5) are popped thus emptying a FIFO position for
new data.
A disabled receiver with data in its FIFO may generate an interrupt (see Section 6.3.5). Its
status bits remain active and its watchdog, if enabled, will continue to operate.
6.3.5 Receiver status bits
In addition to the data word, three status bits (parity error, framing error and received
break) are also appended to each data character in the FIFO. The overrun error, MR1[5],
is not FIFOed.
Status can be provided in two ways, as programmed by the error mode control bit in the
mode register. 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 three bits is the logic OR of the status for all
characters coming to the top of the FIFO since the last reset error from the command
register was issued. In either mode reading the SR does not affect the FIFO. The FIFO is
popped only when the Rx FIFO is read. Therefore the status register should be read prior
to reading the FIFO.
If the FIFO is full when a new character is received, that character is held in the receive
shift register until a FIFO position is available. If an additional character is received while
this state exits, the contents of the FIFO are not affected; the character previously in the
shift register is lost and the overrun error status bit (SR[4]) will be set upon receipt of the
start bit of the new (overrunning) character.
The receiver can control the deactivation of RTS. If programmed to operate in this mode,
the RTSN output will be negated when a valid start bit was received and the FIFO is full.
When a FIFO position becomes available, the RTSN output will be reasserted (set LOW)
automatically. This feature can be used to prevent an overrun, in the receiver, by
connecting the RTSN output to the CTSN input of the transmitting device.
If the receiver is disabled, the FIFO characters can be read. However, no additional
characters can be received until the receiver is enabled again. If the receiver is reset, the
FIFO and all of the receiver status, and the corresponding output ports and interrupt are
reset. No additional characters can be received until the receiver is enabled again.
6.3.6 Receiver reset and disable
Receiver disable stops the receiver immediately. Data being assembled in the receiver
shift register is lost. Data and status in the FIFO is preserved and may be read. A
re-enable of the receiver after a disable will cause the receiver to begin assembling
characters at the next start bit detected.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
20 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
A receiver reset will discard the present shift register date, reset the receiver ready bit
(RxRDY), clear the status of the byte at the top of the FIFO and realign the FIFO
read/write pointers.
6.3.7 Watchdog
A watchdog timer is associated with each receiver. Its interrupt is enabled by MR0[7]. The
purpose of this timer is to alert the control processor that characters are in the Rx FIFO
which have not been read. This situation may occur at the end of a transmission when the
last few characters received are not sufficient to cause an interrupt.
This counter times out after 64 bit times. It is reset each time a character is transferred
from the receiver shift register to the Rx FIFO or a read of the Rx FIFO is executed.
6.3.8 Receiver time-out mode
In addition to the watchdog timer described in Section 6.3.7, the counter/timer may be
used for a similar function. Its programmability, of course, allows much greater precision of
time-out intervals.
The time-out mode uses the received data stream to control the counter. Each time a
received character is transferred from the shift register to the Rx FIFO, the counter is
restarted. If a new character is not received before the counter reaches zero count, the
counter ready bit is set, and an interrupt can be generated. This mode can be used to
indicate when data has been left in the Rx FIFO for more than the programmed time limit.
Otherwise, if the receiver has been programmed to interrupt the CPU when the receive
FIFO is full, and the message ends before the FIFO is full, the CPU may not know there is
data left in the FIFO. The CTU and CTL value would be programmed for just over one
character time, so that the CPU would be interrupted as soon as it has stopped receiving
continuous data. This mode can also be used to indicate when the serial line has been
marking for longer than the programmed time limit. In this case, the CPU has read all of
the characters from the FIFO, but the last character received has started the count. If
there is no new data during the programmed time interval, the counter ready bit will get
set, and an interrupt can be generated.
The time-out mode is enabled by writing the appropriate command to the command
register. Writing 0xA to CRA or CRB will invoke the time-out mode for that channel.
Writing 0xC to CRA or CRB will disable the time-out mode. The time-out mode should
only be used by one channel at once, since it uses the C/T. If, however, the time-out mode
is enabled from both receivers, the time-out will occur only when both receivers have
stopped receiving data for the time-out period. CTU and CTL must be loaded with a value
greater than the normal receive character period. The time-out mode disables the regular
start counter or stop counter commands and puts the C/T into counter mode under the
control of the received data stream. Each time a received character is transferred from the
shift register to the Rx FIFO, the C/T is stopped after one C/T clock, reloaded with the
value in CTU and CTL and then restarted on the next C/T clock. If the C/T is allowed to
end the count before a new character has been received, the counter ready bit, ISR[3], will
be set. If IMR[3] is set, this will generate an interrupt. Receiving a character after the C/T
has timed out will clear the counter ready bit, ISR[3], and the interrupt. Invoking the set
time-out mode on command, CRx = 0xA, will also clear the counter ready bit and stop the
counter until the next character is received.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
21 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
6.3.9 Time-out mode caution
When operating in the special time-out mode, it is possible to generate what appears to be
a false interrupt, i.e., an interrupt without a cause. This may result when a time-out
interrupt occurs and then, before the interrupt is serviced, another character is received,
i.e., the data stream has started again. (The interrupt latency is longer than the pause in
the data stream.) In this case, when a new character has been receiver, the counter/timer
will be restarted by the receiver, thereby withdrawing its interrupt. If, at this time, the
interrupt service begins for the previously seen interrupt, a read of the ISR will show the
counter ready bit not set. If nothing else is interrupting, this read of the ISR will return a
0x00 character.
6.3.10 Multi-drop mode (9-bit or wake-up)
The DUART is equipped with a wake-up mode for multi-drop applications. This mode is
selected by programming bits MR1A[4:3] or MR1B[4:3] to 11 for channels A and B,
respectively. In this mode of operation, a master station transmits an address character
followed by data characters for the addressed slave station. The slave stations, with
receivers that are normally disabled, examine the received data stream and wake-up the
CPU (by setting RxRDY) only upon receipt of an address character. The CPU compares
the received address to its station address and enables the receiver if it wishes to receive
the subsequent data characters. Upon receipt of another address character, the CPU may
disable the receiver to initiate the process again.
A transmitted character consists of a start bit, the programmed number of data bits, and
Address/Data (A/D) bit, and the programmed number of stop bits. The polarity of the
transmitted A/D bit is selected by the CPU by programming bit MR1A[2]/MR1B[2].
MR1A[2]/MR1B[2] = 0 transmits a zero in the A/D bit position, which identifies the
corresponding data bits as data while MR1A[2]/MR1B[2] = 1 transmits a one in the A/D bit
position, which identifies the corresponding data bits as an address. The CPU should
program the mode register prior to loading the corresponding data bits into the Tx FIFO.
In this mode, the receiver continuously looks at the received data stream, whether it is
enabled or disabled. If disabled, it sets the RxRDY status bit and loads the character into
the Rx FIFO if the received A/D bit is a one (address tag), but discards the received
character if the received A/D bit is a zero (data tag). If enabled, all received characters are
transferred to the CPU via the Rx FIFO. In either case, the data bits are loaded into the
data FIFO while the A/D bit is loaded into the status FIFO position normally used for parity
error (SRA[5] or SRB[5]). Framing error, overrun error, and break detect operate normally
whether or not the receive is enabled.
7. Programming
7.1 Register overview
The operation of the DUART is programmed by writing control words into the appropriate
registers. Operational feedback is provided via status registers which can be read by the
CPU. The addressing of the registers is described in Table 4.
The contents of certain control registers are initialized to zero on RESET. Care should be
exercised if the contents of a register are changed during operation, since certain
changes may cause operational problems.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
22 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
For example, changing the number of bits per character while the transmitter is active may
cause the transmission of an incorrect character. In general, the contents of the MR, the
CSR, and the OPCR should only be changed while the receiver(s) and transmitter(s) are
not enabled, and certain changes to the ACR should only be made while the C/T is
stopped.
Each channel has three mode registers (MR0, MR1 and MR2) which control the basic
configuration of the channel. Access to these registers is controlled by independent MR
address pointers. These pointers are set to 0x0 or 0x1 by MR control commands in the
command register Miscellaneous Commands. Each time the MR registers are accessed
the MR pointer increments, stopping at MR2. It remains pointing to MR2 until set to 0x0 or
0x1 via the miscellaneous commands of the command register. The pointer is set to 0x1
on reset for compatibility with previous Philips Semiconductors UART software.
Mode, command, clock select, and status registers are duplicated for each channel to
provide total independent operation and control. Refer to Section 7.2 for register bit
overview. The reserved registers at addresses 0x2 and 0xA should never be read during
normal operation since they are reserved for internal diagnostics.
Table 4.
SC28L92 register addressing READ (RDN = 0), WRITE (WRN = 0)[1]
Binary address
Read operation (RDN = 0 and CEN = 0)
Mode Register A (MR0A, MR1A, MR2A)
Status Register A (SRA)
Write operation (WRN = 0 and CEN = 0)
Mode Register A (MR0A, MR1A, MR2A)
Clock Select Register A (CSRA)
Command Register A (CRA)
0
0
0
0
0
0
0
0
1
1
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
0
1
0
1
0
1
0
1
0
1
0
1
0
0
reserved
Rx Holding Register A (RxFIFOA)
Input Port Change Register (IPCR)
Interrupt Status Register (ISR)
Counter/Timer Upper (CTU)
Counter/Timer Lower (CTL)
Mode Register B (MR0B, MR1B, MR2B)
Status Register B (SRB)
Tx Holding Register A (TxFIFOA)
Auxiliary Control Register (ACR)
Interrupt Mask Register (IMR)
C/T Upper Preset Register (CTPU)
C/T Lower Preset Register (CTPL)
Mode Register B (MR0B, MR1B, MR2B)
Clock Select Register B (CSRB)
Command Register B (CRB)
reserved
Rx Holding Register B (RxFIFOB)
Interrupt vector (68xxx mode)
Tx Holding Register B (TxFIFOB)
Interrupt vector (68xxx mode)
Miscellaneous register (Intel mode), IVR
Motorola mode
Miscellaneous register (Intel mode), IVR
Motorola mode
1
1
1
1
1
1
0
1
1
1
0
1
Input Port Register (IPR)
start counter command
stop counter command
Output Port Configuration Register (OPCR)
Set Output Port Bits Command (SOPR)
Reset output Port Bits Command (ROPR)
[1] The three MR registers are accessed via the MR Pointer and Commands 0x1n and 0xBn (where n = represents receiver and transmitter
enable bits).
Table 5.
Registers for channels A and B
Register name
Mode Register
Status Register
Clock Select
Channel A register
Channel B register
Access
R/W
MRnA
SRA
MRnB
SRB
R only
W only
CSRA
CSRB
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
23 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
Table 5.
Registers for channels A and B …continued
Register name
Command Register
Receiver FIFO
Channel A register
CRA
Channel B register
CRB
Access
W only
R only
W only
RxFIFOA
RxFIFOB
Transmitter FIFO
TxFIFOA
TxFIFOB
Table 6.
Registers supporting both channels
Register name
Mnemonic
IPCR
ACR
Access
R
Input Port Change Register
Auxiliary Control Register
Interrupt Status Register
Interrupt Mask Register
Counter/Timer Upper value
Counter/Timer Lower value
Counter/Timer Preset Upper
Counter/Timer Preset Lower
Input Port Register
W
ISR
R
IMR
W
CTU
R
CTL
R
CTPU
CTPL
IPR
W
W
R
Output Configuration Register
Set Output Port
OPCR
SOPR
ROPR
IVR/GP
W
W
Reset Output Port
W
Interrupt vector or GP register
R/W
7.2 Condensed register bit formats
Table 7.
MR0 - Mode Register 0
7
6
5
4
3
2
1
0
RxWATCHDOG
RxINT[2]
TxINT[1:0]
FIFOSIZE
BAUDRATE
TEST2
BAUDRATE
EXTENDED II
EXTENDED I
Table 8.
7
MR1 - Mode Register 1
6
5
4
3
2
1
0
RxRTS
control
RxINT[1]
ERRORMODE
PARITYMODE
PARITYTYPE
bits per character
Table 9.
MR2 - Mode Register 2
6
7
5
4
3
2
1
0
0
channel mode
RTSN
Control Tx
CTSN
Enable Tx
stop bit length
Table 10. CSR - Clock Select Register
7
6
5
4
3
2
1
receiver clock select code
transmitter clock select code
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
24 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
Table 11. CR - Command Register
7
6
5
4
3
2
1
0
channel command code
disable Tx
enable Tx
disable Rx
enable Rx
Table 12. SR - channel Status Register
7
6
5
4
3
2
1
0
received
break
framing error
parity error
overrun error
TxEMT
TxRDY
RxFULL
RxRDY
Table 13. IMR - Interrupt Mask Register (enables interrupts)
7
6
5
4
3
2
1
0
change input change break
port
RxRDYB
TxRDTYB
counter ready change break
A
RxRDYA
TxRDYA
B
Table 14. ISR - Interrupt Status Register
7
6
5
4
3
2
1
0
input port
change
change break
B
RxRDYB
FFULLB
TxRDTYB
counter ready change break
A
RxRDYA
FFULLA
TxRDYA
Table 15. CTPU - Counter/Timer Preset Register, Upper
7
6
5
4
3
2
2
1
1
0
0
8 MSB of the BRG timer divisor
Table 16. CTPL - Counter/Timer Preset Register, Lower
7
6
5
4
3
8 LSB of the BRG timer divisor
Table 17. ACR - Auxiliary Control Register and change of state control
7
6
5
4
3
2
1
0
BRG set
select
counter/timer mode and clock source
select (see Table 54 on page 44)
enable IP3
enable IP2
enable IP1
enable IP0
COS interrupt COS interrupt COS interrupt COS interrupt
Table 18. IPCR - Input Port Change Register
7
6
5
4
3
2
1
0
delta IP3
delta IP2
delta IP1
delta IP0
state of IP3
state of IP2
state of IP1
state of IP0
Table 19. IPR - Input Port Register
7
6
5
4
3
2
1
0
state of IP7
state of IP6
state of IP5
state of IP4
state of IP3
state of IP2
state of IP1
state of IP0
Table 20. SOPR - Set Output Port bits Register (SOPR)
7
6
5
4
3
2
1
0
set OP7
set OP6
set OP5
set OP4
set OP3
set OP2
set OP1
set OP0
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
25 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
Table 21. ROPR - Reset Output Port bits Register (ROPR)
7
6
5
4
3
2
1
0
reset OP7
reset OP6
reset OP5
reset OP4
reset OP3
reset OP2
reset OP1
reset OP0
Table 22. OPCR - Output Port Configuration Register
OP1 and OP0 are the RTSN output and are controlled by the MR register
7
6
5
4
3
2
1
0
configure
OP7
configure
OP6
configure
OP5
configure
OP4
configure
OP3
configure
OP3
configure
OP2
configure
OP2
7.3 Register descriptions
7.3.1 Mode registers
7.3.1.1 Mode Register 0 channel A (MR0A)
Table 23. MR0A - Mode Register 0 channel A (address 0x0) bit allocation
MR0 is accessed by setting the MR pointer to logic 0 via the command register command B.
7
6
5
4
3
2
1
0
RxWATCHDOG
RxINT[2]
TxINT[1:0]
FIFOSIZE
BAUDRATE
TEST2
BAUDRATE
EXTENDED II
EXTENDED I
Table 24. MR0A - Mode Register 0 channel A (address 0x0) bit description
Bit
Symbol
Description
7
RxWATCHDOG This bit controls the receiver watchdog timer.
0 = disable
1 = enable
When enabled, the watchdog timer will generate a receiver interrupt if
the receiver FIFO has not been accessed within 64 bit times of the
receiver 1× clock. The watchdog timer is used to alert the control
processor that data is in the Rx FIFO that has not been read. This
situation will occur when the byte count of the last part of a message
is not large enough to generate an interrupt.
The watchdog timer presents itself as a receiver interrupt with the
RxRDY bit set in SR and ISR.
6
RxINT[2]
Bit 2 of receiver FIFO interrupt level. This bit along with bit 6 of MR1
sets the fill level of the FIFO that generates the receiver interrupt.
Note that this control is split between MR0 and MR1. This is for
backward compatibility to the SC26C92 and SCC2681.
For the receiver these bits control the number of FIFO positions filled
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; see Table 25.
5 and 4 TxINT[1:0]
Transmitter interrupt fill level. For the transmitter these bits control the
number of FIFO positions empty when the receiver will attempt to
interrupt; see Table 26. 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 (TxINT[1:0] = 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.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
26 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
Table 24. MR0A - Mode Register 0 channel A (address 0x0) bit description …continued
Bit
Symbol
Description
3
FIFOSIZE
FIFO size for channel A and channel B. Selects the FIFO depth at
8-byte or 16-byte.
0 = 8 bytes
1 = 16 bytes
2
BAUDRATE
EXTENDED I
Bits MR0[2:0] are used to select one of the six baud rate groups. See
Table 35 for the group organization.
000 = Normal mode
1
0
TEST2
001 = Extended mode I
BAUDRATE
EXTENDED II
100 = Extended mode II
Other combinations of MR0[2:0] should not be used.
Table 25. Receiver FIFO interrupt fill level[1]
RxINT[2:1] (bits MR0[6] and MR1[6])
Interrupt condition
FIFOSIZE = 0 (8 bytes)
00
1 or more bytes in FIFO (RxRDY)
3 or more bytes in FIFO
01
10
6 or more bytes in FIFO
11
8 bytes in FIFO (RxFULL)
FIFOSIZE = 1 (16 bytes)
00
01
10
11
1 or more bytes in FIFO (RxRDY)
8 or more bytes in FIFO
12 or more bytes in FIFO
16 bytes in FIFO (RxFULL)
[1] Interrupt fill level must be set when the transmit and receive FIFOs are empty, otherwise the new level takes
effect only after a read or a write to the FIFO.
Table 26. Transmitter FIFO interrupt fill level[1]
TxINT[1:0] (bits MR0[5:4])
Interrupt condition
FIFOSIZE = 0 (8 bytes)
00
8 bytes empty (TxEMPTY)
4 or more bytes empty
01
10
6 or more bytes empty
11
1 or more bytes empty (TxRDY)
FIFOSIZE = 1 (16 bytes)
00
01
10
11
16 bytes empty (TxEMPTY)
8 or more bytes empty
12 or more bytes empty
1 or more bytes empty (TxRDY)
[1] Interrupt fill level must be set when the transmit and receive FIFOs are empty, otherwise the new level takes
effect only after a read or a write to the FIFO.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
27 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
7.3.1.2 Mode Register 1 channel A (MR1A)
Table 27. MR1A - Mode Register 1 channel A (address 0x0) bit allocation
MR1A 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 MR1A, the pointer will point to MR2A[1].
7
6
5
4
3
2
1
0
RxRTS
control
RxINT[1]
ERRORMODE
PARITYMODE
PARITYTYPE
bits per character
[1] In block error mode, block error conditions must be cleared by using the error reset command (command 0x4) or a receiver reset.
Table 28. MR1A - Mode Register 1 channel A (address 0x0) bit description
Bit
Symbol
Description
7
RxRTS
Channel A receiver request to send control (flow control). This bit
controls the deactivation of the RTSAN output (OP0) by the receiver.
This output is normally asserted by setting OPR[0] and negated by
resetting OPR[0]. Proper automatic operation of flow control requires
OPR[0] (channel A) or OPR[1] (channel B) to be set to logic 1.
0 = No RTS control
1 = RTS control
RxRTS = 1 causes RTSAN to be negated (OP0 is driven to a
logic 1 [VCC]) upon receipt of a valid start bit if the channel A FIFO is
full. This is the beginning of the reception of the 9th byte. If the FIFO is
not read before the start of the 10th or 17th byte, an overrun condition
will occur and the 10th or 17th or 17th byte will be lost. However, the
bit in OPR[0] is not reset and RTSAN 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 RTSAN output
signal to control the CTSN input of the transmitting device.
6
5
RxINT[1]
Bit 1 of the receiver interrupt control. See description of RxINT[2] in
Table 25 and Table 26.
ERRORMODE Channel A error mode select.
0 = character
1 = block
This bit selects 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 (logic 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.
4 and 3 PARITYMODE Channel A parity mode select
00 = with parity
01 = force parity
10 = no parity
11 = multi-drop special mode
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 MR1A[4:3] = 11 selects channel A to operate in the
special multi-drop mode described in Section 6.3.10 “Multi-drop mode
(9-bit or wake-up)”.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
28 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
Table 28. MR1A - Mode Register 1 channel A (address 0x0) bit description …continued
Bit
Symbol
Description
2
PARITYTYPE
Channel A parity type select
0 = even
1 = odd
This bit selects the parity type (odd or even) if the with parity mode is
programmed by MR1A[4:3], and the polarity of the forced parity bit if
the force parity mode is programmed. It has no effect if the no parity
mode is programmed. In the special multi-drop mode it selects the
polarity of the A/D bit.
1:0
-
Channel A bits per character select.
00 = 5 bits
01 = 6 bits
10 = 7 bits
11 = 8 bits
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.
7.3.1.3 Mode Register 2 channel A (MR2A)
Table 29. MR2A - Mode Register 2 channel A (address 0x0) bit allocation
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.
7
6
5
4
3
2
1
0
channel mode
RTSN
CTSN
stop bit length
Control Tx
Enable Tx
Table 30. MR2A - Mode Register 2 channel A (address 0x0) bit description
Bit
Symbol
Description
7 and 6
-
Channel A mode select. Each channel of the DUART can operate in one of
the following four modes:
00 = Normal mode (default)
01 = Automatic echo mode
10 = Local loopback mode
11 = Remote loopback mode
Table 31 gives a description of the channel modes
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 loopback modes: if the deselection 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 retransmitted.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
29 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
Table 30. MR2A - Mode Register 2 channel A (address 0x0) bit description …continued
Bit
Symbol
Description
5
-
Channel A transmitter Request To Send (RTS) control.
0 = No RTS control
1 = RTS 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 Tx FIFO, if any, are completely transmitted
including the programmed number of stop bits, if the transmitter is not
enabled
This feature can be used to automatically terminate the transmission of a
message as follows (line turnaround):
1. Program auto-reset mode: MR2A[5] = 1
2. Enable transmitter
3. Assert RTSAN: OPR[0] = 1
4. Send message
5. Disable transmitter after the last character is loaded into the channel A
Tx FIFO
6. The last character will be transmitted and OPR[0] will be reset one bit
time after the last stop bit, causing RTSAN to be negated
4
-
Channel A transmitter Clear To Send (CTS) control.
0 = Input CTSAN(IP0) has no effect on the transmitter
1 = CTS control enabled
If this bit is a 1, the transmitter checks the state of CTSAN (IP0) each time
it is ready to send a character. If IP0 is asserted (LOW), the character is
transmitted. If it is negated (HIGH), the TxDA output remains in the
marking state and the transmission is delayed until CTSAN goes LOW.
Changes in CTSAN while a character is being transmitted do not affect the
transmission of that character.
3 to 0
-
Stop bit length select. This field programs the length of the stop bit
appended to the transmitted character. Stop bit lengths of 9⁄16 to 1 and
1 − 9⁄16 to 2 bits, in increments of 1⁄16 bit, can be programmed for character
lengths of 6, 7, and 8 bits. For a character lengths of 5 bits, 1 − 1⁄16 to 2
stop bits can be programmed in increments of 1⁄16 bit. In all cases, the
receiver only checks for a mark condition at the center of the stop bit
position (one half-bit time after the last data bit, or after the parity bit if
enabled is sampled). Refer to Table 32 for the values.
If an external 1× clock is used for the transmitter:
MR2A[3] = 0 selects one stop bit
MR2A[3] = 1 selects two stop bits
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
30 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
Table 31. DUART mode description
Mode
Description
The transmitter and receiver operating independently.
Normal
Automatic Places the channel in the automatic echo mode, which automatically retransmits the
echo
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
Local
loopback
Selects local loopback 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
Selects remote loopback diagnostic mode. In this mode:
1. Received data is reclocked and retransmitted on the TxDA output
2. The receive clock is used for the transmitter
Remote
loopback
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
Table 32. Stop bit length
MR2A[3:0] (hexadecimal)
Stop bit length[1]
0.563
0
1
2
3
4
5
6
7
8
9
A
0.625
0.688
0.750
0.813
0.875
0.938
1.000
1.563
1.653
1.688
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
31 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
Table 32. Stop bit length …continued
MR2A[3:0] (hexadecimal)
Stop bit length[1]
1.750
B
C
D
E
F
1.813
1.875
1.938
2.000
[1] Add 0.5 to values shown for 0 to 7 if channel is programmed for 5 bit per character
7.3.1.4 Mode Register 0 channel B (MR0B)
MR0B (address 0x8) is accessed when the channel B MR pointer points to MR1. The
pointer is set to MR0 by RESET or by a set pointer command applied via CRB. After
reading or writing MR0B, the pointer will point to MR1B.
The bit definitions for this register are identical to MR0A, except the FIFO size bit and that
all control actions apply to the channel B receiver, transmitter, the corresponding inputs
and outputs. MR0B[2:0] are reserved.
7.3.1.5 Mode Register 1 channel B (MR1B)
MR1B (address 0x8) is accessed when the channel B MR pointer points to MR1. The
pointer is set to MR1 by RESET or by a set pointer command applied via CRB. After
reading or writing MR1B, the pointer will point to MR2B.
The bit definitions for this register are identical to MR1A, except that all control actions
apply to the channel B receiver and transmitter and the corresponding inputs and outputs.
7.3.1.6 Mode Register 2 channel B (MR2B)
MR2B (address 0x8) is accessed when the channel B MR pointer points to MR2, which
occurs after any access to MR1B. Accesses to MR2B do not change the pointer.
The bit definitions for mode register are identical to the bit definitions for MR2A, except
that all control actions apply to the channel B receiver and transmitter and the
corresponding inputs and outputs.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
32 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
7.3.2 Clock select registers
Table 33. CSRA - Clock select register channel A (address 0x1) and
CSRB - Clock select register channel B (address 0x9) bit allocation
7
6
5
4
3
2
1
0
receiver clock select code
transmitter clock select code
7.3.2.1 Clock Select Register channel A (CSRA)
Table 34. CSRA - Clock select register channel A (address 0x1) bit description
Bit
Symbol
Description
7 to 4
-
Receiver clock select. The baud rate clock for the channel A receiver is as
shown in Table 35, except as follows:
1110 = IP4 - 16×
1111 = IP4 - 1×
The receiver clock is always a 16× clock except for CSRA[7:4] = 1111
3 to 0
-
Transmitter clock select. The baud rate clock for the channel A transmitter is
as shown in Table 35, except as follows:
1110 = IP3 - 16×
1111 = IP3 - 1×
The transmitter clock is always a 16× clock except for CSRA[3:0] = 1111
Table 35. Baud rate (based on a 3.6864 MHz crystal clock)
See Table 36 for bit rate characteristics.
CSR[7:4]
CSR[3:0]
MR0[0] = 0 (Normal mode)
MR0[0] = 1 (Extended mode I)
MR0[2] = 1 (Extended mode II)
ACR[7] = 0
50
ACR[7] = 1
75
ACR[7] = 0
300
ACR[7] = 1
450
ACR[7] = 0
4,800
ACR[7] = 1
7,200
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
110
110
110
110
880
880
134.5
200
134.5
150
134.5
1200
134.5
900
1,076
1,076
19.200
28.800
57.600
115,200
1,050
14.400
28.800
57.600
115,200
2,000
300
300
1800
1800
600
600
3600
3600
1,200
1,050
2,400
4,800
7,200
9,600
38,400
Timer
1,200
2,000
2,400
4,800
1,800
9,600
19,200
Timer
7200
7,200
2,000
14,400
28,800
1,800
57,600
115,200
Timer
1,050
14,400
28,800
7,200
57,600
230,400
Timer
57,600
4,800
57,600
4,800
57,600
9,600
14,400
9,600
38,400
Timer
19,200
Timer
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
33 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
Table 36. Bit rate generator characteristics[1]
Crystal or clock = 3.6864 MHz.
Normal rate (baud)
Actual 16× clock (kHz)
Error (%)
50
0.8
0
75
1.2
0
110
1.759
2.153
2.4
−0.069
134.5
150
0.059
0
200
3.2
0
300
4.8
0
600
9.6
0
1050
1200
1800
2000
2400
4800
7200
9600
19200
38400
16.756
19.2
28.8
32.056
38.4
76.8
115.2
153.6
307.2
614.4
−0.260
0
0
0.175
0
0
0
0
0
0
[1] Duty cycle of 16× clock is 50 % ± 1 %.
7.3.2.2 Clock Select Register channel B (CSRB)
Table 37. CSRB - Clock select register channel B (address 0x9) bit description
Bit
Symbol
Description
7 to 4
-
Receiver clock select. The baud rate clock for the channel B receiver is as
shown in Table 35, except as follows:
1110 = IP6 - 16×
1111 = IP6 - 1×
The receiver clock is always a 16× clock except for CSRB[7:4] = 1111
3 to 0
-
Transmitter clock select. The baud rate clock for the channel A transmitter is
as shown in Table 35, except as follows:
1110 = IP5 - 16×
1111 = IP5 - 1×
The transmitter clock is always a 16× clock except for CSRB[3:0] = 1111
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
34 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
7.3.3 Command registers
Table 38. CRA - Command register channel A (address 0x2) and
CRB - Command register channel B (address 0xA) bit allocation
7
6
5
4
3
2
1
0
channel command code
disable Tx enable Tx disable Rx enable Rx
7.3.3.1 Command Register channel A (CRA)
CRA is a register used to supply commands to channel A. Multiple commands can be
specified in a single write to CRA as long as the commands are non-conflicting, e.g., the
enable transmitter and reset transmitter commands cannot be specified in a single
command word.
Table 39. CRA - Command register channel A (address 0x2) bit description
Bit
Symbol Description
7 to 4
-
-
Miscellaneous commands. Execution of the commands in the upper four bits
of this register must be separated by 3 X1 clock edges. Other reads or writes
(including writes to the lower four bits) may be inserted to achieve this
separation. A description of miscellaneous commands is given in Table 40.
3
Disable channel A transmitter. This command terminates transmitter operation
and reset the TxDRY and TxEMT status bits. However, if a character is being
transmitted or if a character is in the Tx FIFO when the transmitter is disabled,
the transmission of the character(s) is completed before assuming the inactive
state.
2
1
-
-
Enable channel A transmitter. Enables operation of the channel A transmitter.
The TxRDY and TxEMT status bits will be asserted if the transmitter is idle.
Disable channel A receiver. This command terminates operation of the
receiver immediately-a character being received will be lost. The command
has no effect on the receiver status bits or any other control registers. If the
special multi-drop mode is programmed, the receiver operates even if it is
disabled. See Section 6.3.10.
0
-
Enable channel A receiver. Enables operation of the channel A receiver. If not
in the special wake-up mode, this also forces the receiver into the search for
start-bit state.
Table 40. Miscellaneous commands
Command
0000
Description
No command.
0001
Reset MR pointer. Causes the channel A MR pointer to point to MR1.
0010
Reset receiver. Resets the channel A receiver as if a hardware reset had been
applied. The receiver is disabled and the FIFO is flushed.
0011
0100
Reset transmitter. Resets the channel A transmitter as if a hardware reset had
been applied.
Reset error status. Clears the channel A received break, parity error, and overrun
error bits in the status register (SRA[7:4]). Used in character mode to clear OE
status (although RB, PE and FE bits will also be cleared) and in block mode to clear
all error status after a block of data has been received.
0101
Reset channel A break change interrupt. Causes the channel A break detect
change bit in the interrupt status register (ISR[2]) to be cleared to zero.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
35 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
Table 40. Miscellaneous commands …continued
Command Description
0110
Start break. Forces the TxDA output LOW (spacing). If the transmitter is empty the
start of the break condition will be delayed up to two bit times. If the transmitter is
active the break begins when transmission of the character is completed. If a
character is in the Tx FIFO, the start of the break will be delayed until that
character, or any other loaded subsequently are transmitted. The transmitter must
be enabled for this command to be accepted.
0111
Stop break. The TxDA line will go HIGH (marking) within two bit times. TxDA will
remain HIGH for one bit time before the next character, if any, is transmitted.
1000
1001
1010
Assert RTSN. Causes the RTSN output to be asserted (LOW).
Negate RTSN. Causes the RTSN output to be negated (HIGH).
Set time-out mode on. The receiver in this channel will restart the C/T as each
receive character is transferred from the shift register to the Rx FIFO. The C/T is
placed in the counter mode, the start counter or stop counter commands are
disabled, the counter is stopped, and the counter ready bit, ISR[3], is reset. (see
also watchdog timer description in the receiver Section 6.3.7.)
1011
1100
Set MR pointer to 0x0.
Disable time-out mode. This command returns control of the C/T to the regular start
counter or stop counter commands. It does not stop the counter, or clear any
pending interrupts. After disabling the time-out mode, a stop counter command
should be issued to force a reset of the ISR[3] bit.
1101
1110
Not used.
Power-down mode on. In this mode, the DUART oscillator is stopped and all
functions requiring this clock are suspended. The execution of commands other
than disable Power-down mode (1111) requires a X1/CLK. While in the
Power-down mode, do not issue any commands to the CR except the disable
Power-down mode command. The contents of all registers will be saved while in
this mode. It is recommended that the transmitter and receiver be disabled prior to
placing the DUART into Power-down mode. This command is in CRA only.
1111
Disable Power-down mode. This command restarts the oscillator. After invoking this
command, wait for the oscillator to start up before writing further commands to the
CR. This command is in CRA only. For maximum power reduction input pins should
be at VSS or VDD
.
7.3.3.2 Command Register channel B (CRB)
CRB is a register used to supply commands to channel B. Multiple commands can be
specified in a single write to CRB as long as the commands are non-conflicting, e.g., the
enable transmitter and reset transmitter commands cannot be specified in a single
command word.
The bit definitions for this register are identical to the bit definitions for CRA, with the
exception of miscellaneous commands 0xE and 0xF which are used for Power-down
mode. These two commands are not used in CRB. All other control actions that apply to
CRA also apply to CRB.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
36 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
7.3.4 Status registers
7.3.4.1 Status Register channel A (SRA)
Table 41. SRA - Status register channel A (address 0x1) bit allocation
7
6
5
4
3
2
1
0
received
break[1]
framing
error[1]
parity
error[1]
overrun
error
TxEMTA
TxRDYA RxFULLA RxRDYA
[1] These status bits are appended to the corresponding data character in the receive FIFO. A read of the
status provides these bits [7:5] from the top of the FIFO together with bits [4:0]. These bits are cleared by a
reset error status command. In character mode they are discarded when the corresponding data character
is read from the FIFO. In block error mode, the error-reset command (command 0x4 or receiver reset) must
used to clear block error conditions.
Table 42. SRA - Status register channel A (address 0x1) bit description
Bit Symbol
Description
Channel A received break.
0 = no
7
-
1 = yes
This bit indicates that an all zero character of the programmed length has been
received without a stop bit. Only a single FIFO position is occupied when a
break is received: further entries to the FIFO are inhibited until the RxDA line
returns to the marking state for at least one-half a bit time two successive
edges of the internal or external 1× clock. This will usually require a HIGH
time of one X1 clock period or 3 X1 edges since the clock of the controller
is not synchronous to the X1 clock.
When this bit is set, the channel A change in break bit in the ISR (ISR[2]) is set.
ISR[2] is also set when the end of the break condition, as defined above, is
detected.
The break detect circuitry can detect breaks that originate in the middle of a
received character. However, if a break begins in the middle of a character, it
must persist until at least the end of the next character time in order for it to be
detected.
This bit is reset by command 0x4 (0100) written to the command register or by
receiver reset.
6
5
-
-
Channel A framing error.
0 = no
1 = yes
This bit, when set, indicates that a stop bit was not detected (not a logic 1)
when the corresponding data character in the FIFO was received. The stop bit
check is made in the middle of the first stop bit position.
Channel A parity error.
0 = no
1 = yes
This bit is set when the with parity or force parity mode is programmed and the
corresponding character in the FIFO was received with incorrect parity.
In the special multi-drop mode the parity error bit stores the receive A/D
(Address/Data) bit.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
37 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
Table 42. SRA - Status register channel A (address 0x1) bit description …continued
Bit Symbol
Description
Channel A overrun error.
0 = no
4
-
1 = yes
This bit, when set, indicates that one or more characters in the received data
stream have been lost. It is set upon receipt of a new character when the FIFO
is full and a character is already in the receive shift register waiting for an empty
FIFO position. When this occurs, the character in the receive shift register (and
its break detect, parity error and framing error status, if any) is lost.
This bit is cleared by a reset error status command.
3
TxEMTA
Channel A transmitter empty.
0 = no
1 = yes
This bit will be set when the transmitter under runs, i.e., both the TxEMT and
TxRDY bits are set. This bit and TxRDY are set when the transmitter is first
enabled and at any time it is re-enabled after either (a) reset, or (b) the
transmitter has assumed the disabled state. It is always set after transmission
of the last stop bit of a character if no character is in the Tx Holding Register
(TxFIFOA) awaiting transmission.
It is reset when the Tx Holding Register (TxFIFOA) is loaded by the CPU, a
pending transmitter disable is executed, the transmitter is reset, or the
transmitter is disabled while in the under run condition.
2
TxRDYA
Channel A transmitter ready.
0 = no
1 = yes
This bit, when set, indicates that the transmit FIFO is not full and ready to be
loaded with another character. This bit is cleared when the transmit FIFO is
loaded by the CPU and there are (after this load) no more empty locations in
the FIFO. It is set when a character is transferred to the transmit shift register.
TxRDYA is reset when the transmitter is disabled and is set when the
transmitter is first enabled. Characters loaded to the Tx FIFO while this bit is
logic 0 will be lost. This bit has different meaning from ISR[0].
1
FFULLA
Channel A FIFO full.
0 = no
1 = yes
This bit is set when a character is transferred from the receive shift register to
the receive FIFO and the transfer causes the FIFO to become full, i.e., all eight
(or 16) FIFO positions are occupied. It is reset when the CPU reads the receive
FIFO. If a character is waiting in the receive shift register because the FIFO is
full, FFULLA will not be reset when the CPU reads the receive FIFO. This bit
has different meaning from ISR1 when MR1[6] is programmed to a logic 1
0
RxRDYA
Channel A receiver ready.
0 = no
1 = yes
This bit indicates that a character has been received and is waiting in the FIFO
to be read by the CPU. It is set when the character is transferred from the
receive shift register to the FIFO and reset when the CPU reads the receive
FIFO, only if (after this read) there are no more characters in the FIFO - the Rx
FIFO becomes empty.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
38 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
7.3.4.2 Status Register channel B (SRB)
Table 43. SRB - Status register channel B (address 0x9) bit allocation
7
6
5
4
3
2
1
0
received
break[1]
framing
error[1]
parity
error[1]
overrun
error
TxEMTB
TxRDYB
RxFULLB
RxRDYB
[1] These status bits are appended to the corresponding data character in the receive FIFO. A read of the
status provides these bits [7:5] from the top of the FIFO together with bits [4:0]. These bits are cleared by a
reset error status command. In character mode they are discarded when the corresponding data character
is read from the FIFO. In block error mode, the error-reset command (command 0x4 or receiver reset) must
used to clear block error conditions.
The bit definitions for this register are identical to the bit definitions for SRA, except that all
status applies to the channel B receiver and transmitter and the corresponding inputs and
outputs.
7.3.5 Output Configuration Control Register (OPCR)
This register controls the signal presented by the OP[7:2] pins. The signal presented by
the OP[1:0] pins is controlled by the Rx, Tx, and the command register. The default
condition of the OP pins is to drive the complement of the data in the OPR[7:0] register.
When OP[7:2] pins drive DMA or interrupt type signals, they switch to open-drain
configuration. Otherwise, they drive strong logic 0 or logic 1 levels.
Table 44. OPCR - Output configuration control register (address 0xD) bit allocation
7
6
5
4
3
2
1
0
configure configure configure configure
OP7 OP6 OP5 OP4
configure OP3
configure OP2
Table 45. OPCR - Output configuration control register (address 0xD) bit description
Bit
Symbol Description
OP7 output select
7
-
-
-
-
0 = The complement of OPR[7]
1 = The channel B transmitter interrupt output which is the complement of
ISR[4]. When in this mode OP7 acts as an open-drain output. Note that
this output is not masked by the contents of the IMR.
6
5
4
OP6 output select
0 = The complement of OPR[6]
1 = The channel A transmitter interrupt output which is the complement of
ISR[0]. When in this mode OP6 acts as an open-drain output. Note that
this output is not masked by the contents of the IMR.
OP5 output select
0 = The complement of OPR[5]
1 = The channel B receiver interrupt output which is the complement of
ISR[5]. When in this mode OP5 acts as an open-drain output. Note that
this output is not masked by the contents of the IMR.
OP4 output select
0 = The complement of OPR[4]
1 = The channel A receiver interrupt output which is the complement of
ISR[1]. When in this mode OP4 acts as an open-drain output. Note that
this output is not masked by the contents of the IMR.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
39 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
Table 45. OPCR - Output configuration control register (address 0xD) bit description
Bit
Symbol Description
- OP3 output select
3 and 2
00 = The complement of OPR[3]
01 = The counter/timer output, in which case OP3 acts as an open-drain
output. In the timer mode, this output is a square wave at the programmed
frequency. In the counter mode, the output remains HIGH until terminal
count is reached, at which time it goes LOW. The output returns to the
HIGH state when the counter is stopped by a stop counter command. Note
that this output is not masked by the contents of the IMR.
10 = The 1× clock for the channel B transmitter, which is the clock that
shifts the transmitted data. If data is not being transmitted, a free running
1× clock is output.
11 = The 1× clock for the channel B receiver, which is the clock that
samples the received data. If data is not being received, a free running 1×
clock is output.
1 and 0
-
OP2 output select
00 = The complement of OPR[2]
01 = The 16× clock for the channel A transmitter. This is the clock selected
by CSRA[3:0], and will be a 1× clock if CSRA[3:0] = 1111.
10 = The 1× clock for the channel A transmitter, which is the clock that
shifts the transmitted data. If data is not being transmitted, a free running
1× clock is output.
11 = The 1× clock for the channel A receiver, which is the clock that
samples the received data. If data is not being received, a free running 1×
clock is output.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
40 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
7.3.6 Set Output Port bits Register (SOPR)
Ones in the byte written to this register will cause the corresponding bit positions in the
OPR to set to 1. Zeros have no effect. This allows software to set individual bits without
keeping a copy of the OPR bit configuration.
Table 46. SOPR - Set output port bits register (address 0xE) bit allocation
7
6
5
4
3
2
1
0
set OP7
set OP6
set OP5
set OP4
set OP3
set OP2
set OP1
set OP0
Table 47. SOPR - Set output port bits register (address 0xE) bit description
Bit
Symbol
Description
OPR 7
7
-
1 = set bit
0 = no change
OPR 6
6
5
4
3
2
1
0
-
-
-
-
-
-
-
1 = set bit
0 = no change
OPR 5
1 = set bit
0 = no change
OPR 4
1 = set bit
0 = no change
OPR 3
1 = set bit
0 = no change
OPR 2
1 = set bit
0 = no change
OPR 1
1 = set bit
0 = no change
OPR 0
1 = set bit
0 = no change
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
41 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
7.3.7 Reset Output Port bits Register (ROPR)
Ones in the byte written to the ROPR will cause the corresponding bit positions in the
OPR to set to 0. Zeros have no effect. This allows software to reset individual bits without
keeping a copy of the OPR bit configuration.
Table 48. ROPR - Reset output port bits register (address 0xF) bit allocation
7
6
5
4
3
2
1
0
reset OP7 reset OP6 reset OP5 reset OP4 reset OP3 reset OP2 reset OP1 reset OP0
Table 49. ROPR - Reset output port bits register (address 0xF) bit description
Bit
Symbol
Description
OPR 7
7
-
1 = reset bit
0 = no change
OPR 6
6
5
4
3
2
1
0
-
-
-
-
-
-
-
1 = reset bit
0 = no change
OPR 5
1 = reset bit
0 = no change
OPR 4
1 = reset bit
0 = no change
OPR 3
1 = set bit
0 = no change
OPR 2
1 = reset bit
0 = no change
OPR 1
1 = reset bit
0 = no change
OPR 0
1 = reset bit
0 = no change
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
42 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
7.3.8 Output Port Register (OPR)
Table 50. OPR - Output port register (no address) bit allocation
The output pins (OP pins) drive the complement of the data in this register as controlled by SOPR
and ROPR.
7
6
5
4
3
2
1
0
OP7
OP6
OP5
OP4
OP3
OP2
OP1
OP0
Table 51. OPR - Output port register (no address) bit description
Bit
Symbol
Description
pin OP7
7
-
0 = pin HIGH
1 = pin LOW
pin OP6
6
5
4
3
2
1
0
-
-
-
-
-
-
-
0 = pin HIGH
1 = pin LOW
pin OP5
0 = pin HIGH
1 = pin LOW
pin OP4
0 = pin HIGH
1 = pin LOW
pin OP3
0 = pin HIGH
1 = pin LOW
pin OP2
0 = pin HIGH
1 = pin LOW
pin OP1
0 = pin HIGH
1 = pin LOW
pin OP0
0 = pin HIGH
1 = pin LOW
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
43 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
7.3.9 Auxiliary Control Register (ACR)
Table 52. ACR - Auxiliary control register (address 0x4) bit allocation
7
6
5
4
3
2
1
0
BRG set
select
counter/timer mode and clock source select
enable IP3
enable IP2
enable IP1
enable IP0
COS interrupt COS interrupt COS interrupt COS interrupt
Table 53. ACR - Auxiliary control register (address 0x4) bit description
Bit
Symbol Description
7
-
Baud rate generator set select.
This bit selects one of two sets of baud rates to be generated by the BRG (see
Table 35).
The selected set of rates is available for use by the channel A and B receivers
and transmitters as described for CSRA in Table 34 and for CSRB in Table 37.
Baud rate generator characteristics are given in Table 36.
6 to 4
3 to 0
-
-
Counter/timer mode and clock source select.
This field selects the operating mode of the counter/timer and its clock source
as shown in Table 54.
IP3, IP2, IP1 and IP0 change-of-state interrupt enable.
0 = off
1 = enabled
This field selects which bits of the input port change register (IPCR) cause the
input change bit in the interrupt status register (ISR [7]) to be set. If a bit is in
the enabled state the setting of the corresponding bit in the IPCR will also
result in the setting of ISR [7], which results in the generation of an interrupt
output if IMR [7] = 1. If a bit is in the off state, the setting of that bit in the IPCR
has no effect on ISR [7].
Table 54. ACR[6:4] field definition[1]
ACR[6:4]
000
Mode
counter
counter
counter
counter
timer
Clock source
external (IP2)
001
TxCA - 1× clock of channel A transmitter
TxCB - 1× clock of channel B transmitter
crystal or external clock (X1/CLK) divided by 16
external (IP2)
010
011
100
101
timer
external (IP2) divided by 16
110
timer
crystal or external clock (X1/CLK)
crystal or external clock (X1/CLK) divided by 16
111
timer
[1] The timer mode generates a square wave.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
44 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
7.3.10 Input Port Change Register (IPCR)
Table 55. IPCR - Input port change register (address 0x4) bit allocation
7
6
5
4
3
2
1
0
delta IP3
delta IP2
delta IP1
delta IP0
state of
IP3
state of
IP2
state of
IP1
state of
IP0
Table 56. IPCR - Input port change register (address 0x4) bit description
Bit
Symbol Description
- IP3, IP2, IP1 and IP0 change of state.
7 to 4
0 = no change
1 = change
These bits are set when a change of state, as defined in Section 6.2.9 “Input
port”, occurs at the respective input pins. They are cleared when the IPCR is
read by the CPU. A read of the IPCR also clears ISR[7], the input change bit in
the interrupt status register. The setting of these bits can be programmed to
generate an interrupt to the CPU.
3 to 0
-
IP3, IP2, IP1 and IP0 state.
0 = LOW
1 = HIGH
These bits provide the current state of the respective inputs. The information is
unlatched and reflects the state of the input pins at the time the IPCR is read.
7.3.11 Interrupt Status Register (ISR)
This register provides the status of all potential interrupt sources. The contents of this
register are masked by the Interrupt Mask Register (IMR). If a bit in the ISR is a logic 1
and the corresponding bit in the IMR is also a logic 1, the INTRN output will be asserted
(LOW). If the corresponding bit in the IMR is a zero, the state of the bit in the ISR has no
effect on the INTRN output. Note that the IMR does not mask the reading of the ISR. The
true status will be provided regardless of the contents of the IMR. The contents of this
register are initialized to 0x0 when the DUART is reset.
Table 57. ISR - Interrupt status register (address 0x5) bit allocation
7
6
5
4
3
2
1
0
change
input port
change
break B
RxRDYB
TxRDYB
counter
ready
change
break A
RxRDYA
TxRDYA
Table 58. ISR - Interrupt status register (address 0x5) bit description
Bit Symbol Description
7
-
Input port change status.
0 = not active
1 = active
This bit is a logic 1 when a change of state has occurred at the IP0, IP1, IP2, or
IP3 inputs and that event has been selected to cause an interrupt by the
programming of ACR[3:0]. The bit is cleared when the CPU reads the IPCR.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
45 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
Table 58. ISR - Interrupt status register (address 0x5) bit description …continued
Bit Symbol Description
6
-
Channel B change in break.
0 = not active
1 = active
This bit, when set, indicates that the channel B receiver has detected the
beginning or the end of a received break. It is reset when the CPU issues a
channel B reset break change interrupt command.
5
RxRDYB RxB interrupt.
0 = not active
1 = active
This bit indicates that the channel B receiver is interrupting according to the fill
level programmed by the MR0 and MR1 registers or the watchdog timer has
timed-out. This bit has a different meaning than the receiver ready/full bit in the
status register.
4
3
TxRDYB TxB interrupt.
0 = not active
1 = active
This bit indicates that the channel B transmitter is interrupting according to the
interrupt level programmed in the MR0[5:4] bits. This bit has a different meaning
than the TxRDY bit in the status register.
-
Counter ready.
0 = not active
1 = active
In the counter mode, this bit is set when the counter reaches terminal count and
is reset when the counter is stopped by a stop counter command.
In the timer mode, this bit is set once each cycle of the generated square wave
(every other time that the counter/timer reaches zero count). The bit is reset by a
stop counter command. The command, however, does not stop the
counter/timer.
2
1
-
Channel A change in break.
0 = not active
1 = active
This bit, when set, indicates that the channel A receiver has detected the
beginning or the end of a received break. It is reset when the CPU issues a
channel A reset break change interrupt command.
RxRDYA RxA interrupt.
0 = not active
1 = active
This bit indicates that the channel A receiver is interrupting according to the fill
level programmed by the MR0 and MR1 registers or the watchdog timer has
timed-out. This bit has a different meaning than the receiver ready/full bit in the
status register.
0
TxRDYA TxA interrupt.
0 = not active
1 = active
This bit indicates that the channel A transmitter is interrupting according to the
interrupt level programmed in the MR0[5:4] bits. This bit has a different meaning
than the TxRDY bit in the status register.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
46 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
7.3.12 Interrupt Mask Register (IMR)
The programming of this register selects which bits in the ISR causes an interrupt output.
If a bit in the ISR is a logic 1 and the corresponding bit in the IMR is also a logic 1 the
INTRN output will be asserted. If the corresponding bit in the IMR is a zero, the state of
the bit in the ISR has no effect on the INTRN output. Note that the IMR does not mask the
programmable interrupt outputs OP3 to OP7 or the reading of the ISR.
Table 59. IMR - Interrupt mask register (address 0x5) bit allocation
7
6
5
4
3
2
1
0
input port
change
change
break B
RxRDYB
FFULLB
TxRDYB
counter
ready
change
break A
RxRDYA
FFULLA
TxRDYA
Table 60. IMR - Interrupt mask register (address 0x5) bit description
Bit
Symbol
Description
7
-
Input port change.
0 = not enabled
1 = enabled
6
5
4
3
2
1
0
-
Channel B change in break.
0 = not enabled
1 = enabled
RxRDYB
FFULLB
RxB interrupt.
0 = not enabled
1 = enabled
TxRDYB
TxB interrupt.
0 = not enabled
1 = enabled
-
-
Counter ready.
0 = not enabled
1 = enabled
Channel A change in break.
0 = not enabled
1 = enabled
RxRDYA
FFULLA
RxA interrupt.
0 = not enabled
1 = enabled
TxRDYA
TxA interrupt.
0 = not enabled
1 = enabled
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
47 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
7.3.13 Interrupt Vector Register (IVR; 68xxx mode) or General Purpose register
(GP; 80xxx mode)
This register stores the Interrupt Vector. It is initialized to 0x0F on hardware reset and is
usually changed from this value during initialization of the SC28L92. The contents of this
register will be placed on the data bus when IACKN is asserted LOW or a read of address
0xC is performed.
When not operating in the 68xxx mode, this register may be used as a general purpose
one byte storage register. A convenient use could be to store a shadow of the contents of
another SC28L92 register (IMR, for example).
Table 61. IVR/GP - Interrupt vector register or general purpose register (address 0xC)
bit allocation
7
6
5
4
3
2
1
0
interrupt vector (68xxx mode) or one byte storage (80xxx mode)
7.3.14 Counter/timer registers
Table 62. CTPU - Counter/Timer Preset Upper register (address 0x6) bit description
Bit
Symbol
Description
7:0
-
The upper eight (8) bits for the 16-bit counter/timer preset register
Table 63. CTPL - Counter/Timer preset Lower register (address 0x7) bit description
Bit
Symbol
Description
7:0
-
The lower eight (8) bits for the 16-bit counter/timer preset register
The CTPU and CTPL hold the eight MSBs and eight LSBs, respectively, of the value to be
used by the counter/timer in either the counter or timer modes of operation. The minimum
value which may be loaded into the CTPU/CTPL registers is 0x0002. Note that these
registers are write only and cannot be read by the CPU.
In the timer mode, the C/T generates a square wave whose period is twice the value (in
C/T clock periods) of the CTPU and CTPL. The waveform so generated is often used for a
data clock. The formula for calculating the divisor n to load to the CTPU and CTPL for a
particular 1× data clock is shown in Equation 2.
counter/timer clock frequency
2 × 16 × (desired baud rate)
n =
(2)
----------------------------------------------------------------------------------
Often this division will result in a non-integer number; 26.3, for example. One can only
program integer numbers in a digital divider. Therefore, 26 would be chosen. This gives a
baud rate error of 0.3/26.3 which is 1.14 %; well within the ability asynchronous mode of
operation.
The C/T will not be running until it receives an initial start counter command (read at
address A3 to A0 = 1110). After this, while in timer mode, the C/T will run continuously.
Receipt of a start counter command (read with A3 to A0 = 1110) causes the counter to
terminate the current timing cycle and to begin a new cycle using the values in CTPU and
CTPL. If the value in CTPU and CTPL is changed, the current half-period will not be
affected, but subsequent half periods will be affected.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
48 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
The counter ready status bit (ISR[3]) is set once each cycle of the square wave. The bit is
reset by a stop counter command (read with A3 to A0 = 1111). The command however,
does not stop the C/T. The generated square wave is output on OP3 if it is programmed to
be the C/T output. In the counter mode, the value C/T loaded into CTPU and CTPL by the
CPU is counted down to 0. Counting begins upon receipt of a start counter command.
Upon reaching terminal count 0x0000, the counter ready interrupt bit (ISR[3]) is set. The
counter continues counting past the terminal count until stopped by the CPU. If OP3 is
programmed to be the output of the C/T, the output remains HIGH until terminal count is
reached, at which time it goes LOW. The output returns to the HIGH state and ISR[3] is
cleared when the counter is stopped by a stop counter command. The CPU may change
the values of CTPU and CTPL at any time, but the new count becomes effective only on
the next start counter commands. If new values have not been loaded, the previous count
values are preserved and used for the next count cycle.
In the counter mode, the current value of the upper and lower 8 bits of the counter (CTU,
CTL) may be read by the CPU. It is recommended that the counter be stopped when
reading to prevent potential problems which may occur if a carry from the lower 8 bits to
the upper 8 bits occurs between the times that both halves of the counter are read.
However, note that a subsequent start counter command will cause the counter to begin a
new count cycle using the values in CTPU and CTPL.
When the C/T clock divided by 16 is selected, the maximum divisor becomes 1,048,575.
7.4 Output port notes
The output ports are controlled from four places: the OPCR register, the OPR register, the
MR registers and the command register (except the SCC2681 and SCC68681). The
OPCR register controls the source of the data for the output ports OP2 to OP7. The data
source for output ports OP0 and OP1 is controlled by the MR and CR registers. When the
OPR is the source of the data for the output ports, the data at the ports is inverted from
that in the OPR register.
The content of the OPR register is controlled by the Set Output Port bits command and
the Reset Output Port bits command. These commands are at 0xE and 0xF, respectively.
When these commands are used, action takes place only at the bit locations where ones
exist. For example, a logic 1 in bit location 5 of the data word used with the Set Output
Port bits command will result in OPR5 being set to one. The OP5 would then be set to
logic 0 (VSS). Similarly, a logic 1 in bit position 5 of the data word associated with the
Reset Output Ports bits command would set OPR5 to logic 0 and, hence, the pin OP5 to a
logic 1 (VDD).
7.5 The CTS, RTS, CTS enable Tx signals
Clear To Send (CTS) is usually meant to be a signal to the transmitter meaning that it may
transmit data to the receiver. The CTS input is on pin IP0 for TxA and on IP1 for TxB. The
CTS signal is active LOW; thus, it is called CTSAN for TxA and CTSBN for TxB. RTS is
usually meant to be a signal from the receiver indicating that the receiver is ready to
receive data. It is also active LOW and is, thus, called RTSAN for RxA and RTSBN for
RxB. RTSAN is on pin OP0 and RTSBN is on OP1. A receiver’s RTS output will usually be
connected to the CTS input of the associated transmitter. Therefore, one could say that
RTS and CTS are different ends of the same wire.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
49 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
MR2[4] is the bit that allows the transmitter to be controlled by the CTS pin (IP0 or IP1).
When this bit is set to one AND the CTS input is driven HIGH, the transmitter will stop
sending data at the end of the present character being serialized. It is usually the RTS
output of the receiver that will be connected to the transmitter’s CTS input. The receiver
will set RTS HIGH when the receiver FIFO is full AND the start bit of the 9th or 17th
character is sensed. Transmission then stops with 9 or 17 valid characters in the receiver.
When MR2[4] is set to one, CTSN must be at zero for the transmitter to operate. If MR2[4]
is set to zero, the IP pin will have no effect on the operation of the transmitter. MR1[7] is
the bit that allows the receiver to control OP0. When OP0 (or OP1) is controlled by the
receiver, the meaning of that pin will be.
8. Limiting values
Table 64. Limiting values
In accordance with the Absolute Maximum Rating System (IEC 60134).
Symbol Parameter
Conditions
Min
−40
−65
−0.5
−0.5
Max
+85
Unit
°C
°C
V
[1][2]
Tamb
Tstg
VCC
VS
ambient temperature
storage temperature
voltage from VCC to GND
voltage from any pin to GND
package power dissipation
PLCC44
+150
+7.0
[3]
[3]
VCC + 0.5 V
PD
-
-
-
2.4
W
QFP44
1.78
0.5
W
W
HVQFN48
Pder
dissipation derating factor
PLCC44
above 25 °C
-
-
-
19
14
28
mW/°C
mW/°C
mW/°C
QFP44
HVQFN48
[1] For operation at elevated temperatures, the device must be derated based on 150 °C maximum junction
temperature.
[2] Parameters are valid over specified temperature range.
[3] This product includes circuitry specifically designed for the protection of its internal devices from damaging
effects of excessive static charge. Nonetheless, it is suggested that conventional precautions be taken to
avoid applying any voltages larger than the rated maxima.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
50 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
9. Static characteristics
Table 65. Static characteristics, 5 V operation[1]
VCC = 5 V ± 10 %; Tamb = −40 °C to +85 °C; unless otherwise specified.
Symbol
VIL
Parameter
Conditions
Min
Typ
-
Max Unit
input LOW voltage
input HIGH voltage
-
0.8
V
V
V
V
V
VIH
except pin X1/CLK
pin X1/CLK
2.4
1.5
2.4
0.2
-
0.8VCC
-
-
VOL
VOH
output LOW voltage
output HIGH voltage
IOL = 2.4 mA
0.4
-
[2]
except open-drain outputs;
VCC − 0.5 -
IOH = −400 µA
II(1XPD)
IIL(X1)
IIH(X1)
II
Power-down mode input current VI = 0 V to VCC
on pin X1/CLK
0.5
−130
0
0.05
0.5
0
µA
µA
µA
operating input LOW current on VI = 0 V
pin X1/CLK
-
-
operating input HIGH current on VI = VCC
pin X1/CLK
130
input leakage current
VI = 0 V to VCC
all except input port pins
input port pins
−0.5
−8
-
+0.05 +0.5 µA
+0.05 +0.5 µA
[3]
IOZH
IOZL
IODL
IODH
ICC
output off current HIGH, 3-state VI = VCC
data bus
-
-
-
-
0.5
µA
µA
µA
µA
output off current LOW, 3-state VI = 0 V
data bus
−0.5
−0.5
-
-
open-drain output LOW current VI = 0 V
in off state
-
open-drain output HIGH current VI = VCC
in off state
0.5
[4]
power supply current
CMOS input levels
operating mode
-
-
7
25
5
mA
Power-down mode
≤1
µA
[1] The following conditions apply:
a) Parameters are valid over specified temperature and voltage range.
b) All voltage measurements are referenced to ground. For testing, all inputs swing between 0.4 V and 3.0 V with a transition time of
5 ns maximum. For X1/CLK this swing is between 0.4 V and 0.8VCC. All time measurements are referenced at input voltages of 0.8 V
and 2.0 V, and output voltages of 0.8 V and 2.0 V, as appropriate.
c) Typical values are at 25 °C, typical supply voltages, and typical processing parameters.
[2] Test conditions for outputs: CL = 125 pF, except open-drain outputs. Test conditions for open-drain outputs: CL = 125 pF,
constant current source = 2.6 mA.
[3] Input port pins have active pull-up transistors that will source a typical 2 µA from VCC when the input pins are at VSS. Input port pins at
VCC source 0.0 µA.
[4] All outputs are disconnected. Inputs are switching between CMOS levels of VCC − 0.2 V and VSS + 0.2 V.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
51 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
001aae302
60
t
DD
(ns)
(1)
(2)
40
20
12 pF 30 pF
100 pF 125 pF
230 pF
0
0
40
80
120
160
200
240
C
L
(pF)
(1) VCC = 3.3 V; Tamb = 25 °C
(2) VCC = 5.0 V; Tamb = 25 °C
Bus cycle times:
80xxx mode: tDD + tRWD = 70 ns for VCC = 5 V or 40 ns for VCC = 3.3 V + rise and fall time of control signals.
68xxx mode: tCSC + tDAT + 1 cycle of the X1 clock for = 70 ns for VCC = 5 V + rise and fall time of control signals.
Fig 9. Port timing as a function of capacitive loading at typical conditions
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
52 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
Table 66. Static characteristics, 3.3 V operation[1]
VCC = 3.3 V ± 10 %; Tamb = −40 °C to +85 °C; unless otherwise specified.
Symbol
VIL
Parameter
Conditions
Min
Typ
0.65
1.7
Max
0.2VCC
-
Unit
V
input LOW voltage
input HIGH voltage
output LOW voltage
output HIGH voltage
-
VIH
0.8VCC
-
V
VOL
IOL = 2.4 mA
0.2
0.4
V
[2]
VOH
except open-drain outputs;
VCC − 0.5 VCC − 0.2 -
V
IOH = −400 µA
II(1XPD)
IIL(X1)
IIH(X1)
II
Power-down mode input
current on pin X1/CLK
VI = 0 V to VCC
−0.5
−80
0
+0.05
+0.5
0
µA
µA
µA
operating input LOW current
on pin X1/CLK
VI = 0 V
-
-
operating input HIGH current
on pin X1/CLK
VI = VCC
80
input leakage current
VI = 0 V to VCC
all except input port pins
input port pins
VI = VCC
[3]
[3]
−0.5
−8
-
+0.05
+0.5
-
+0.5
+0.5
0.5
µA
µA
µA
IOZH
IOZL
IODL
IODH
ICC
output off current HIGH,
3-state data bus
output off current LOW, 3-state VI = 0 V
data bus
−0.5
−0.5
-
-
-
-
-
µA
µA
µA
open-drain output LOW current VI = 0 V
in off state
-
open-drain output HIGH
current in off state
VI = VCC
0.5
[4]
power supply current
CMOS input levels
operating mode
-
-
-
5
mA
Power-down mode
≤1
5.0
µA
[1] The following conditions apply:
a) Parameters are valid over specified temperature and voltage range.
b) All voltage measurements are referenced to ground. For testing, all inputs swing between 0.4 V and 3.0 V with a transition time of
5 ns maximum. For X1/CLK this swing is between 0.4 V and 0.8VCC. All time measurements are referenced at input voltages of 0.8 V
and 2.0 V, and output voltages of 0.8 V and 2.0 V, as appropriate.
c) Typical values are at 25 °C, typical supply voltages, and typical processing parameters.
[2] Test conditions for outputs: CL = 125 pF, except interrupt outputs. Test conditions for interrupt outputs: CL = 125 pF,
constant current source = 2.6 mA.
[3] Input port pins have active pull-up transistors that will source a typical 2 µA from VCC when they are at VSS. Input port pins at VCC source
0.0 µA.
[4] All outputs are disconnected. Inputs are switching between CMOS levels of VCC − 0.2 V and VSS + 0.2 V.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
53 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
10. Dynamic characteristics
Table 67. Dynamic characteristics, 5 V operation[1]
VCC = 5.0 V ± 10 %, Tamb = −40 °C to +85 °C, unless otherwise specified.
Symbol Parameter
Conditions
Min
Typ
Max
Unit
Reset timing (see Figure 10)
tRES
reset pulse width
100
18
-
ns
Bus timing[2] (see Figure 11)
tAS
tAH
tCS
tCH
tRW
tDD
A0 to A3 set-up time to RDN, WRN LOW
10
20
0
6
-
ns
ns
ns
ns
ns
ns
A0 to A3 hold time from RDN, WRN LOW
CEN set-up time to RDN, WRN LOW
CEN hold time from RDN, WRN LOW
WRN, RDN pulse width (LOW time)
data valid after RDN LOW
12
-
-
-
0
-
-
15
-
8
-
125 pF load; see Figure 9
for smaller loads
40
55
[3]
[4]
tDA
tDF
tDI
RDN LOW to data bus active
0
-
-
ns
ns
ns
ns
data bus floating after RDN or CEN HIGH
RDN or CEN HIGH to data bus invalid
-
-
20
-
0
-
tDS
data bus set-up time before WRN or CEN
HIGH (write cycle)
25
17
-
tDH
data hold time after WRN HIGH
0
−12
-
-
ns
ns
[2][4]
tRWD
HIGH time between read and/or write
cycles
17
10
Port timing[2] (see Figure 15)
tPS
port in set-up time before RDN LOW
0
−20
-
ns
(Read IP ports cycle)
tPH
tPD
port in hold time after RDN HIGH
0
-
−20
-
ns
ns
OP port valid after WRN or CEN HIGH
(OPR write cycle)
40
60
Interrupt timing (see Figure 16)
tIR
INTRN (or OP3 to OP7 when used as
interrupts)
read Rx FIFO
(RxRDY/FFULL interrupt)
-
-
-
-
-
-
40
40
40
40
40
40
60
60
60
60
60
60
ns
ns
ns
ns
ns
ns
write Tx FIFO (TxRDY
interrupt)
reset command (delta
break change interrupt)
stop C/T command
(counter/timer interrupt
read IPCR (delta input port
change interrupt)
write IMR (clear of change
interrupt mask bit(s))
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
54 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
Table 67. Dynamic characteristics, 5 V operation[1] …continued
VCC = 5.0 V ± 10 %, Tamb = −40 °C to +85 °C, unless otherwise specified.
Symbol Parameter
Conditions
Min
Typ
Max
Unit
Clock timing (see Figure 17)
tCLK
fCLK
tCTC
X1/CLK HIGH or LOW time
30
0.1
30
20
-
ns
[5]
[5]
X1/CLK frequency
3.686
10
8
-
MHz
ns
C/T clock (IP2) HIGH or LOW time (C/T
external clock input)
fCTC
tRX
C/T clock (IP2) frequency
RxC HIGH or LOW time
RxC frequency
0
-
8
MHz
ns
16×
16×
1×
30
0
10
-
-
fRX
16
1
MHz
MHz
ns
[5][6]
[5][6]
0
-
tTX
fTX
TxC HIGH or LOW time
TxC frequency
16×
16×
1×
30
-
10
-
-
16
1
MHz
MHz
0
-
Transmitter timing, external clock (see Figure 18)
tTXD
TxD output delay from TxC LOW (TxC
input pin)
-
-
40
6
60
30
ns
ns
tTCS
output delay from TxC output pin LOW to
TxD data output
Receiver timing, external clock (see Figure 19)
tRXS
tRXH
RxD data set-up time to RxC HIGH
50
50
40
40
-
-
ns
ns
RxD data hold time from RxC HIGH
68xxx or Motorola bus timing (see Figure 12, 13 and 14)[7]
[7]
tDCR
tDCW
tDAT
DACKN LOW (read cycle) from X1 HIGH
DACKN LOW (write cycle) from X1 HIGH
-
-
-
15
15
8
35
35
10
ns
ns
ns
DACKN high-impedance from CEN or
IACKN HIGH
tCSC
CEN or IACKN set-up time to X1 HIGH for
minimum DACKN cycle
16
8
-
ns
[1] The following conditions apply:
a) Parameters are valid over specified temperature and voltage range.
b) All voltage measurements are referenced to ground. For testing, all inputs swing between 0.4 V and 3.0 V with a transition time of
5 ns maximum. For X1/CLK this swing is between 0.4 V and 0.8VCC. All time measurements are referenced at input voltages of 0.8 V
and 2.0 V, and output voltages of 0.8 V and 2.0 V, as appropriate.
c) Test conditions for outputs: CL = 125 pF, except open-drain outputs. Test conditions for open-drain outputs: CL = 125 pF,
constant current source = 2.6 mA.
d) Typical values are the average values at +25 °C and 5 V.
[2] Timing is illustrated and referenced to the WRN and RDN Inputs. Also, CEN may be the strobing input. CEN and RDN (also CEN and
WRN) are ORed internally. The signal asserted last initiates the cycle and the signal negated first terminates the cycle.
[3] Guaranteed by characterization of sample units.
[4] If CEN is used as the strobing input, the parameter defines the minimum HIGH times between one CEN and the next. The RDN signal
must be negated for tRWD to guarantee that any status register changes are valid.
[5] Minimum frequencies are not tested but are guaranteed by design.
[6] Clocks for 1× mode should maintain a 60/40 duty cycle or better.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
55 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
[7] Minimum DACKN time is ((tDCR or tDCW) tCSC + 2 X1 edges + rise time over 5 ns). Two X1 edges is 273 ns at 3.6864 MHz. For faster bus
cycles, the 80xxx bus timing may be used while in the 68xxx mode. It is not necessary to wait for DACKN to insure the proper operation
of the SC26C92. In all cases the data will be written to the SC28L92 on the falling edge of DACKN or the rise of CEN. The fall of CEN
initializes the bus cycle. The rise of CEN ends the bus cycle. DACKN LOW or CEN HIGH completes the write cycle.
Table 68. Dynamic characteristics, 3.3 V operation[1]
VCC = 3.3 V ± 10 %, Tamb = −40 °C to +85 °C, unless otherwise specified.
Symbol Parameter
Conditions
Min
Typ
Max
Unit
Reset timing (see Figure 10)
tRES
reset pulse width
100
20
-
ns
Bus timing[2] (see Figure 11)
tAS
tAH
tCS
tCH
tRW
tDD
A0 to A3 set-up time to RDN, WRN LOW
10
33
0
6
-
ns
ns
ns
ns
ns
ns
A0 to A3 hold time from RDN, WRN LOW
CEN set-up time to RDN, WRN LOW
CEN hold time from RDN, WRN LOW
WRN, RDN pulse width (LOW time)
data valid after RDN LOW
16
-
-
-
0
-
-
20
-
10
46
-
125 pF load; see Figure 9
for smaller loads
75
[3]
[4]
tDA
tDF
tDI
RDN LOW to data bus active
0
-
-
ns
ns
ns
ns
data bus floating after RDN or CEN HIGH
RDN or CEN HIGH to data bus invalid
-
15
-
20
-
0
tDS
data bus set-up time before WRN or CEN
HIGH (write cycle)
43
20
-
tDH
data hold time after WRN HIGH
0
−15
-
-
ns
ns
[2][4]
tRWD
HIGH time between read and/or write
cycles
27
10
Port timing[2] (see Figure 15)
tPS
port in set-up time before RDN LOW
0
−20
-
ns
(Read IP ports cycle)
tPH
tPD
port in hold time after RDN HIGH
0
-
−20
-
ns
ns
OP port valid after WRN or CEN HIGH
(OPR write cycle)
50
75
Interrupt timing (see Figure 16)
tIR
INTRN (or OP3 to OP7 when used as
interrupts)
read Rx FIFO
(RxRDY/FFULL interrupt)
-
-
-
-
-
-
40
40
40
40
40
40
79
79
79
79
79
79
ns
ns
ns
ns
ns
ns
write Tx FIFO (TxRDY
interrupt)
reset command (delta
break change interrupt)
stop C/T command
(counter/timer interrupt
read IPCR (delta input port
change interrupt)
write IMR (clear of change
interrupt mask bit(s))
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
56 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
Table 68. Dynamic characteristics, 3.3 V operation[1] …continued
VCC = 3.3 V ± 10 %, Tamb = −40 °C to +85 °C, unless otherwise specified.
Symbol Parameter
Conditions
Min
Typ
Max
Unit
Clock timing (see Figure 17)
tCLK
fCLK
tCTC
X1/CLK HIGH or LOW time
35
0.1
30
25
-
ns
[5]
[5]
X1/CLK frequency
3.686
15
8
-
MHz
ns
C/T clock (IP2) HIGH or LOW time (C/T
external clock input)
fCTC
tRX
C/T clock (IP2) frequency
RxC HIGH or LOW time
RxC frequency
0
-
8
MHz
ns
16×
16×
1×
30
0
10
-
-
fRX
16
1
MHz
MHz
ns
[5][6]
[5][6]
0
-
tTX
fTX
TxC HIGH or LOW time
TxC frequency
16×
16×
1×
30
-
15
-
-
16
1
MHz
MHz
0
-
Transmitter timing, external clock (see Figure 18)
tTXD
TxD output delay from TxC LOW (TxC
input pin)
-
-
40
8
78
30
ns
ns
tTCS
output delay from TxC output pin LOW to
TxD data output
Receiver timing, external clock (see Figure 19)
tRXS
tRXH
RxD data set-up time to RxC HIGH
50
50
10
10
-
-
ns
ns
RxD data hold time from RxC HIGH
68xxx or Motorola bus timing (see Figure 12, 13 and 14)[7]
[7]
tDCR
tDCW
tDAT
DACKN LOW (read cycle) from X1 HIGH
DACKN LOW (write cycle) from X1 HIGH
-
-
-
18
18
10
57
57
15
ns
ns
ns
DACKN high-impedance from CEN or
IACKN HIGH
tCSC
CEN or IACKN set-up time to X1 HIGH for
minimum DACKN cycle
30
10
-
ns
[1] The following conditions apply:
a) Parameters are valid over specified temperature and voltage range.
b) All voltage measurements are referenced to ground. For testing, all inputs swing between 0.4 V and 3.0 V with a transition time of
5 ns maximum. For X1/CLK this swing is between 0.4 V and 0.8VCC. All time measurements are referenced at input voltages of 0.8 V
and 2.0 V, and output voltages of 0.8 V and 2.0 V, as appropriate.
c) Test conditions for outputs: CL = 125 pF, except open-drain outputs. Test conditions for open-drain outputs: CL = 125 pF,
constant current source = 2.6 mA.
d) Typical values are the average values at +25 °C and 3.3 V.
[2] Timing is illustrated and referenced to the WRN and RDN Inputs. Also, CEN may be the strobing input. CEN and RDN (also CEN and
WRN) are ORed internally. The signal asserted last initiates the cycle and the signal negated first terminates the cycle.
[3] Guaranteed by characterization of sample units.
[4] If CEN is used as the strobing input, the parameter defines the minimum HIGH times between one CEN and the next. The RDN signal
must be negated for tRWD to guarantee that any status register changes are valid.
[5] Minimum frequencies are not tested but are guaranteed by design.
[6] Clocks for 1× mode should maintain a 60/40 duty cycle or better.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
57 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
[7] Minimum DACKN time is ((tDCR or tDCW) tCSC + 2 X1 edges + rise time over 5 ns). Two X1 edges is 273 ns at 3.6864 MHz. For faster bus
cycles, the 80xxx bus timing may be used while in the 68xxx mode. It is not necessary to wait for DACKN to insure the proper operation
of the SC26C92. In all cases the data will be written to the SC28L92 on the falling edge of DACKN or the rise of CEN. The fall of CEN
initializes the bus cycle. The rise of CEN ends the bus cycle. DACKN LOW or CEN HIGH completes the write cycle.
11. Timing diagrams
t
RES
RESET
RESETN
t
RES
001aae304
001aae303
a. 80xxx mode
b. 68xxx mode
Fig 10. Reset timing
A0 to A3
CEN
t
AS
t
AH
t
CS
t
CS
t
t
RWD
RW
RDN
t
t
DF
DD
D0 to D7
(read)
float
not valid
valid
float
t
RWD
WDN
t
DS
t
DH
D0 to D7
(write)
valid
001aae305
Fig 11. Bus timing (80xxx mode)
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
58 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
t
CSC
X1/CLK
A0 to A3
R/WN
t
AS
t
t
CH
CS
t
t
AH
RWD
CEN
t
t
DD
DF
D0 to D7
not valid
data valid
t
DAH
t
DA
DACKN
t
t
DAT
DCR
001aae306
DACKN LOW requires two rising edges of X1 clock after CEN is LOW.
Fig 12. Bus timing, read cycle (68xxx mode)
t
CSC
X1/CLK
A0 to A3
R/WN
t
AS
t
t
CH
CS
t
t
RWD
AH
CEN
t
t
DH
DS
D0 to D7
t
DAH
DACKN
t
t
DAT
DCW
001aae308
DACKN LOW requires two rising edges of X1 clock after CEN is LOW.
Fig 13. Bus timing, write cycle (68xxx mode)
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
59 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
t
CSC
X1/CLK
INTRN
IACKN
t
t
DF
DD
D0 to D7
t
DCR
t
DAH
DACKN
t
t
t
DAT
DAL
CSD
001aae309
DACKN LOW requires two rising edges of X1 clock after CEN is LOW.
Fig 14. Interrupt cycle timing (68xxx mode)
RDN
t
t
PS
PH
IP0 to IP6
001aae311
a. Input pins.
WRN
t
PD
old data
new data
OP0 to OP6
001aae312
b. Output pins.
Fig 15. Port timing
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
60 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
V
M
WRN
(1)
t
IR
V
+ 0.5 V
interrupt output
OL
V
OL
V
RDN
(1)
M
t
IR
V
+ 0.5 V
interrupt output
OL
V
OL
001aae313
The test for open-drain outputs is intended to guarantee switching of the output transistor.
Measurement of this response is referenced from the midpoint of the switching signal, VM, to a
point 0.2 V above VOL. This point represents noise margin that assures true switching has
occurred. Beyond this level, the effects of external circuitry and test environment are
pronounced and can greatly affect the resultant measurement.
(1) IRQN or OP3 to OP7 when used as interrupt outputs.
Fig 16. Interrupt timing (80xxx mode)
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
61 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
t
t
CLK
V
CC
CTC
t
t
RX
resistor required
for TTL input
470 Ω
TX
X1/CLK
C/T clock
RxC
CLK
X1
TxC
t
CLK
t
CTC
X2
t
RX
(must be left open)
t
TX
3 pF
SC28L92
parasitic capacitance
X1
2 pF
C1
50 kΩ
to
3.6864 MHz
100 kΩ
C2
4 pF
X2
to UART circuit
001aae314
3 pF
parasitic capacitance
C1 = C2 24 pF for CL = 13.5 pF. For the oscillator feedback loop, the capacitors C1 and C2 are in series.
C1 and C2 should be chosen according to the crystal manufacturer’s specification.
C1 and C2 values will include any parasitic capacitance of the wiring and X1, X2 pins.
Package capacitance approximately 4 pF.
Fig 17. Clock timing
1 bit time
(1 or 16 clocks)
TxC
(input)
t
TXD
TxD
t
TCS
TxC
(1× output)
001aae315
Fig 18. Transmitter external clocks
RxC
(1× input)
t
t
RXH
RXS
RxD
001aae316
Fig 19. Receiver external clock
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
62 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
break
D1
D2
D3
D4
D6
TxD
transmitter
enabled
TxRDY
(SR2)
WRN
D1
D8
D9
start
break
D10
stop
break
D11 will not
be written to
the TxFIFO
D12
(1)
CTSN
(IP0)
(2)
RTSN
(OP0)
OPR(0) = 1
OPR(0) = 1
001aae317
(1) Timing shown for MR2[4] = 1.
(2) Timing shown for MR2[5] = 1.
Fig 20. Transmitter timing
D1
D2
D8
D9
D10
D11
D12
D13
RxD
D12, D13 will be lost
due to receiver disable
receiver
enabled
RxRDY
(SR)
FFULL
(CR)
RxRDY/
FFULL
(2)
(OP5)
RDN
status data
D1
status data status data status data
D11 will be lost
due to overrun
D2
D3
D10
reset by command
OVERRUN
(SR)
(1)
RTS
(OP0)
001aae318
OPR[0] = 1
(1) Timing shown for MR1[7] = 1.
(2) Shown for OPCR[4] = 1 and MR[6] = 0.
Fig 21. Receiver timing
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
63 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
master station:
TxD
bit 9
1
bit 9
1
bit 9
0
ADD#1
D0
ADD#2
transmitter
enabled
TxRDY
(SR)
WRN
MR1[4:3] = 11 ADD#1
MR1[2] = 1
ADD#2
D0
MR1[2] = 0
MR1[2] = 1
peripheral station:
bit 9
bit 9
ADD#1 1
bit 9
bit 9
ADD#2 1
bit 9
0
RxD
0
D0
0
receiver
enabled
RxRDY
(SR)
RDN/WRN
status data
D0
status data
ADD#2
MR1[4:3] = 11
ADD#1
001aae319
Fig 22. Wake-up mode timing
12. Test information
I = 2.4 mA
INTRN
DACKN
+5 V
125 pF
I = 2.4 mA V return to V for a 0 level
OL
CC
D0 to D7
TxDA/TxDB
OP0 to OP7
I = 400 µA V
return to V for a 1 level
OH
SS
125 pF
001aae320
Fig 23. Test conditions on outputs
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
64 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
13. Package outline
PLCC44: plastic leaded chip carrier; 44 leads
SOT187-2
e
e
D
E
y
X
A
39
29
b
p
Z
E
28
40
b
1
w
M
44
1
H
E
E
pin 1 index
A
A
1
A
4
e
(A )
3
6
18
β
L
p
k
detail X
7
17
v
M
A
e
Z
D
D
B
H
v
M
B
D
0
5
10 mm
scale
DIMENSIONS (mm dimensions are derived from the original inch dimensions)
(1)
(1)
A
A
Z
Z
E
4
1
(1)
(1)
D
UNIT
mm
A
A
b
D
E
e
e
e
H
H
k
L
p
v
w
y
β
b
3
1
D
E
D
E
p
max.
min.
max. max.
4.57
4.19
0.81 16.66 16.66
0.66 16.51 16.51
16.00 16.00 17.65 17.65 1.22 1.44
14.99 14.99 17.40 17.40 1.07 1.02
0.53
0.33
0.51 0.25 3.05
0.02 0.01 0.12
1.27
0.05
0.18 0.18
0.1
2.16 2.16
o
45
0.180
0.165
0.032 0.656 0.656
0.026 0.650 0.650
0.63 0.63 0.695 0.695 0.048 0.057
0.59 0.59 0.685 0.685 0.042 0.040
0.021
0.013
inches
0.007 0.007 0.004 0.085 0.085
Note
1. Plastic or metal protrusions of 0.25 mm (0.01 inch) maximum per side are not included.
REFERENCES
OUTLINE
EUROPEAN
PROJECTION
ISSUE DATE
VERSION
IEC
JEDEC
JEITA
99-12-27
01-11-14
SOT187-2
112E10
MS-018
EDR-7319
Fig 24. Package outline SOT187-2 (PLCC44)
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
65 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
QFP44: plastic quad flat package; 44 leads (lead length 1.3 mm); body 10 x 10 x 1.75 mm
SOT307-2
y
X
A
33
23
34
22
Z
E
e
H
E
E
A
2
A
(A )
3
A
1
w M
θ
b
p
L
p
pin 1 index
L
12
44
detail X
1
11
w M
Z
v
M
A
D
b
p
e
D
B
H
v
M
B
D
0
2.5
scale
5 mm
DIMENSIONS (mm are the original dimensions)
A
(1)
(1)
(1)
(1)
UNIT
A
A
A
b
c
D
E
e
H
D
H
L
L
v
w
y
Z
Z
θ
1
2
3
p
E
p
D
E
max.
10o
0o
0.25 1.85
0.05 1.65
0.4 0.25 10.1 10.1
0.2 0.14 9.9 9.9
12.9 12.9
12.3 12.3
0.95
0.55
1.2
0.8
1.2
0.8
mm
2.1
0.25
0.8
1.3
0.15 0.15
0.1
Note
1. Plastic or metal protrusions of 0.25 mm maximum per side are not included.
REFERENCES
OUTLINE
EUROPEAN
PROJECTION
ISSUE DATE
VERSION
IEC
JEDEC
JEITA
97-08-01
03-02-25
SOT307-2
Fig 25. Package outline SOT307-2 (QFP44)
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
66 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
HVQFN48: plastic thermal enhanced very thin quad flat package; no leads;
48 terminals; body 6 x 6 x 0.85 mm
SOT778-4
D
B
A
terminal 1
index area
E
A
A
1
c
detail X
C
e
1
y
C
1
y
M
M
v
C
C
A
B
b
e
1/2 e
w
13
24
L
25
12
e
e
2
E
h
1/2 e
1
36
terminal 1
index area
48
37
X
D
h
0
2.5
scale
5 mm
DIMENSIONS (mm are the original dimensions)
(1)
A
(1)
(1)
UNIT
A
b
c
D
D
h
E
E
e
e
1
e
2
L
v
w
y
y
1
1
h
max
0.05 0.25
0.00 0.15
6.1
5.9
4.75
4.45
6.1
5.9
4.75
4.45
0.5
0.3
1
mm
0.2
0.4
4.4
4.4
0.1
0.05 0.05
0.1
Note
1. Plastic or metal protrusions of 0.075 mm maximum per side are not included
REFERENCES
OUTLINE
VERSION
EUROPEAN
PROJECTION
ISSUE DATE
IEC
JEDEC
JEITA
- - -
04-07-30
04-10-07
SOT778-4
- - -
- - -
Fig 26. Package outline SOT778-4 (HVQFN48)
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
67 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
14. Soldering
This text provides a very brief insight into a complex technology. A more in-depth account
of soldering ICs can be found in Application Note AN10365 “Surface mount reflow
soldering description”.
14.1 Introduction to soldering
Soldering is one of the most common methods through which packages are attached to
Printed Circuit Boards (PCBs), to form electrical circuits. The soldered joint provides both
the mechanical and the electrical connection. There is no single soldering method that is
ideal for all IC packages. Wave soldering is often preferred when through-hole and
Surface Mount Devices (SMDs) are mixed on one printed wiring board; however, it is not
suitable for fine pitch SMDs. Reflow soldering is ideal for the small pitches and high
densities that come with increased miniaturization.
14.2 Wave and reflow soldering
Wave soldering is a joining technology in which the joints are made by solder coming from
a standing wave of liquid solder. The wave soldering process is suitable for the following:
• Through-hole components
• Leaded or leadless SMDs, which are glued to the surface of the printed circuit board
Not all SMDs can be wave soldered. Packages with solder balls, and some leadless
packages which have solder lands underneath the body, cannot be wave soldered. Also,
leaded SMDs with leads having a pitch smaller than ~0.6 mm cannot be wave soldered,
due to an increased probability of bridging.
The reflow soldering process involves applying solder paste to a board, followed by
component placement and exposure to a temperature profile. Leaded packages,
packages with solder balls, and leadless packages are all reflow solderable.
Key characteristics in both wave and reflow soldering are:
• Board specifications, including the board finish, solder masks and vias
• Package footprints, including solder thieves and orientation
• The moisture sensitivity level of the packages
• Package placement
• Inspection and repair
• Lead-free soldering versus PbSn soldering
14.3 Wave soldering
Key characteristics in wave soldering are:
• Process issues, such as application of adhesive and flux, clinching of leads, board
transport, the solder wave parameters, and the time during which components are
exposed to the wave
• Solder bath specifications, including temperature and impurities
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
68 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
14.4 Reflow soldering
Key characteristics in reflow soldering are:
• Lead-free versus SnPb soldering; note that a lead-free reflow process usually leads to
higher minimum peak temperatures (see Figure 27) than a PbSn process, thus
reducing the process window
• Solder paste printing issues including smearing, release, and adjusting the process
window for a mix of large and small components on one board
• Reflow temperature profile; this profile includes preheat, reflow (in which the board is
heated to the peak temperature) and cooling down. It is imperative that the peak
temperature is high enough for the solder to make reliable solder joints (a solder paste
characteristic). In addition, the peak temperature must be low enough that the
packages and/or boards are not damaged. The peak temperature of the package
depends on package thickness and volume and is classified in accordance with
Table 69 and 70
Table 69. SnPb eutectic process (from J-STD-020C)
Package thickness (mm) Package reflow temperature (°C)
Volume (mm3)
< 350
235
≥ 350
220
< 2.5
≥ 2.5
220
220
Table 70. Lead-free process (from J-STD-020C)
Package thickness (mm) Package reflow temperature (°C)
Volume (mm3)
< 350
260
350 to 2000
> 2000
260
< 1.6
260
250
245
1.6 to 2.5
> 2.5
260
245
250
245
Moisture sensitivity precautions, as indicated on the packing, must be respected at all
times.
Studies have shown that small packages reach higher temperatures during reflow
soldering, see Figure 27.
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
69 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
maximum peak temperature
= MSL limit, damage level
temperature
minimum peak temperature
= minimum soldering temperature
peak
temperature
time
001aac844
MSL: Moisture Sensitivity Level
Fig 27. Temperature profiles for large and small components
For further information on temperature profiles, refer to Application Note AN10365
“Surface mount reflow soldering description”.
15. Abbreviations
Table 71. Abbreviations
Acronym
DMA
UART
FIFO
CPU
Description
Direct Memory Access
Universal Asynchronous Receiver/Transmitter
First In/First Out
Central Processing Unit
Change Of State
COS
BRG
Baud Rate Generator
MIDI
Musical Instrument Digital Interface
Counter/Timer
C/T
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
70 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
16. Revision history
Table 72. Revision history
Document ID
SC28L92_7
Release date
20071219
Data sheet status
Change notice
Supersedes
Product data sheet
-
SC28L92_6
Modifications:
• The format of this data sheet has been redesigned to comply with the new identity
guidelines of NXP Semiconductors.
• Legal texts have been adapted to the new company name where appropriate.
• added HVQFN48 package option
• Figure 1 “Block diagram (80xxx mode)” modified:
–
reversed position of “control” and “timing” notations
–
reversed direction of signals IP0 to IP6
• Figure 2 “Block diagram (68xxx mode)” modified:
–
–
–
–
–
–
corrected pin name from “RDN” to “R/WN”
corrected pin name from “WRN” to “IACKN”
corrected pin name from “RESET” to “RESETN”
added signal DACKN
reversed position of “control” and “timing” notations
reversed direction of signals IP0 to IP5
• Section 6.1.4 “FIFO configuration”:
–
–
–
1st paragraph, 4th sentence: changed “MR0[3] bit” to “MR0A[3] bit”
1st paragraph, added new 6th sentence
2
nd paragraph: changed “MR0[3] bit” to “MR0A[3] bit”
• Table 24 “MR0A - Mode Register 0 channel A (address 0x0) bit description”:
–
description for bit 3: added “for channel A and channel B”
–
description for bits [2:0]: in last line of description, changed “MR2[2:0]” to “MR0[2:0]”
• Table 25:
–
added Table note 1
–
removed “(default)” (2 places)
• Table 26:
–
added Table note 1
–
removed “(default)” (2 places)
• Section 7.3.1.4 “Mode Register 0 channel B (MR0B)”, 2nd paragraph re-written.
• Table 64 “Limiting values”: added specifications for HVQFN48 package
SC28L92_6
20060426
20040907
20000121
19990507
19981005
-
Product data sheet
Product specification
Product specification
Product specification
Preliminary specification
-
-
-
-
-
-
-
SC28L92_5
(9397 750 13125)
SC28L92_5
(9397 750 13125)
SC28L92_4
(9397 750 06796)
SC28L92_4
(9397 750 06796)
SC28L92_3
(9397 750 05979)
SC28L92_3
(9397 750 05979)
SC28L92_2
(9397 750 04465)
SC28L92_2
(9397 750 04465)
SC28L92_1
-
SC28L92_1
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
71 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
17. Legal information
17.1 Data sheet status
Document status[1][2]
Product status[3]
Development
Definition
Objective [short] data sheet
This document contains data from the objective specification for product development.
This document contains data from the preliminary specification.
This document contains the product specification.
Preliminary [short] data sheet Qualification
Product [short] data sheet Production
[1]
[2]
[3]
Please consult the most recently issued document before initiating or completing a design.
The term ‘short data sheet’ is explained in section “Definitions”.
The product status of device(s) described in this document may have changed since this document was published and may differ in case of multiple devices. The latest product status
information is available on the Internet at URL http://www.nxp.com.
malfunction of an NXP Semiconductors product can reasonably be expected
17.2 Definitions
to result in personal injury, death or severe property or environmental
damage. NXP Semiconductors accepts no liability for inclusion and/or use of
NXP Semiconductors products in such equipment or applications and
therefore such inclusion and/or use is at the customer’s own risk.
Draft — The document is a draft version only. The content is still under
internal review and subject to formal approval, which may result in
modifications or additions. NXP Semiconductors does not give any
representations or warranties as to the accuracy or completeness of
information included herein and shall have no liability for the consequences of
use of such information.
Applications — Applications that are described herein for any of these
products are for illustrative purposes only. NXP Semiconductors makes no
representation or warranty that such applications will be suitable for the
specified use without further testing or modification.
Short data sheet — A short data sheet is an extract from a full data sheet
with the same product type number(s) and title. A short data sheet is intended
for quick reference only and should not be relied upon to contain detailed and
full information. For detailed and full information see the relevant full data
sheet, which is available on request via the local NXP Semiconductors sales
office. In case of any inconsistency or conflict with the short data sheet, the
full data sheet shall prevail.
Limiting values — Stress above one or more limiting values (as defined in
the Absolute Maximum Ratings System of IEC 60134) may cause permanent
damage to the device. Limiting values are stress ratings only and operation of
the device at these or any other conditions above those given in the
Characteristics sections of this document is not implied. Exposure to limiting
values for extended periods may affect device reliability.
Terms and conditions of sale — NXP Semiconductors products are sold
subject to the general terms and conditions of commercial sale, as published
at http://www.nxp.com/profile/terms, including those pertaining to warranty,
intellectual property rights infringement and limitation of liability, unless
explicitly otherwise agreed to in writing by NXP Semiconductors. In case of
any inconsistency or conflict between information in this document and such
terms and conditions, the latter will prevail.
17.3 Disclaimers
General — Information in this document is believed to be accurate and
reliable. However, NXP Semiconductors does not give any representations or
warranties, expressed or implied, as to the accuracy or completeness of such
information and shall have no liability for the consequences of use of such
information.
No offer to sell or license — Nothing in this document may be interpreted
or construed as an offer to sell products that is open for acceptance or the
grant, conveyance or implication of any license under any copyrights, patents
or other industrial or intellectual property rights.
Right to make changes — NXP Semiconductors reserves the right to make
changes to information published in this document, including without
limitation specifications and product descriptions, at any time and without
notice. This document supersedes and replaces all information supplied prior
to the publication hereof.
17.4 Trademarks
Notice: All referenced brands, product names, service names and trademarks
are the property of their respective owners.
Suitability for use — NXP Semiconductors products are not designed,
authorized or warranted to be suitable for use in medical, military, aircraft,
space or life support equipment, nor in applications where failure or
18. Contact information
For additional information, please visit: http://www.nxp.com
For sales office addresses, send an email to: salesaddresses@nxp.com
SC28L92_7
© NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 07 — 19 December 2007
72 of 73
SC28L92
NXP Semiconductors
3.3 V/5.0 V Dual Universal Asynchronous Receiver/Transmitter
19. Contents
1
2
3
4
General description . . . . . . . . . . . . . . . . . . . . . . 1
7.3.2
Clock select registers . . . . . . . . . . . . . . . . . . . 33
Clock Select Register channel A (CSRA). . . . 33
Clock Select Register channel B (CSRB). . . . 34
Command registers . . . . . . . . . . . . . . . . . . . . 35
Command Register channel A (CRA) . . . . . . 35
Command Register channel B (CRB) . . . . . . 36
Status registers . . . . . . . . . . . . . . . . . . . . . . . 37
Status Register channel A (SRA). . . . . . . . . . 37
Status Register channel B (SRB). . . . . . . . . . 39
Output Configuration Control Register
(OPCR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Set Output Port bits Register (SOPR) . . . . . . 41
Reset Output Port bits Register (ROPR) . . . . 42
Output Port Register (OPR) . . . . . . . . . . . . . . 43
Auxiliary Control Register (ACR) . . . . . . . . . . 44
Input Port Change Register (IPCR) . . . . . . . . 45
Interrupt Status Register (ISR). . . . . . . . . . . . 45
Interrupt Mask Register (IMR) . . . . . . . . . . . . 47
Interrupt Vector Register (IVR; 68xxx mode)
or General Purpose register
7.3.2.1
7.3.2.2
7.3.3
7.3.3.1
7.3.3.2
7.3.4
7.3.4.1
7.3.4.2
7.3.5
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Ordering information. . . . . . . . . . . . . . . . . . . . . 3
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 4
5
5.1
5.2
Pinning information. . . . . . . . . . . . . . . . . . . . . . 6
Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 9
6
6.1
Functional description . . . . . . . . . . . . . . . . . . 13
Block diagram. . . . . . . . . . . . . . . . . . . . . . . . . 13
Data bus buffer . . . . . . . . . . . . . . . . . . . . . . . . 13
Operation control . . . . . . . . . . . . . . . . . . . . . . 13
Interrupt control . . . . . . . . . . . . . . . . . . . . . . . 13
FIFO configuration . . . . . . . . . . . . . . . . . . . . . 14
68xxx mode . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Timing circuits. . . . . . . . . . . . . . . . . . . . . . . . . 14
Crystal clock . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Baud rate generator . . . . . . . . . . . . . . . . . . . . 15
Counter/timer . . . . . . . . . . . . . . . . . . . . . . . . . 15
Timer mode. . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Counter mode. . . . . . . . . . . . . . . . . . . . . . . . . 16
Time-out mode . . . . . . . . . . . . . . . . . . . . . . . . 16
Time-out mode caution. . . . . . . . . . . . . . . . . . 17
Communications channels A and B . . . . . . . . 17
Input port . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Output port . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Transmitter . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Receiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Transmitter reset and disable . . . . . . . . . . . . . 19
Receiver FIFO . . . . . . . . . . . . . . . . . . . . . . . . 20
Receiver status bits . . . . . . . . . . . . . . . . . . . . 20
Receiver reset and disable . . . . . . . . . . . . . . . 20
Watchdog . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Receiver time-out mode . . . . . . . . . . . . . . . . . 21
Time-out mode caution. . . . . . . . . . . . . . . . . . 22
Multi-drop mode (9-bit or wake-up). . . . . . . . . 22
6.1.1
6.1.2
6.1.3
6.1.4
6.1.5
6.2
6.2.1
6.2.2
6.2.3
6.2.4
6.2.5
6.2.6
6.2.7
6.2.8
6.2.9
6.2.10
6.3
6.3.1
6.3.2
6.3.3
6.3.4
6.3.5
6.3.6
6.3.7
6.3.8
6.3.9
6.3.10
7.3.6
7.3.7
7.3.8
7.3.9
7.3.10
7.3.11
7.3.12
7.3.13
(GP; 80xxx mode) . . . . . . . . . . . . . . . . . . . . . 48
Counter/timer registers. . . . . . . . . . . . . . . . . . 48
Output port notes . . . . . . . . . . . . . . . . . . . . . . 49
The CTS, RTS, CTS enable Tx signals . . . . . 49
7.3.14
7.4
7.5
8
Limiting values . . . . . . . . . . . . . . . . . . . . . . . . 50
Static characteristics . . . . . . . . . . . . . . . . . . . 51
Dynamic characteristics. . . . . . . . . . . . . . . . . 54
Timing diagrams . . . . . . . . . . . . . . . . . . . . . . . 58
Test information. . . . . . . . . . . . . . . . . . . . . . . . 64
Package outline . . . . . . . . . . . . . . . . . . . . . . . . 65
9
10
11
12
13
14
Soldering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Introduction to soldering. . . . . . . . . . . . . . . . . 68
Wave and reflow soldering . . . . . . . . . . . . . . . 68
Wave soldering. . . . . . . . . . . . . . . . . . . . . . . . 68
Reflow soldering. . . . . . . . . . . . . . . . . . . . . . . 69
14.1
14.2
14.3
14.4
15
16
Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . 70
Revision history . . . . . . . . . . . . . . . . . . . . . . . 71
7
7.1
7.2
7.3
7.3.1
7.3.1.1
7.3.1.2
7.3.1.3
7.3.1.4
7.3.1.5
7.3.1.6
Programming . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Register overview . . . . . . . . . . . . . . . . . . . . . . 22
Condensed register bit formats. . . . . . . . . . . . 24
Register descriptions . . . . . . . . . . . . . . . . . . . 26
Mode registers . . . . . . . . . . . . . . . . . . . . . . . . 26
Mode Register 0 channel A (MR0A). . . . . . . . 26
Mode Register 1 channel A (MR1A). . . . . . . . 28
Mode Register 2 channel A (MR2A). . . . . . . . 29
Mode Register 0 channel B (MR0B). . . . . . . . 32
Mode Register 1 channel B (MR1B). . . . . . . . 32
Mode Register 2 channel B (MR2B). . . . . . . . 32
17
Legal information . . . . . . . . . . . . . . . . . . . . . . 72
Data sheet status . . . . . . . . . . . . . . . . . . . . . . 72
Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Disclaimers. . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . 72
17.1
17.2
17.3
17.4
18
19
Contact information . . . . . . . . . . . . . . . . . . . . 72
Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Please be aware that important notices concerning this document and the product(s)
described herein, have been included in section ‘Legal information’.
© NXP B.V. 2007.
All rights reserved.
For more information, please visit: http://www.nxp.com
For sales office addresses, please send an email to: salesaddresses@nxp.com
Date of release: 19 December 2007
Document identifier: SC28L92_7
相关型号:
SC28L92A1BS,528
IC 2 CHANNEL(S), 1M bps, SERIAL COMM CONTROLLER, PQCC48, 6 X 6 MM, 0.85 MM HEIGHT, PLASTIC, SOT-778-4, HVQFN-48, Serial IO/Communication Controller
NXP
SC28L92A1BS,557
IC 2 CHANNEL(S), 1M bps, SERIAL COMM CONTROLLER, PQCC48, 6 X 6 MM, 0.85 MM HEIGHT, PLASTIC, SOT-778-4, HVQFN-48, Serial IO/Communication Controller
NXP
SC2982CSK-2.8
Fixed Positive LDO Regulator, 2.8V, 0.2V Dropout, BIPolar, PDSO5, SOT-23, 5 PIN
SEMTECH
©2020 ICPDF网 联系我们和版权申明