Philips Semiconductors Product data sheet
SC28C94Quad universal asynchronous receiver/transmitter (QUART)
2006 Aug 09
22
I/O Port Control Channel B (IOPCRB)
IOPCR[xx]
IOPCRb[7:6] IOPCRb[5:4] IOPCRb[3:2] IOPCRb[1:0]
Pin Control Bits
I/O3B I/O2B I/O1B I/O0B
00 = input IPR(7), TxC in IPR(6), RxC in IPR(3), TxC in IPR(2), CTSN
01 = output OPRab(7) OPRab(6)
RTSN
1
if IOPCR[5:4] = 01
OPRab(3)
RTSN
2
if IOPCR[5:4] 01
OPRab(2)
10 = output TxC 16x RxC 1x C/T ab out TxC 1x
11 = output TxC 1x RxC 16x RxC 1x TxC 16x
I/O Port Control Channel C (IOPCRC)
IOPCR[xx]
IOPCRc[7:6] IOPCRc[5:4] IOPCRc[3:2] IOPCRc[1:0]
Pin Control Bits
I/O3C I/O2C I/O1C I/O0C
00 = input IPR(5), TxC in IPR(4), RxC in IPR(1), C/Tcd Clk in
1
TxC in IPR(0), CTSN
01 = output OPRcd(5) OPRcd(4)
RTSN
1
if IOPCR[5:4] = 01
OPRab(1)
RTSN
2
if IOPCR[5:4] 01
OPRcd(0)
10 = output TxC 16x RxC 1x RxC 16x TxC 1x
11 = output TxC 1x RxC 16x RxC 1x TxC 16x
I/O Port Control Channel D (IOPCRD)
IOPCR[xx]
IOPCRd[7:6] IOPCRd[5:4] IOPCRd[3:2] IOPCRd[1:0]
Pin Control Bits
I/O3D I/O2D I/O1D I/O0D
00 = input IPR(7), TxC in IPR(6), RxC in IPR(3), TxC in IPR(2), CTSN
01 = output OPRcd(7) OPRcd(6)
RTSN
1
if IOPCR[5:4] = 01
OPRcd(3)
RTSN
2
if IOPCR[5:4] 01
OPRcd(2)
10 = output TxC 16x RxC 1x C/T cd out TxC 1x
11 = output TxC 1x RxC 16x RxC 1x TxC 16x
The input part of the I/O pins is always active. The programming of the IOPCR bits to 00 merely turns off the out drivers and places
the pin at high impedance.
A read of the IPR register returns the value of the IPR bits as shown above. IPR(5) is at bit position 5 of the data bus. Note that the IPR bit
positions do not follow the 0, 1, 2, 3 order of the I/O ports. During a read of the IPR the I/O ports are not latched. Therefore, it is possible to see
changing data during the read. Port pins that have clocks on them may not yield valid data during the read.
Since the input circuits of the I/O ports are always active it is possible to direct the port signal back into the port. For example: I/O1 will output
the RTS signal. Setting the Counter/Timer (C/T) to be clocked by the I/O1 port will result in the counter counting the number of times RTS goes
active. The change of state detectors on I/O0 and I/O1 will, when programmed, always be sensitive to the signal on the port regardless of the
source of that port’s signal.
NOTES:
1. Normal configurations place RTSN output on I/O1 and place Tx external clock input on I/O3. For the 48 pin Dual In-Line package, I/O3 is
not available. The following options allow flexible I/O programming with the 48 pin package:
When IOPCR(7:6), the I/O3 control, 00, then I/O1 becomes available to the transmitter as an external clock.
When IOPCR(5:4), the I/O2 control, = 01, then I/O2 may be the RTSN signal if MR1(7) = 1 and OPR(4) = 1.
2. I/O1 becomes RTSN when IOPCR(3:2) = 01 and MR1(7) = 1 and OPR(1) = 1. (OPR(3) for channel B)
3. Recommended method for setting RTS/CTS flow control is to set IPCR [5:4] to 01 and to set I/OPCR[1:0] to 00. This makes I/O[2} RTSN
and I/O[1] CTSN. Caution: When RTS/CTS is active writing to the OPR register could conflict with the receiver control of OPR [6] and
OPR [4].
Philips Semiconductors Product data sheet
SC28C94Quad universal asynchronous receiver/transmitter (QUART)
2006 Aug 09
23
Registers of the Interrupt System
The CIR, and “Global” registers are updated with the IACKN signal
or from the “Update CIR” command at hex address 2A. These
registers are not updated when IRQN is asserted since there could
be a long time between the assertion of IRQN and the start of the
interrupt service routine. (See notes following this section).
Current Interrupt Register (CIR)
# Bytes
Type Chan #
3 3 2
The Channel # field indicates which of the four UARTs has the
highest priority interrupt currently outstanding, while the Type field
indicates its source within the UART. The Type field is encoded as
follows:
000 No Interrupt
001 Change of State
x10 Transmit available
011 Receive available, no error
100 Receiver break change
101 Counter/Timer
111 Receive available, w/errors
With Type = x11, the # Bytes field indicates the count of received
bytes available for reading, while with Type = x10 it indicates the
number of bytes that can be written to the transmit FIFO.
The CIR is Read only at address 28H.
Global Interrupt Byte Count (GIBC)
00000
# Bytes
5 3
The GIBC is not an actual register but simply outputs the interrupting
UART’s transmit or receive byte counter value. The count, accurate
at the time IACKN asserts, is captured in the CIR. The high order 5
bits are read as ‘0’. The GIBC is read only at address 2AH.
Global RxFIFO (GRxFIFO)
Received Data
8
If a receiver is not the cause of the current interrupt, a read of the
Global RxFIFO will yield a byte containing all ones and NONE of the
UART channels’ receive FIFOs will be popped. (IMPORTANT)
The GRxFIFO is Read only at address 2BH.
Global TxFIFO (GTxFIFO)
Data to be Sent
8
If a transmitter is not the cause of the current interrupt, a write to the
Global TxFIFO has no effect.
The GTxFIFO is Write only at address 2BH.
Global Interrupting Channel (GICR)
000000
Chan #
6 2
Like the other Global pseudo-registers no hardware register exists.
The Channel number field of the Current Interrupt Register padded
with leading zeros is output as the GICR. The GICR is Read only at
address 29H.
C/Tab indicated by Channel code B 01
C/Tcd indicated by Channel code D 11
Interrupt Control (ICR)
Threshold
IVC
6 2
The Threshold Field is used by the interrupt comparator to
determine if a winning interrupt “bid” should result in interrupting the
host MPU. The threshold field resets to 00.
The IVC field controls what kind of vector the QUART returns to the
host MPU during an Interrupt Acknowledge cycle:
00 Output contents of Interrupt Vector Register
01 Output 6 MSBs of IVR and Channel number as 2 LSBs
10 Output 3 MSBs of IVR, Interrupt Type and Channel number
11 Disable generation of vector during IACK cycle.
Returns hex’FF during an IACKN cycle.
The IVC field reset to 00. The ICR is read/write at address 2CH.
Bidding Control Registers (BCRs)
Received Break
State Change C/T
3 3 2
This register is a transparent latch. It must be set to ensure the
expected operation of the arbitration system. The 3 MSBs
determine the priority of Received Break Interrupts; they are reset to
000.
Bits 4:2 determine the priority of Change of Input State interrupts,
and are reset to 00.
BCR Counter/Timer bits reset to 00.
There is one BCR per UART channel; they can be read or written at
addresses 20-23H.
Interrupt Vector (IVR)
The 8 bits of the interrupt vector
Interrupt Vector (IVR-Modified)
Always Used with IVC = 0x w/IVC = 01 or 10
3 3 2
Holds the constant bits of the interrupt acknowledge vector. As
shown, the three MSBs are always used, while the less significant
bits can be replaced by the interrupt type code and/or Channel code
bits contained in the CIR. The IVR is write only at address 29H.
Philips Semiconductors Product data sheet
SC28C94Quad universal asynchronous receiver/transmitter (QUART)
2006 Aug 09
24
DC ELECTRICAL CHARACTERISTICS
V
CC
= 5V ± 10%, T
A
= –40_C to 85_C, unless otherwise specified.
SYMBOL
PARAMETER
TEST CONDITIONS
LIMITS
UNIT
SYMBOL
PARAMETER
TEST
CONDITIONS
Min Typ Max
UNIT
V
IL
Input low voltage 0.8 V
V
In
p
ut high voltage (exce
p
t X1/CLK)
0 to +70°C 2.0
V
V
IH
Inp
u
t
high
v
oltage
(e
x
cept
X1/CLK)
–40 to +85°C 2.2
V
V
IH
Input high voltage (X1/CLK) 0.8V
CC
V
V
OL
V
OH
Output Low voltage
Output High voltage (except OD outputs)
I
OL
= 4.0mA
I
OH
= –400µA
I
OH
= –100µA
0.8V
CC
0.9V
CC
0.4 V
V
V
I
IL
I
IH
Input current Low, I/O ports
Input current High, I/O ports
V
IN
= 0
V
IN
= V
CC
–10
10
µA
µA
I
I
Input leakage current V
IN
= 0 to V
CC
–1 1 µA
I
ILX1
I
IHX1
X1/CLK input Low current
X1/CLK input High current
V
IN
= GND, X2 = open
V
IN
= V
CC
, X2 = open –140
140 µA
µA
I
OZH
I
OZL
Output off current High, 3–state data bus
Output off current Low, 3–state data bus
V
IN
= V
CC
V
IN
= 0 –1
1
µA
I
ODL
I
ODH
Open–drain output Low current in off state: IRQN
Open–drain output Low current in off state: IRQN
V
IN
= 0
V
IN
= V
CC
–1
1
µA
I
CC
Power supply current
Operating mode
CMOS input levels 25°C
with X1 = 4MHz
20 35 mA
I
CC
Power down mode
1
2 mA
NOTES:
1. See UART application note for power down currents less than 5 µA.

SC28C94A1A,512

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

Products related to this Datasheet