SC16C850 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2010. All rights reserved.
Product data sheet Rev. 2 — 11 November 2010 16 of 55
NXP Semiconductors
SC16C850
2.5 to 3.3 V UART with 128-byte FIFOs and IrDA encoder/decoder
6.10 Loopback mode
The internal loopback capability allows on-board diagnostics. In the Loopback mode, the
normal modem interface pins are disconnected and reconfigured for loopback internally
(see Figure 9
). MCR[3:0] register bits are used for controlling loopback diagnostic testing.
In the Loopback mode, the transmitter output (TX) and the receiver input (RX) are
disconnected from their associated interface pins, and instead are connected together
internally. The CTS
, DSR, CD, and RI are disconnected from their normal modem control
input pins, and instead are connected internally to RTS
, DTR, MCR[3] (OP2) and MCR[2]
(OP1
). Loopback test data is entered into the transmit holding register via the user data
bus interface, D[7:0]. The transmit UART serializes the data and passes the serial data to
the receive UART via the internal loopback connection. The receive UART converts the
serial data back into parallel data that is then made available at the user data interface
D[7:0]. The user optionally compares the received data to the initial transmitted data for
verifying error-free operation of the UART TX/RX circuits.
In this mode, the interrupt pin is 3-stated, therefore, the software must use the polling
method (see Section 7.2.2
) to send and receive data.
38.4 k 3 03 00 03
57.6 k 2 02 00 02
115.2 k 1 01 00 01
Table 7. Baud rate generator programming table using a 1.8432 MHz clock when
MCR[7] = 0 and CLKPRES[3:0] = 0
…continued
Output
baud rate
(bit/s)
Output
16× clock divisor
(decimal)
Output
16× clock divisor
(hexadecimal)
DLM
program value
(hexadecimal)
DLL
program value
(hexadecimal)
SC16C850 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2010. All rights reserved.
Product data sheet Rev. 2 — 11 November 2010 17 of 55
NXP Semiconductors
SC16C850
2.5 to 3.3 V UART with 128-byte FIFOs and IrDA encoder/decoder
Fig 9. Internal Loopback mode diagram
CTS
TRANSMIT
FIFO
REGISTERS
TX
RECEIVE
SHIFT
REGISTER
RECEIVE
FIFO
REGISTERS
RX
INTERCONNECT BUS LINES
AND
CONTROL SIGNALS
SC16C850
TRANSMIT
SHIFT
REGISTER
XTAL2XTAL1
002aad026
FLOW
CONTROL
LOGIC
DATA B U S
AND
CONTROL
LOGIC
REGISTER
SELECT
LOGIC
INTERRUPT
CONTROL
LOGIC
CLOCK AND
BAUD RATE
GENERATOR
MODEM
CONTROL
LOGIC
FLOW
CONTROL
LOGIC
RTS
DSR
DTR
RI
CD
OP2
MCR[4] = 1
IR
ENCODER
IR
DECODER
INT
(IRQ)
D0 to D7
IOR
IOW
RESET
A0 to A2
CS
OP1
POWER-
DOWN
CONTROL
LOWPWR
SC16C850 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2010. All rights reserved.
Product data sheet Rev. 2 — 11 November 2010 18 of 55
NXP Semiconductors
SC16C850
2.5 to 3.3 V UART with 128-byte FIFOs and IrDA encoder/decoder
6.11 Sleep mode
Sleep mode is an enhanced feature of the SC16C850 UART. It is enabled when EFR[4],
the enhanced functions bit, is set and when IER[4] bit is set.
6.11.1 Conditions to enter Sleep mode
Sleep mode is entered when:
Modem input pins are not toggling.
The serial data input line, RX, is idle for 4 character time (logic HIGH) and AFCR1[4]
is logic 0. When AFCR1[4] is logic 1 the device will go to sleep regardless of the state
of the RX pin (see Section 7.21
for the description of AFCR1 bit 4).
The TX FIFO and TX shift register are empty.
There are no interrupts pending.
The RX FIFO is empty.
In Sleep mode, the UART clock and baud rate clock are stopped. Since most registers are
clocked using these clocks, the power consumption is greatly reduced.
Remark: Writing to the divisor latches, DLL and DLM, to set the baud clock, must not be
done during Sleep mode. Therefore, it is advisable to disable Sleep mode using IER[4]
before writing to DLL or DLM.
6.11.2 Conditions to resume normal operation
SC16C850 resumes normal operation by any of the following:
Receives a start bit on RX pin.
Data is loaded into transmit FIFO.
A change of state on any of the modem input pins
If the device is awakened by one of the conditions described above, it will return to the
Sleep mode automatically after all the conditions described in Section 6.11.1
are met. The
device will stay in Sleep mode until it is disabled by setting any channel’s IER bit 4 to a
logic 0.
When the SC16C850 is in Sleep mode and the host data bus (D[7:0], A[2:0], IOW
, IOR,
CS
) remains in steady state, either HIGH or LOW, the Sleep mode supply current will be
in the μA range as specified in Table 36 “
Static characteristics. If any of these signals is
toggling or floating then the sleep current will be higher.
6.12 Low power feature
A low power feature is provided by the SC16C850 to prevent the switching of the host
data bus from influencing the sleep current. When the pin LOWPWR is activated (logic
HIGH), the device immediately and unconditionally goes into Low power mode. All clocks
are stopped and most host interface pins are isolated to reduce power consumption. The
device only returns to normal mode when the LOWPWR pin is de-asserted. The pin can
be left unconnected because it has an internal pull-down resistor.

SC16C850IBS,128

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
IC UART SGL W/FIFO 32HVQFN
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union