SC28L91 Philips Semiconductors, SC28L91 Datasheet - Page 20

no-image

SC28L91

Manufacturer Part Number
SC28L91
Description
3.3V-5.0V Universal Asynchronous Receiver/Transmitter (UART)
Manufacturer
Philips Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
SC28L91A1A
Manufacturer:
AD
Quantity:
1 885
Part Number:
SC28L91A1A,512
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
SC28L91A1A,518
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
SC28L91A1A,529
Manufacturer:
Epson
Quantity:
563
Part Number:
SC28L91A1A,529
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
SC28L91A1B
Manufacturer:
NXP
Quantity:
188
Part Number:
SC28L91A1B
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
SC28L91A1B,528
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
SC28L91A1B,528
Manufacturer:
PHILIPS/飞利浦
Quantity:
20 000
Part Number:
SC28L91A1B,551
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
SC28L91A1B551
Manufacturer:
NXP Semiconductors
Quantity:
135
Part Number:
SC28L91A1B557
Manufacturer:
NXP Semiconductors
Quantity:
135
1. The three MR registers are accessed via the MR Pointer and Commands 0x1n and 0xBn (where n = represents receiver and transmitter enable bits)
Philips Semiconductors
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 x’00 character.
Multi-drop Mode (9-bit or Wake-Up)
The UART is equipped with a wake up mode for multi-drop
applications. This mode is selected by programming bits MR1[4:3]or
to ‘11’. In this mode of operation, a ‘master’ station transmits an
address character followed by data characters for the addressed
‘slave’ station. The slave station(s) whose receiver(s) that are
normally disabled, examine the received data stream and ‘wakeup’
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 MR1[2]. MR1[2]= 0
transmits a zero in the A/D bit position, which identifies the
corresponding data bits as data. MR1[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 TxFIFO.
MR1[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 TxFIFO.
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 RxFIFO if the
received A/D bit is a one (address tag), but discards the received
Table 1. SC28L91 register addressing
NOTE:
2000 Sep 22
Address Bits
A[3:0]
0
0
0
0
0
0
0
0
1
1
1
1
1
3.3V–5.0V Universal Asynchronous
Receiver/Transmitter (UART)
0
0
0
0
1
1
1
1
1
1
1
1
1
0
0
1
1
0
0
1
1
0
0
0
1
1
0
1
0
1
0
1
0
1
0
0
1
0
1
READ (RDN = 0)
Mode Register(MR0, MR1, MR2)
Status Register(SR)
Reserved
Rx Holding Register(RxFIFO)
Input Port Change Register (IPCR)
Interrupt Status Register (ISR)
Counter/Timer Upper (CTU)
Counter/Timer Lower (CTL)
Interrupt vector (68K mode), Misc. register in Intel mode
IVR Motorola mode, Misc. register (Intel mode)
Input Port (IPR)
Start Counter Command
Stop Counter Command
20
character if the received A/D bit is a zero (data tag). If enabled, all
received characters are transferred to the CPU via the RxFIFO. 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 (SR[5] ). Framing error, overrun error, and break detect
operate normally whether or not the receiver is enabled.
PROGRAMMING
The operation of the UART 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 1.
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.
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.
The channel has 3 mode registers (MR0, 1, 2) which control the
basic configuration of the channel. Access to these registers is
controlled by independent MR address pointers. These pointers are
set to 0 or 1 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 0 or 1 via the miscellaneous commands
of the command register. The pointer is set to 1 on reset for
compatibility with previous Philips Semiconductors UART software.
Refer to Table 2 for register bit descriptions. The reserved registers
at addresses 0x02 and 0x0A should never be read during normal
operation since they are reserved for internal diagnostics.
WRITE (WRN = 0)
Mode Register(MR0, MR1, MR2)
Clock Select Register(CSR)
Command Register(CR)
Tx Holding Register(RxFIFO)
Aux. Control Register (ACR)
Interrupt Mask Register (IMR)
C/T Upper Preset Register (CTPU)
C/T Lower Preset Register (CTPL)
Interrupt vector (68K mode), Misc. register in Intel mode
IVR Motorola mode, Misc. register (Intel mode)
Output Port Configuration Register (OPCR)
Set Output Port Bits Command (SOPR)
Reset output Port Bits Command (ROPR)
Product specification
SC28L91

Related parts for SC28L91