• Replaces Industry Type IM6402 and Compatible with
HD6402
Ordering Information
PACK-
AGETEMP. RANGE
PDIP-40oC to +85oC CDP6402CECDP6402E
Burn-InCDP6402CEX-
SBDIP-40
Burn-InCDP6402CDX CDP6402DX
o
C to +85oC CDP6402CDCDP6402D
5V/200K
BAUD
10V/400K
BAUD
PKG.
NO.
E40.6
D40.6
Description
The CDP6402 and CDP6402C are silicon gate CMOS
Universal Asynchronous Receiver/Transmitter (UART)
circuits for interfacing computers or microprocessors to
asynchronous serial data channels. They are designed to
provide the necessary formatting and control for interfacing
C
between serial and parallel data channels. The receiver
converts serial start, data, parity, and stop bits to parallel
data verifying proper code transmission, parity and stop bits.
The transmitter converts parallel data into serial form and
automatically adds start parity and stop bits.
The data word can be 5, 6, 7 or 8 bits in length. Parity may
be odd, even or inhibited. Stop bits can be 1, 1-1/2, or 2
(when transmitting 5-bit code).
The CDP6402 and CDP6402C can be used in a wide range
of applications including modems, printers, peripherals,
video terminals, remote data acquisition systems, and serial
data links for distributed processing systems.
The CDP6402 and CDP6402C are functionally identical.
They differ in that the CDP6402 has a recommended
operating voltage range of 4V to 10.5V, and the CDP6402C
has a recommended operating voltage range of 4V to 6.5V.
Pinout
(40 LEAD PDIP, SBDIP)
TOP VIEW
V
1
DD
2
NC
3
GND
4
RRD
5
RBR8
6
RBR7
7
RBR6
8
RBR5
9
RBR4
10
RBR3
11
RBR2
12
RBR1
PE
13
FE
14
OE
15
SFD
16
RRC
17
18
DRR
19
DR
20
RRI
TRC
40
EPE
39
CLS1
38
CLS2
37
SBS
36
PI
35
CRL
34
TBR8
33
TBR7
32
TBR6
31
TBR5
30
TBR4
29
TBR3
28
TBR2
27
TBR1
26
TRO
25
TRE
24
23
TBRL
22
TBRE
21
MR
CAUTION: These devices are sensitive to electrostatic discharge. Users should follow proper IC Handling Procedures.
Copyright
Package Type D (SBDIP) . . . . . . . . . . . . . . . . . . -55oC to +125oC
Package Type E (PDIP) . . . . . . . . . . . . . . . . . . . . -40oC to +85oC
CAUTION: Stresses above those listed in “Absolute Maxim um Ratings” ma y cause permanent damage to the device . This is a stress only rating and oper ation of
the device at these or any other conditions above those indicated in the operational sections of this specification is not implied.
NOTE:
1. θJA is measured with the component mounted on an evaluation PC board in free air.
At Distance 1/16 ±1/32 inch (1.59 ±0.79mm) . . . . . . . . . . +265oC
Operating Conditions At T
= Full Package-Temperature Range. For maximum reliability, operating conditions should be selected so
A
that operatIon is always within the following ranges:
LIMITS
CDP6402CDP6402C
PARAMETER
MINMAXMINMAX
DC Operating Voltage Range410.546.5V
Input Voltage RangeV
Static Electrical Specifications at T
= -40oC to +85oC, VDD±10%, Except as noted
A
SS
V
DD
V
SS
V
DD
CONDITIONSLIMITS
CDP6402CDP6402C
PARAMETER
Quiescent Device
I
DD
V
O
(V)
-0, 55-0.0150-0.02200µA
V
(V)
V
IN
DD
(V)
MIN
(NOTE 1)
TYPMAXMIN
(NOTE 1)
TYPMAX
Current
-0,1010-1200---µA
Output Low Drive
I
OL
0.40,5524-1.22.4-mA
(Sink) Current
0.50,101057----mA
UNITS
V
UNITS
Output High Drive
(Source) Current
Output Voltage LowLevel (Note 2)
Output Voltage
High Level (Note 2)
Input Low VoltageV
I
OH
4.60, 55-0.55-1.1--0.55-1.1-mA
9.50,1010-1.3-2.6----mA
V
OL
-0, 55-00.1-00.1V
-0, 1010-00.1---V
V
OH
-0, 554.95-4.95-V
-0, 10109.910----V
0.5, 4.5-5--0.8--0.8V
IL
0.5, 9.5-10--0.2 V
DD
---V
5-76
CDP6402, CDP6402C
Static Electrical Specifications at T
CONDITIONSLIMITS
V
O
PARAMETER
Input High VoltageV
Input Leakage
Current
Three-State Output
Leakage Current
Operating Current
(Note 2)
Input CapacitanceC
Output CapacitanceC
I
I
OUT
I
DD1
OUT
IH
IN
IN
(V)
0.5, 4.5-5VDD-2--VDD-2--V
0.5, 9.5-107-----V
Any
Input
0, 50, 55-±10
0, 100,1010-±10
-0, 55-1.5−-1.5-mA
-0,1010-10−-- -mA
----57.5-57.5pF
----1015-1015pF
= -40oC to +85oC, VDD±10%, Except as noted (Continued)
A
CDP6402CDP6402C
V
V
IN
(V)
DD
(V)
0,55-±10
0,1010-±10
MIN
(NOTE 1)
TYPMAXMIN
-4
-4
-4
-4
±1- - ±1µA
±2- - - µA
±1-±10
±10---µA
(NOTE 1)
TYPMAX
-4
UNITS
±1µA
NOTES:
1. Typical values are for TA= 25oC and nominal V
DD
2. IOL = IOH = 1µA.
3. Operating current is measured at 200kHz or VDD = 5V and 400kHz for VDD = 10V, with open outputs (worst-case frequencies for
CDP1802A system operating at maximum speed of 3.2MHz).
5-77
Description of Operation
CDP6402, CDP6402C
Initialization and Controls
A positive pulse on the MASTER RESET (MR) input resets
the control, status, and receiver buffer registers, and sets the
serial output (TRO) High. Timing is generated from the clock
inputs RRC and TRC at a frequency equal to 16 times the
serial data bit rate. The RRC and TRC inputs may be driven
by a common clock, or may be driven independently by two
different clocks. The CONTROL REGISTER LOAD (CRL)
input is strobed to load control bits for PARITY INHIBIT (PI),
EVEN PARITY ENABLE (EPE), STOP BIT SELECTS (SBS),
and CHARACTER LENGTH SELECTS (CLS1 and CLS2).
These inputs may be hand wired to V
V
. When the initialization is completed, the UART is ready
DD
or VDD with CRL to
SS
for receiver and/or transmitter operations.
Transmitter Operation
The transmitter section accepts parallel data, formats it, and
transmits it in serial form (Figure 2) on the TRO terminal.
1, 1-1/2 OR
MSB
2 STOP BITS
†
P ARITY
START
BIT
† IF ENABLED
5 - 8 DATA BITS
LSB
FIGURE 2. SERIAL DATA FORMAT
Transmitter timing is shown in Figure 3. (A) Data is loaded
into the transmitter buffer register from the inputs TBR1
through TBR8 by a logic low on the
must be present at least t
rising edge of
TBRL. If words less than 8-bits are used, only
prior to, and tTD following, the
DT
TBRL input. Valid data
the least significant bits are used. The character is right justified into the least significant bit, TBR1. (B) The rising edge of
TBRL clears TBRE. 1/2 to 11/2 cycles later, depending on
when the
TBRL pulse occurs with respect to TRC, data is
transferred to the transmitter register and TRE is cleared.
TBRE is set to a logic High one cycle after that.
Output data is clocked by TRC. The clock rate is 16 times
the data rate. (C) A second pulse on
TBRL loads data into
the transmitter buffer register. Data transfer to the transmitter
register is delayed until transmission of the current character
is complete. (D) Data is automatically transferred to the
transmitter register and transmission of that character
begins.
TBRL
TBRE
TRE
TRODATA
A
FIGURE 3. TRANSMITTER TIMING WAVEFORMS
1-1/2 TO 2-1/2 CYCLES
1/2 TO 1-1/2 CYCLES
1 TO 2 CYCLES
BC D
1/2
CLOCK
END OF
LAST
STOP BIT
Receiver Operation
Data is received in serial form at the RRl input. When no
data is being received, RRI input must remain high. The data
is clocked through the RRC. The clock rate is 16 times the
data rate. Receiver timing is shown in Figure 4.
BEGINNING OF FIRST STOP BIT
RRI
RBRI-8, OE
DRR
DR
FE, PE
ABC
FIGURE 4. RECEIVER TIMING WAVEFORMS
(A) A low level on
DRR clears the DR line. (B) During the first
8 1/2 TO 9 1/2
CLOCK CYCLES
1/2 CLOCK
CYCLES
stop bit data is transferred from the receiver register to the
RB Register. If the word is less than 8 bits, the unused most
significant bits will be a logic low. The output character is
right justified to the least significant bit RBR1. A logic high on
OE indicates overruns. An overrun occurs when DR has not
been cleared before the present character was transf erred to
the RBR. (C) 1/2 clock cycle later DR is set to a logic high
and FE is evaluated. A logic high on FE indicates an invalid
stop bit was received. A logic high on PE indicates a parity
error.
Start Bit Detection
The receiver uses a 16X clock for timing (Figure 5). The start
bit could have occurred as much as one clock cycle before it
was detected, as indicated by the shaded portion. The center of the start bit is defined as clock count 7 1/2. If the
receiver clock is a symmetrical square wave, the center of
the start bit will be located within ±1/2 clock cycle ±1/32 bit or
±3.125%. The receiver begins searching for the next start bit
at 9 clocks into the first stop bit.
COUNT 7 1/2
DEFINED CENTER
OF STAR T BIT
CLOCK
RRI
INPUT
ASTART
7 1/2 CLOCK
CYCLES
8 1/2 CLOCK
CYCLES
FIGURE 5. START BIT TIMING WAVEFORMS
5-78
CDP6402, CDP6402C
TABLE 1. CONTROL WORD FUNCTION
CONTROL WORD
DATA BITSPARITY BITSTOP BIT (S)CLS2CLS1PIEPESBS
LLLLL5 ODD1
LLLLH5 ODD1.5
LLLHL5 EVEN1
LLLHH5 EVEN1.5
LLHXL5DISABLED1
LLHXH5DISABLED1.5
LHLLL6 ODD1
LHLLH6 ODD2
LHLHL6 EVEN1
LHLHH6 EVEN2
LHHXL6DISABLED1
LHHXH6DISABLED2
HLLLL7 ODD1
HLLLH7 ODD2
HLLHL7 EVEN1
HLLHH7 EVEN2
HLHXL7DISABLED1
HLHXH7DISABLED2
HHLLL8 ODD1
HHLLH8 ODD2
HHLHL8 EVEN1
HHLHH8 EVEN2
HHHXL8DISABLED1
HHHXH8DISABLED2
NOTE: X = Don’t Care
5-79
CDP6402, CDP6402C
TABLE 2. FUNCTION PIN DEFINITION
PINSYMBOLDESCRIPTION
1VDDPositive Power Supply
2N/CNo Connection
3GNDGround (VSS)
4RRDA high level on RECEIVER REGISTER DISABLE forces the receiver holding register ouputs RBR1-RBR8 to
a high impedance state.
5RBR8The contents of the RECEIVER BUFFER REGISTER appear on these three-state outputs. Word formats less
than 8 characters are right justified to RBR1.
6RBR7
7RBR6
8RBR5
9RBR4
10RBR3
11RBR2
12RBR1
13 PEA high level on PARITY ERROR indicates that the received parity does not match parity programmed by control
14 FEA high level on FRAMING ERROR indicates the first stop bit was invalid. FE will sta y active until the next valid
15OEA high level on OVERRUN ERROR indicates the data received flag was not cleared before the last character
16SFDA high level on STATUS FLAGS DISABLE forces the outputs PE, FE, OE, DR, TBRE to a high impedance
17RRCThe RECEIVER REGISTER CLOCK is 16X the receiver data rate.
18DRRA low level on DATA RECEIVED RESET clears the data received output (DR), to a low level.
19 DRA high lev el on DAT A RECEIVED indicates a char acter has been received and transf erred to the receiver b uffer
20RRlSerial data on RECEIVER REGISTER INPUT is clocked into the receiver register.
See Pin 5 - RBR8
bits. The output is active until parity matches on a succeeding character. When parity is inhibited, this output
is low.
character’s stop bit is received.
was transferred to the receiver b uffer register . The Error is reset at the next char acter’s stop bit if DRR has been
performed (i.e., DRR; active low).
state.
register.
21 MRA high level on MASTER RESET (MR) clears PE, FE, OE and DR, and sets TRE, TBRE, and TRO. TRE is
actually set on the first rising edge of TRC after MR goes high. MR should be strobed after power-up.
22TBREA high level on TRANSMITTER BUFFER REGISTER EMPTY indicates the transmitter buffer register has
transferred its data to the transmitter register and is ready for new data.
23TBRLA low level on TRANSMITTER BUFFER REGISTER LOAD transfers data from inputs TBR1-TBR8 into the
transmitter buffer register. A low to high transition on TBRL requests data transfer to the transmitter register. If
the transmitter register is busy, transfer is automatically delayed so that the two characters are transmitted end
to end.
24TREA high level on TRANSMITTER REGISTER EMPTY indicates completed transmission of a char acter including
stop bits.
5-80
CDP6402, CDP6402C
TABLE 2. FUNCTION PIN DEFINITION (Continued)
PINSYMBOLDESCRIPTION
25TROCharacter data, start data and stop bits appear serially at the TRANSMITTER REGISTER OUTPUT.
26TBR1Character data is loaded into the TRANSMITTER BUFFER REGISTER via inputs TBR1-TBR8. For character
formats less than 8 bits, the TBR8, 7, and 6 Inputs are ignored corresponding to the programmed word length.
27TBR2
28TBR3
29TBR4
30TBR5
31TBR6
32TBR7
33TBR8
34CRLA high level on CONTROL REGISTER LOAD loads the control register.
35 PI†A high level on PARITY INHIBIT inhibits parity generation, parity checking and forces PE output low.
36SBS†A high level on STOP BIT SELECT selects 1.5 stop bits for a 5 character format and 2 stop bits for other
37CLS2†These inputs program the CHARACTER LENGTH SELECTED. (CLS1 low CLS2 low 5 bits) (CLS1 high CLS2
38CLSl†See Pin 37 - CLS2
39EPE†When PI is low, a high level on EVEN PARITY ENABLE generates and checks even parity . A lo w level selects
40TRCThe TRANSMITTER REGISTER CLOCK is 16X the transmit data rate.
† See Table 1 (Control Word Function)
See Pin 26 - TBR1
lengths.
low 6 bits) (CLS1 low CLS2 high 7 bits) (CLS1 high CLS2 high 8 bits).
odd parity.
5-81
CDP6402, CDP6402C
Dynamic Electrical Specifications at T
= -40oC to +85oC, VDD±5%, tR, tF = 20ns, VIH = 0.7 VDD, VIL = 0.3 VDD, CL = 100pF
A
LIMITS
CDP6402CDP6402C
(NOTE 1)
PARAMETER
V
(V)
DD
(NOTE 2)
TYP
(NOTE 3)
MAX
SYSTEM TIMING (See Figure 6)
Minimum Pulse Width
CRL
Minimum Setup Time
Control Word to CRL
Minimum Hold Time
Control Word after CRL
Propagation Delay Time
SFD High to SOD
SFD Low to SODt
t
CRL
t
CWC
t
CCW
t
SFDH
SFDL
55015050150ns
1040100--ns
5 20502050ns
10040--ns
5 40604060ns
102030--ns
5130200130200ns
10100150--ns
5130200130200ns
104060--ns
RRD High to Receiver Register
High Impedance
RRD Low to Receiver Register
Active
Minimum Pulse Width
MR
t
RRDH
t
RRDL
58015080150ns
104070--ns
58015080150ns
104070--ns
5200400200400ns
10100200--ns
NOTES:
1. All measurements are made at the 50% point of the transition except three-state measurements.
2. Typical values for TA = 25oC and nominal VDD.
3. Maximum limits of minimum characteristics are the values above which all devices function.
(NOTE 2)
TYP
(NOTE 3)
MAX
UNITS
CONTROL WORD INPUT
CRL
STATUS OUTPUTS
SFD
R BUS 0
R BUS 7
RRD
CONTROL INPUT WORD TIMING
CONTROL WORD BYTE
t
CWC
t
CRL
STATUS OUTPUT TIMING
t
SFDH
RECEIVER REGISTER DISCONNECT TIMING
t
RRDH
90%
10%
90%
10%
FIGURE 6. SYSTEM TIMING WAVEFORMS
5-82
70%
30%
70%
30%
t
CCW
t
RRDL
t
SFDL
CDP6402, CDP6402C
Dynamic Electrical Specifications at T
(NOTE 1)
PARAMETER
TRANSMITTER TIMING (See Figure 7)
Minimum Clock Period (TRC)t
Minimum Pulse Width
Clock Low Levelt
Clock High Levelt
TBRLt
Minimum Setup Time
TBRL to Clockt
= -40oC to +85oC, VDD±5%, tR, tF = 20ns, VIH = 0.7 VDD, VIL = 0.3 VDD, CL = 100pF
A
LIMITS
CDP6402CDP6402C
CC
V
DD
(V)
(NOTE 2)
TYP
5250310250310ns
(NOTE 3)
MAX
(NOTE 2)
TYP
(NOTE 3)
MAX
UNITS
10125155--ns
CL
5100125100125ns
1075100--ns
CH
5100125100125ns
1075100--ns
THTH
58020080200ns
1040100--ns
THC
5175275175275ns
1090150--ns
Data to TBRLt
DT
5 20502050ns
10040--ns
Minimum Hold-Time
Data after TBRLt
TD
5 40604060ns
102030--ns
Propagation Delay Time
Clock to Data Start Bitt
CD
5300450300450ns
10150225--ns
Clock to TBREt
CT
5330400330400ns
10100150--ns
TBRL to TBREt
TTHR
5200300200300ns
10100150--ns
Clock to TREt
TTS
5330400330400ns
10100150--ns
NOTES:
1. All measurements are made at the 50% point of the transition except three-state measurements.
2. Typical values for TA = 25oC and nominal VDD.
3. Maximum limits of minimum characteristics are the values above which all devices function.
5-83
CDP6402, CDP6402C
TRANSMITTER BUFFER
REGISTER LOADED
(NOTE 1)
t
CC
t
THC
t
t
THTH
TTHR
t
DT
t
CL
DAT A
TRC
TBRL
TRO
TBRE
TRE
T BUS 0
T BUS 7
t
CH
NOTES:
1. The holding register is loaded on the trailing edge of TBRL.
2. The transmitter shift register, if empty , is loaded on the first high-to-low transition of the clock which occurs at least 1/2 clock period +
t
after the trailing edge of TBRL and transmission of a start bit occurs 1/2 clock period + tCD later.
THC
FIGURE 7. TRANSMITTER TIMING WAVEFORMS
TRANSMITTER SHIFT
REGISTER LOADED
(NOTE 2)
12
t
TTS
t
DT
34567141516123
t
CD
1ST DATA BIT
t
CT
t
CD
RRC
(NOTE 1)
RRI
R BUS 0 -
R BUS 7
DR
DRR
OE
(NOTE 2)
PE
FE
t
CC
t
CH
t
CL
12
t
DC
CLOCK 7 1/2
SAMPLE
3456716
START BIT PARITY
t
DDA
t
DD
123456789
STOP BIT 1
CLOCK 7 1/2 LOAD
HOLDING REGISTER
t
COE
t
CPE
t
CFE
t
CDV
DAT A
t
CDA
NOTES:
1. If a start bit occurs at a time less than tDC before a high-to-low transition of the clock, the start bit may not be recognized until the next
high-to-low transition of the clock. The start bit may be completely asynchronous with the clock.
2. If a pending DA has not been cleared by a read of the receiver holding register by the time a new word is loaded into the receiver holding
register, the OE signal will come true..
FIGURE 8. RECEIVER TIMING WAVEFORMS
5-84
CDP6402, CDP6402C
Dynamic Electrical Specifications at T
(NOTE 1)
PARAMETERS
RECEIVER TIMING (See Figure 8)
Minimum Clock Period (RRC)t
Minimum Pulse Width
Clock Low Levelt
Clock High Levelt
Data Received Resett
Minimum Setup Time
Data Start Bit to Clockt
= -40oC to +85oC, VDD±5%, tR, tF = 20ns, VIH = 0.7 VDD, VIL = 0.3 VDD, CL = 100pF
A
LIMITS
CDP6402CDP6402C
CC
V
DD
(V)
(NOTE 2)
TYP
5250310250310ns
(NOTE 3)
MAX
(NOTE 2)
TYP
(NOTE 3)
MAX
UNITS
10125155--ns
CL
5100125100125ns
1075100--ns
CH
5100125100125ns
1075100--ns
DD
5 50755075ns
102540--ns
DC
5100150100150ns
105075--ns
Propagation Delay Time
Data Received Reset to
t
DDA
5150250150250ns
Data Received
1075125--ns
Clock to Data Validt
CDV
5275400275400ns
10110175--ns
Clock to DR t
CDA
5275400275400ns
10110175--ns
Clock to Overrun Errort
COE
5275400275400ns
10100150--ns
Clock to Parity Errort
CPE
5240375240375ns
1012017--ns
Clock to Framing Errort
CFE
5200300200300ns
10100150--ns
NOTES:
1. All measurements are made at the 50% point of the transition except three-state measurements.
2. Typical values for TA = 25oC and nominal VDD.
3. Maximum limits of minimum characteristics are the values above which all devices function.
5-85
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.