Philips Semiconductors Product data sheet
SC28L202Dual UART
2005 Nov 01
37
IPCE – Input Change Detect Enable, A and B (n = A for A, n = B for B)
Bit 7
Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
I/O7 n enable I/O6 n enable I/O5 n enable I/O4 n enable I/O3 n enable I/O2 n enable I/O1 n enable I/O0 n enable
0 = disable
1 = enable
0 = disable
1 = enable
0 = disable
1 = enable
0 = disable
1 = enable
0 = disable
1 = enable
0 = disable
1 = enable
0 = disable
1 = enable
0 = disable
1 = enable
IPCE[7:0] bits activate the input change of state detectors. If a pin is configured as an output, the change of state detectors, if enabled, continue
to be active and will show a change of state as the I/P port changes.
I/OPCR 0 – I/O Port Configuration Register
Bits 7:6
Bits 5:4 Bits 3:2 Bits 1:0
I/O3 A control I/O2 A control I/O1 A control I/O0 A control
00 = GPI / TxC A
01 = OPR[3] A
10 = TxC A (16X) Output
11 = Reserved
00 = GPI / CT 0 Clock Input
01 = OPR[2] A / DTRN A
10 = TxC A (1X) Output
11 = Reserved
00 = GPI / CTSN B
01 = OPR[1] A
10 –
11 = Reserved
00 = GPI / CTSN A
01 = OPR[0] A
10 –
11 = Reserved
I/OPCR 1 – I/O Port Configuration Register
Bits 7:6
Bits 5:4 Bits 3:2 Bits 1:0
I/O7 A control I/O6 A control I/O5 A control I/O4 A control
00 = GPI / CT 1 Clock Input
01 = OPR[7] A / DTRN B
10 = TxC B (1X) Output
11 = Reserved
00 = GPI / RxC B / PBRG 1 Clk Input
01 = OPR[6] A
10 = RxC B (16X) Output
11 = Reserved
00 = GPI / TxC B
01 = OPR[5] A
10 = TxC B (16X) Output
11 = Reserved
00 = GPI / RxC A / PBRG 0 Clk Input
01 = OPR[4] A
10 = RxC A (16X) Output
11 = Reserved
I/OPCR 2 – I/O Port Configuration Register
Bits 7:6
Bits 5:4 Bits 3:2 Bits 1:0
I/O3 B control I/O2 B control I/O1 B control I/O0 B control
00 = GPI /DSRN B
01 = OPR[3] B
10 = RxC B (1X) Output
11 = C/T 0 Output (open
drain)
00 = GPI /DSRN A
01 = OPR[2] B
10 = RxC A (1X) Output
11 = C/T 1 Output (open drain)
00 = GPI
01 = OPR[1] B / RTSN B
10 = Reserved
11 = Reserved
00 = GPI
01 = OPR[0] B / RTSN B
10 = Reserved
11 = Reserved
I/OPCR 3 – I/O Port Configuration Register
Bits 7:6
Bits 5:4 Bits 3:2 Bits 1:0
I/O7 B control I/O6 B control I/O5 B control I/O4 B control
00 = GPI /RIN B
01 = OPR[7] B
10 =TxINTN B (open drain)
11 =reserved
00 = GPI /RIN A
01 = OPR[6] B
10 =TxINTN A (open drain)
11 = reserved
00 = GPI /DCDN B
01 = OPR[5] B
10 = RxINTN B (open
drain)
11 = reserved
00 = GPI /DCDN A
01 = OPR[4] B
10 = RxINTN A (open drain)
11 = reversed
NOTE: Both I/O Port A and B default to input upon a hardware reset to avoid hardware conflicts with I/O direction
The four registers above contain 4, 2 bit fields that set the direction and source for each of the I/O pins associated with the channel. The I/O0 B
or I/O1 B output may be RTSN if MR1[7] is set. It may also signal ‘end of transmission’ if MR2[5] is set. (Please see the descriptions of these
functions under the MR1 and MR2 register descriptions).
The binary settings of the binary 00 combination always configures the I/O pins as ‘inputs’. However the input circuit of the I/O pins are ALWAYS
active. In actuality the binary 00 condition only disable the output driver of the pin. Since the input circuit and the associated change of state
detector is always active the output signal may generate interrupts or drive counters.
This register resets to 0x00 on reset, effectively configuring all I/O pins as inputs. Inputs may be used as RxC, TxC inputs or CTSN and General
Purpose Inputs simultaneously. All inputs are equipped with change detectors that may be used to generate interrupts or can be polled, as
required.
Philips Semiconductors Product data sheet
SC28L202Dual UART
2005 Nov 01
38
SOPR A and SOPR B – Set the Output Port Bits (OPR A and OPR B)
SOPR [7:0] – 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 with our keeping a copy of the OPR bit configuration. One register for each channel.
Bit 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
Set OPR Bits OPR 7 OPR 6 OPR 5 OPR 4 OPR 3 OPR 2 OPR 1 OPR 0
1=set bit
0=no
change
1=set bit
0=no
change
1=set bit
0=no
change
1=set bit
0=no change
1=set bit
0=no change
1=set bit
0=no change
1=set bit
0=no change
1=set bit
0=no
change
ROPR A and ROPR B – Reset ROPR Output Port Bits (OPR A and OPR B)
ROPR [7:0] – 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 with our keeping a copy of the OPR bit configuration. One register for each channel
Bit 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
Reset OPR
Bits
OPR 7 OPR 6 OPR 5 OPR 4 OPR 3 OPR 2 OPR 1 OPR 0
1=reset bit
0=no change
1=reset bit
0=no
change
1=reset bit
0=no
change
1=reset bit
0=no
change
1=reset bit
0=no
change
1=reset bit
0=no
change
1=reset bit
0=no
change
1=reset bit
0=no change
OPR – Output Port Register, A and B (n = A for A, n = B for B)
The output pins (I/O pins) drive the data written to this register.
Bit 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
OPR I/O7 n I/O6 n I/O5 n I/O4 n I/O3 n I/O2 n I/O1 n I/O0 n
0=Pin High
1=Pin Low
0=Pin High
1=Pin Low
0=Pin High
1=Pin Low
0=Pin High
1=Pin Low
0=Pin High
1=Pin Low
0=Pin High
1=Pin Low
0=Pin High
1=Pin Low
0=Pin High
1=Pin Low
This register is set by the SOPR and ROPR above.
Philips Semiconductors Product data sheet
SC28L202Dual UART
2005 Nov 01
39
THE REGISTERS FOR COMPATIBILITY WITH PREVIOUS DUARTS
The purpose of including previous functionality is to allow users to
call communications code that may be used in former systems.
When the registers in this lower 16–position address space is used
it will revoke programming done in the upper address space where
the addresses are duplicated. If functions have been called from
upper address space that DO NOT exist in the lower address space
they will remain active. It is therefore recommended that the ‘Reset
to C92’ command be issued before calling code written for older
devices. This is just recommended. If one wishes to enhance
previous code by using Xon/Xoff, for example, there is no restriction
against it. These registers provide the original functionality of
previous Philips DUARTs: SCN2681, SCN68681, SCC2691,
SCC68692, SC26C92 and SC28L92.
Table 7. SC28L92 Register Addressing READ (RDN = 0) WRITE (WRN = 0)
Address READ (RDN = 0) WRITE (WRN = 0)
0 0 0 0 Mode Register A (MR0 A, MR1 A, MR2 A) Mode Register A (MR0 A, MR1 A, MR2 A)
0 0 0 1 Status Register A (SR A) Clock Select Register A (CSR A )
0 0 1 0 Reserved Command Register A (CR A)
0 0 1 1 Rx Holding Register A (RxFIFO A) Tx Holding Register A (TxFIFO A)
0 1 0 0 Input Port Change Register (IPCR) Aux. Control Register (ACR)
0 1 0 1 Interrupt Status Register (ISR) Interrupt Mask Register (IMR)
0 1 1 0 Counter/Timer Upper (CTPU) C/T Upper Preset Register (CTPU)
0 1 1 1 Counter/Timer Lower (CTPL) C/T Lower Preset Register (CTPL)
1 0 0 0 Mode Register B (MR0 B, MR1 B, MR2 B) Mode Register B (MR0 B, MR1 B, MR2 B)
1 0 0 1 Status Register B (SR B) Clock Select Register B (CSR B )
1 0 1 0 Reserved Command Register B (CR B)
1 0 1 1 Rx Holding Register B (RxFIFO B) Tx Holding Register B (TxFIFO B)
1 1 0 0 IVR or general purpose register IVR or general purpose register
1 1 0 1 Input Port (IPR) I/O(6:0) A Output Port Confide. Register (OPCR) I/O(7:2) B
1 1 1 0 Start Counter Command (C/T 0) Set Output Port Bits Command (SOPR) I/O(7:0) B
1 1 1 1 Stop Counter Command (C/T 0) Reset output Port Bits Command (ROPR) I/O(7:0) B
NOTE: The three MR Registers are accessed via the MR Pointer and Commands 0x1n and 0xBn (where n = represents receiver and
transmitter enable bits)
The following registers are unique for each Channel
Mode Register MRn A MRn B R/W
Status Register SR A SR B R only
Clock
Select
CSR A CSR B W only
Command
Register
CR A CR B W only
Receiver
FIFO
RxFIFO A RxFIFO B R only
Transmitter
FIFO
TxFIFO A TxFIFO B W only
These registers support functions for both Channels
Input Port Change Register IPCR R
Auxiliary Control Register ACR W
Interrupt Status Register ISR R
Interrupt Mask Register IMR W
Counter Timer Upper Value CTPU R
Counter Timer Lower Value CTPL R
Counter Timer Preset Upper CTPU W
Counter Timer Preset Lower CTPL W
Input Port Register IPR R
Output Configuration Register OPCR W
Set Output Port Bits W
Reset Output Port Bits W

SC28L202A1DGG,129

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