ChipFind - документация

Электронный компонент: SC68C2550BIB48

Скачать:  PDF   ZIP

Document Outline

1.
General description
The SC68C2550B is a two channel Universal Asynchronous Receiver and Transmitter
(UART) used for serial data communications. Its principal function is to convert parallel
data into serial data and vice versa. The UART can handle serial data rates up to 5 Mbit/s.
The SC68C2550B provides enhanced UART functions with 16-byte FIFOs, modem
control interface, DMA mode data transfer. The DMA mode data transfer is controlled by
the FIFO trigger levels and the TXRDY and RXRDY signals. On-board status registers
provide the user with error indications and operational status. System interrupts and
modem control features may be tailored by software to meet specific user requirements.
An internal loop-back capability allows on-board diagnostics. Independent programmable
baud rate generators are provided to select transmit and receive baud rates.
The SC68C2550B operates at 5 V, 3.3 V and 2.5 V and the industrial temperature range,
and is available in a plastic LQFP48 package.
2.
Features
s
2 channel UART with Motorola
P interface
s
5 V, 3.3 V and 2.5 V operation
s
Industrial temperature range
s
Up to 5 Mbit/s data rate at 5 V and 3.3 V, and 3 Mbit/s at 2.5 V
s
16-byte transmit FIFO to reduce the bandwidth requirement of the external CPU
s
16-byte receive FIFO with error flags to reduce the bandwidth requirement of the
external CPU
s
Independent transmit and receive UART control
s
Four selectable Receive FIFO interrupt trigger levels
s
Software selectable baud rate generator
s
Standard asynchronous error and framing bits (Start, Stop, and Parity Overrun Break)
s
Transmit, Receive, Line Status, and Data Set interrupts independently controlled
s
Fully programmable character formatting:
x
5, 6, 7, or 8-bit characters
x
Even, odd, or no-parity formats
x
1, 1
1
/
2
, or 2-stop bit
x
Baud generation (DC to 5 Mbit/s)
s
False start-bit detection
s
Complete status reporting capabilities
s
3-state output TTL drive capabilities for bi-directional data bus and control bus
SC68C2550B
5 V, 3.3 V and 2.5 V dual UART, 5 Mbit/s (max.), with 16-byte
FIFOs and Motorola
P interface
Rev. 02 -- 28 April 2005
Product data sheet
9397 750 14941
Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Product data sheet
Rev. 02 -- 28 April 2005
2 of 35
Philips Semiconductors
SC68C2550B
5 V, 3.3 V and 2.5 V dual UART, 5 Mbit/s (max.), with 16-byte FIFOs
s
Line break generation and detection
s
Internal diagnostic capabilities:
x
Loop-back controls for communications link fault isolation
s
Prioritized interrupt system controls
s
Modem control functions (CTS, RTS, DSR, DTR, RI, CD)
3.
Ordering information
Table 1:
Ordering information
Type number
Package
Name
Description
Version
SC68C2550BIB48
LQFP48
plastic low profile quad flat package; 48 leads;
body 7
7
1.4 mm
SOT313-2
9397 750 14941
Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Product data sheet
Rev. 02 -- 28 April 2005
3 of 35
Philips Semiconductors
SC68C2550B
5 V, 3.3 V and 2.5 V dual UART, 5 Mbit/s (max.), with 16-byte FIFOs
4.
Block diagram
Fig 1.
Block diagram of SC68C2550B
TXA, TXB
RXA, RXB
SC68C2550B
XTAL2
XTAL1
D0 to D7
R/W
RESET
002aab334
DATA BUS
AND
CONTROL
LOGIC
REGISTER
SELECT
LOGIC
A0 to A3
CS
INTERRUPT
CONTROL
LOGIC
IRQ
TXRDYA, TXRDYB
RXRDYA, RXRDYB
CLOCK AND
BAUD RATE
GENERATOR
INTERCONNECT B
US LINES
AND
CONTR
OL SIGNALS
MODEM
CONTROL
LOGIC
DTRA, DTRB
RTSA, RTSB
OP2A, OP2B
CTSA, CTSB
RIA, RIB
CDA, CDB
DSRA, DSRB
RECEIVE
SHIFT
REGISTER
RECEIVE
FIFO
REGISTER
TRANSMIT
SHIFT
REGISTER
TRANSMIT
FIFO
REGISTER
9397 750 14941
Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Product data sheet
Rev. 02 -- 28 April 2005
4 of 35
Philips Semiconductors
SC68C2550B
5 V, 3.3 V and 2.5 V dual UART, 5 Mbit/s (max.), with 16-byte FIFOs
5.
Pinning information
5.1 Pinning
5.2 Pin description
Fig 2.
Pin configuration for LQFP48
SC68C2550BIB48
D5
RESET
D6
DTRB
D7
DTRA
RXB
RTSA
RXA
OP2A
TXRDYB
RXRDYA
TXA
IRQ
TXB
n.c.
OP2B
A0
CS
A1
A3
A2
n.c.
n.c.
XTAL1
D4
XTAL2
D3
R/W
D2
CDB
D1
GND
D0
RXRDYB
TXRDYA
V
CC
V
CC
DSRB
RIA
RIB
CDA
RTSB
DSRA
CTSB
GND
CTSA
n.c.
002aab335
1
2
3
4
5
6
7
8
9
10
11
12
36
35
34
33
32
31
30
29
28
27
26
25
13
14
15
16
17
18
19
20
21
22
23
48
47
46
45
44
43
42
41
40
39
38
37
24
Table 2:
Pin description
Symbol
Pin
Type
Description
A0
28
I
Address 0 select bit. Internal register address selection.
A1
27
I
Address 1 select bit. Internal register address selection.
A2
26
I
Address 2 select bit. Internal register address selection.
A3
11
I
Address 3. A3 is used to select Channel A or Channel B. A logic LOW selects
Channel A, and a logic HIGH selects Channel B. (See
Table 3
.)
CS
10
I
Chip Select (active LOW). This pin enables data transfers between the user CPU and
the SC68C2550B for the channel(s) addressed. Individual UART sections (A, B) are
addressed by A3. See
Table 3
.
D0 to D7
44, 45, 46,
47, 48, 1,
2, 3
I/O
Data bus (bi-directional). These pins are the 8-bit, 3-state data bus for transferring
information to or from the controlling CPU. D0 is the least significant bit and the first data
bit in a transmit or receive serial data stream.
GND
17, 24
I
Signal and power ground.
IRQ
30
O
Interrupt Request. Interrupts from UART channels A-B are wire-ORed internally to
function as a single IRQ interrupt. This pin transitions to a logic 0 (if enabled by the
interrupt enable register) whenever a UART channel(s) requires service. Individual
channel interrupt status can be determined by addressing each channel through its
associated internal register, using CS and A3. An external pull-up resistor must be
connected between this pin and V
CC
.
9397 750 14941
Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Product data sheet
Rev. 02 -- 28 April 2005
5 of 35
Philips Semiconductors
SC68C2550B
5 V, 3.3 V and 2.5 V dual UART, 5 Mbit/s (max.), with 16-byte FIFOs
R/W
15
I
A logic LOW on this pin will transfer the contents of the data bus (D[0:7]) from an external
CPU to an internal register that is defined by address bits A[0:2]. A logic HIGH on this pin
will load the contents of an internal register defined by address bits A[0:2] on the
SC68C2550B data bus (D[0:7]) for access by an external CPU.
OP2A,
OP2B
32, 9
O
Output 2 (user-defined). This function is associated with individual channels A and B.
The state of these pins is defined by the user through the software settings of MCR[3].
OP2A/OP2B is a logic 0 when MCR[3] is set to a logic 1. OP2A/OP2B is a logic 1 when
MCR[3] is set to a logic 0. The output of these two pins is HIGH after reset.
RESET
36
I
Reset (active LOW). A logic 0 on this pin will reset the internal registers and all the
outputs. The UART transmitter output and the receiver input will be disabled during reset
time. (See
Section 7.10 "SC68C2550B external reset condition"
for initialization details.)
RXRDYA,
RXRDYB
31, 18
O
Receive Ready A, B (active LOW). This function is associated with PLCC44 and
LQFP48 packages only. This function provides the RX FIFO/RHR status for individual
receive channels (A-B). RXRDYn is primarily intended for monitoring DMA mode 1
transfers for the receive data FIFOs. A logic 0 indicates there is a receive data to
read/upload, that is, receive ready status with one or more RX characters available in the
FIFO/RHR. This pin is a logic 1 when the FIFO/RHR is empty or when the programmed
trigger level has not been reached. This signal can also be used for single mode transfers
(DMA mode 0).
TXRDYA,
TXRDYB
43, 6
O
Transmit Ready A, B (active LOW). This function is associated with PLCC44 and
LQFP48 packages only. These outputs provide the TX FIFO/THR status for individual
transmit channels (A-B). TXRDYn is primarily intended for monitoring DMA mode 1
transfers for the transmit data FIFOs. An individual channel's TXRDYA, TXRDYB buffer
ready status is indicated by logic 0, that is, at lease one location is empty and available in
the FIFO or THR. This pin goes to a logic 1 (DMA mode 1) when there are no more empty
locations in the FIFO or THR. This signal can also be used for single mode transfers
(DMA mode 0).
V
CC
19, 42
I
Power supply input
XTAL1
13
I
Crystal or external clock input. Functions as a crystal input or as an external clock
input. A crystal can be connected between this pin and XTAL2 to form an internal
oscillator circuit. Alternatively, an external clock can be connected to this pin to provide
custom data rates. (See
Section 6.5 "Programmable baud rate generator"
.) See
Figure 3
.
XTAL2
14
O
Output of the crystal oscillator or buffered clock. (See also XTAL1.) Crystal oscillator
output or buffered clock output. Should be left open if an external clock is connected to
XTAL1. For extended frequency operation, this pin should be tied to V
CC
via a 2 k
resistor.
CDA,
CDB
40, 16
I
Carrier Detect (active LOW). These inputs are associated with individual UART
channels A through B. A logic 0 on this pin indicates that a carrier has been detected by
the modem for that channel.
CTSA,
CTSB
38, 23
I
Clear to Send (active LOW). These inputs are associated with individual UART
channels, A through B. A logic 0 on the CTS pin indicates the modem or data set is ready
to accept transmit data from the SC68C2550B. Status can be tested by reading MSR[4].
This pin has no effect on the UART's transmit or receive operation.
DSRA,
DSRB
39, 20
I
Data Set Ready (active LOW). These inputs are associated with individual UART
channels, A through B. A logic 0 on this pin indicates the modem or data set is
powered-on and is ready for data exchange with the UART. This pin has no effect on the
UART's transmit or receive operation.
Table 2:
Pin description
...continued
Symbol
Pin
Type
Description