SP336EEY-L [EXAR]
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER; 3.3V - 5V可编程RS - 232 / RS - 485 / RS - 422串行收发器型号: | SP336EEY-L |
厂家: | EXAR CORPORATION |
描述: | 3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER |
文件: | 总30页 (文件大小:1125K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
SP336E
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
MARCH 2010
REV. 1.0.0
FEATURES
GENERAL DESCRIPTION
• 3.3V or 5V Single Supply Operation
The SP336E is a monolithic serial multi-transceiver
device that contains both RS-232 and RS-485/RS-
422 line drivers and receivers. The configuration of
the SP336E can be reconfigured into eight operating
modes including RS-232 only (4TX/4RX), RS-485/
RS-422 only (2TX/2RX) full or half duplex, two RS-
232/RS-485 mixed modes. two shutdown modes and
a diagnostic loop-back mode. Modes may be
selected at any time by changing the logic state of the
three MODE pins. The device can implement a dual-
mode serial port, mixed mode ports or as an interface
signal translator. The Exar charge pumps deliver true
RS-232 driver output voltages from a single power
supply at either 3.3V or 5V. The SP336E requires
only four 0.1μF capacitors for charge pump. A slew
rate control pin configures driver outputs for either
high data rate or slew-controlled data rates. Slew-
controlled outputs minimize problems with reflections
and ringing on long or un-terminated cables. All RS-
485 receivers or transceivers feature high impedance
which allow up to 256 transceivers on a shared bus.
When configured in RS-485/RS-422 mode, each
driver may be individually enabled or put into tri-state,
simplifying use on shared buses or bidirectional
communication. All receivers have advanced failsafe
protection to prevent oscillation when inputs are un-
connected. In RS-232 mode each receiver input has
a 5k ohm pull-down to ground. Differential Receivers
will default to output logic 1 if inputs are floating,
shorted or open but terminated. All driver outputs and
receiver inputs are protected against ESD strikes up
to +/-15,000 volts.
• Robust +/-15kV ESD Protection (IEC 61000-4-2 Air
Gap)
• Software Selectable Mode Selection
• Up to 4 Drivers, 4 Receivers RS-232/V.28
• Up to 2 Drivers, 2 Receivers RS-485/RS-422
■ Full or Half Duplex Configurations
■ 1/8th Unit Load, up to 256 receivers on bus
• Mixed RS-232/RS-485 modes
• Pin Programmable Slew Rate for Reduced EMI
• RS-485 Advanced Failsafe on Open, Short or
Terminated Lines
• Diagnostic Loop-Back Function
• 28 Pin SOIC or TSSOP Packaging
TYPICAL APPLICATIONS
• Factory Automation Equipment
• Security Networks
• Industrial/Process Control Networks
• Point-Of-Sales Equipment
• Gaming Machines
• Serial Protocol Translators (ex. RS-232 to RS-485/
RS-422)
• Embedded Industrial PC’s
• Building Environmental Control Systems (ex.
HVAC)
• Cable Repeaters / Port Extenders / Hubs
Exar Corporation 48720 Kato Road, Fremont CA, 94538 • (510) 668-7000 • FAX (510) 668-7017 • www.exar.com
SP336E
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
REV. 1.0.0
FIGURE 1. TYPICAL RS-232 APPLICATION CIRCUIT
2
SP336E
REV. 1.0.0
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
FIGURE 2. PIN OUT ASSIGNMENT
1
2
28
27
26
25
24
23
22
21
20
19
18
17
16
15
T4_In
MODE_1
T4_Out
T3_Out
Vcc
T3_In
T2_In
3
T1_In
4
SLEW
MODE_0
MODE_2
R4_Out
R3_Out
R2_Out
R1_Out
R4_In
5
6
T1_Out
T2_Out
GND
C1+
SP336E
SOIC/
TSSOP
7
8
9
10
11
12
13
14
V+
C2+
C1-
R3_In
C2-
R2_In
V-
R1_In
ORDERING INFORMATION
OPERATING TEMPERATURE
RANGE
PART NUMBER
PACKAGE
DEVICE STATUS
SP336ECT-L
SP336ECY-L
SP336EET-L
SP336EEY-L
28-pin SOIC-W
28-pin TSSOP
28-pin SOIC-W
28-pin TSSOP
0°C to +70°C
0°C to +70°C
-40°C to +85°C
-40°C to +85°C
Active
Active
Active
Active
3
SP336E
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
REV. 1.0.0
FIGURE 3. TYPICAL RS-485 APPLICATION CIRCUIT
4
SP336E
REV. 1.0.0
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
PIN DESCRIPTIONS
Pin Assignments
DESCRIPTION
PIN NUMBER
PIN NAME
TYPE
SINGLE ENDED
FULL-DUPLEX
HALF-DUPLEX
1
T4_In
I
T4 Driver TTL input.
T3 Driver Enable
Active High.
T3 Driver Enable
Active High, R3 Enable
Active Low.
2
3
Mode_1
T4_Out
I
Mode Configuration pin 1.
T3(A) Output.
O
T4 Driver Output.
T3 Driver Output.
T3(A) Output,
R3(A) Input.
4
T3_Out
O
T3(B) Output.
T3(B) Output,
R3(B) Input.
5
6
Vcc
Pwr
O
Power Supply Voltage.
T1(A) Output.
T1_Out
T1 Driver Output.
T2 Driver Output.
Ground.
T1(A) Output,
R1(A) Input.
7
T2_Out
O
T1(B) Output.
T1(B) Output,
R1(B) Input.
8
GND
C1+
Pwr
9
Pmp
Positive terminal of positive flying capacitor.
Vdd storage capacitor.
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
V+
Pmp
C2+
Pmp
Positive terminal of negative flying capacitor.
Negative terminal of positive flying capacitor.
Negative terminal of negative flying capacitor.
Vss storage capacitor.
C1-
Pmp
C2-
Pmp
V-
Pmp
R1_In
R2_In
R3_In
R4_In
R1_Out
R2_Out
R3_Out
R4_Out
Mode_2
Mode_0
SLEW
I
I
I
I
I
I
I
I
I
I
I
R1 Receiver Input.
R1(A) Receiver Input.
R1(B) Receiver Input.
R3(A) Receiver Input.
R3(B) Receiver Input.
R1 Receiver Output.
High Impedance.
High Impedance.
R2 Receiver Input.
R3 Receiver Input.
R4 Receiver Input.
R2 Receiver Input.
High Impedance.
R4 Receiver Input.
R2 Receiver Output.
R4 Receiver Output.
R2 Receiver Output.
R4 Receiver Output.
R3 Receiver Output.
High Impedance.
Mode Configuration pin 2.
Mode Configuration pin 0.
Slew Rate Control. Logic Low input will limit driver slew from either RS-232
or RS-485 to 250kbps.
26
T1_In
I
T1 Driver Input.
5
SP336E
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
Pin Assignments
REV. 1.0.0
DESCRIPTION
PIN NUMBER
PIN NAME
TYPE
SINGLE ENDED
FULL-DUPLEX
HALF-DUPLEX
27
T2_In
I
T2 Driver Input.
T1 Driver Enable Active T1 Driver Enable Active
High.
High and R1 Receiver
Enable Active Low.
28
T3_In
I
T3 Driver Input.
Pin type: I=Input, O=Output, Pwr=Power supply, Pmp = Charge pump.
6
SP336E
REV. 1.0.0
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
MODE CONFIGURATION
OPERATION:
RS-232 MODE
4T/4R RS-232
001
MIXED-PROTOCOL FULL DUPLEX
2T/2R RS-232 & 1T/1R RS-485
011
MODE (M0, M1, M2)
7
SP336E
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
REV. 1.0.0
MODE CONFIGURATION (CONTINUED)
OPERATION:
LOW POWER SHUTDOWN
ALL I/O AT HIGH IMPEDANCE
111
RS-485/RS-422 FULL DUPLEX
2T/2R RS-485
101
MODE (M0, M1, M2)
8
SP336E
REV. 1.0.0
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
MODE CONFIGURATION (CONTINUED)
OPERATION:
LOOP-BACK TXIN TO RXOUT
TXOUT AND RXIN HIGH IMPEDANCE
000
MIXED-PROTOCOL HALF DUPLEX
2T/3R RS-232 & 1T/1R RS-485
010
MODE (M0, M1, M2)
9
SP336E
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
REV. 1.0.0
MODE CONFIGURATION (CONTINUED)
OPERATION:
LOW POWER, 4 RX ACTIVE
DRIVERS AT HIGH IMPEDANCE
110
RS-485/RS-422 HALF DUPLEX
4T/2R RS-485 & 2R RS-232
100
MODE (M0, M1, M2)
10
SP336E
REV. 1.0.0
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
ABSOLUTE MAXIMUM RATINGS
These are stress ratings only and functional operation of the device at these ratings or any other above those indicated in the operation sections to the
specifications below is not implied. Exposure to absolute maximum rating conditions for extended periods of time may affect reliability and cause permanent
damage to the device.
Supply Voltage VCC
+6.0V
Receiver Input VIN (DC Input Voltage)
-15V to +15V
Input Voltage at TTL input Pins
Driver Output Voltage (from Ground)
Short Circuit Duration, TXout to GND
Storage Temperature Range
-0.3V to Vcc + 0.5V
-7.5V to +12.5V
Continuous
-65°C to + 150°C
+300°C
Lead Temperature (soldering, 10s)
Power Dissipation 28-pin SOIC-W
(derate 17mW/°C above +70°C)
938mW
Power Dissipation 28-pin TSSOP
(derate 12mW/°C above +70°C)
657mW
CAUTION:
ESD (Electrostatic Discharge) sensitive device. Permanent damage may occur on unconnected devices subject to high energy electrostatic fields. Unused
devices must be stored in conductive foam or shunts. Personnel should be properly grounded prior to handling this device. The protective foam should be
discharged to the destination socket before devices are removed.
ELECTRICAL CHARACTERISTICS
UNLESS OTHERWISE NOTED: VCC = +3.3V +/-5% OR +5.0V +/-5%; TA = TMIN TO TMAX. TYPICAL VALUES ARE AT
VCC = 3.3V, TA = +25OC.
SYMBOL
PARAMETERS
MIN.
TYP.
MAX. UNITS
CONDITIONS
DC CHARACTERISTICS
ICC
ICC
ICC
Supply Current (RS-232)
Supply Current (RS-485)
Vcc Shutdown Current
2
6.5
1
30
20
20
mA No Load, MODE = 001.
mA No Load, MODE = 101.
MODE = 111.
μA
TRANSMITTER and LOGIC INPUT PINS: Pins 1, 2, 23, 24, 25, 26, 27, 28
VIH
VIH
VIL
Logic Input Voltage HIGH
Logic Input Voltage HIGH
Logic Input Voltage LOW
Logic Input Pull-up Current
Logic Input Hysteresis
2.0
2.4
V
V
Vcc = 3.3V.
Vcc = 5.0V.
0.8
V
IIL
+/-15
μA
V
VHYS
0.5
RS-232 and RS-485/422 RECEIVER OUTPUTS: Pins 19, 20, 21, 22
VOH
Receiver Output Voltage HIGH
Vcc-
0.6
V
V
IOUT = -1.5mA.
IOUT = 2.5mA.
VOL
Receiver Output Voltage LOW
0.4
IOSS
Receiver Output Short-Circuit
Current
+/-20
+/-60
mA 0 < Vo < Vcc.
11
SP336E
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
REV. 1.0.0
UNLESS OTHERWISE NOTED: VCC = +3.3V +/-5% OR +5.0V +/-5%; TA = TMIN TO TMAX. TYPICAL VALUES ARE AT
VCC = 3.3V, TA = +25OC.
SYMBOL
PARAMETERS
MIN.
TYP.
MAX. UNITS
CONDITIONS
IOZ
Receiver Output Leakage Current
+/-
0.05
+/-1
Receivers Disabled.
μA
SINGLE-ENDED RECEIVER INPUTS (RS-232)
Input Voltage Range
-15
0.6
+15
V
V
Input Threshold Low
1.2
1.5
1.5
1.8
VCC = 3.3V.
VCC = 5.0V.
VCC = 3.3V.
VCC = 5.0V.
0.8
V
V
Input Threshold HIGH
2.0
2.4
V
Input Hysteresis
Input Resistance
0.5
5
V
3
7
kΩ
DIFFERENTIAL RECEIVER INPUTS (RS-485 / RS-422)
RIN
Receiver Input Resistance
96
kΩ
-7V ≤ VCM ≤ +12V.
VTH
Receiver Differential Threshold Volt-
age
-200
-125
30
-50
mV
ΔVTH
Receiver Input Hysteresis
Input Current
mV VCM = 0V.
IIN
125
DE = 0V, VIN = 12V, Full-Duplex.
μA
μA
-100
DE = 0V, VIN = -7V, Full-Duplex.
SINGLE-ENDED DRIVER OUTPUTS (RS-232)
VO
Output Voltage Swing
+/-5.0 +/-5.4
V
V
Output Loaded with 3kΩ to
GND.
+/-6.0
+/-60
No Load Output.
Short Circuit Current
Power Off Impedance
mA VO = 0V.
300
10M
Vcc = 0V; VO = +/-2V.
Ω
DIFFERENTIAL DRIVER OUTPUTS (RS-485 / RS-422)
VOD
Differential Driver Output (Tx_Out)
2
Vcc
Vcc
Vcc
Vcc
+0.2
V
V
V
V
V
RL = 100Ω (RS-422), Figure 4.
RL = 54Ω (RS-485), Figure 4.
VCM = -7V, Figure 5.
1.5
1.5
1.5
-0.2
VCM = +12V, Figure 5.
ΔVOD
VOC
Change In Magnitude of Differential
Output Voltage
RL = 54Ω or 100Ω, Figure 4.
Driver Common Mode Output Volt-
age
3
V
V
RL = 54Ω or 100Ω, Figure 4.
RL = 54Ω or 100Ω, Figure 4.
ΔVOC
Change In Magnitude of Common
Mode Output Voltage
0.2
Driver Output Short Circuit Current
Output Leakage Current
+/-250 mA V = +12V to -7V, Figure 6.
IO
+/-100
DE = 0V or Shutdown, VO
+12V to -7V.
=
μA
12
SP336E
REV. 1.0.0
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
UNLESS OTHERWISE NOTED: VCC = +3.3V +/-5% OR +5.0V +/-5%; TA = TMIN TO TMAX. TYPICAL VALUES ARE AT
VCC = 3.3V, TA = +25OC.
SYMBOL
PARAMETERS
MIN.
TYP.
MAX. UNITS
CONDITIONS
ESD PROTECTION
ESD Protection for Rx_In and
Tx_Out pins
+/-15
+/-8
kV
kV
IEC 61000-4-2 Air Discharge.
IEC 61000-4-2 Contact
Discharge.
+/-15
+/-2
kV
kV
Human Body Model.
Human Body model.
All Other Pins
TIMING CHARACTERISTICS
RS-232 (SLEW = GND, 250kbps, ONE TRANSMITTER SWITCHING)
Maximum Data Rate
Receiver Propagation Delay
Receiver Skew
250
kbps RL = 3kΩ, CL = 1000pF.
tPHL, tPLH
100
50
ns
ns
ns
CL = 150pF.
CL = 150pF.
⏐tPHL-tPLH
⏐tPHL-tPLH
⏐
⏐
Driver Skew
100
tTHL, TLH
t
Transition-Region Slew Rate from
+3.0V to -3.0V or -3.0V to +3.0V
6
30
V/μs Vcc = 3.3V, TA =25°C, RL = 3kΩ
to 7kΩ, CL = 150pF to 1000pF,
Figures 20 and 21.
RS-232 (SLEW = Vcc, 1Mbps, ONE TRANSMITTER SWITCHING)
Maximum Data Rate
1
Mbps RL = 3kΩ, CL = 250pF.
tPHL, tPLH
Receiver Propagation Delay
100
ns
CL = 150pF,
Figures 22 and 23.
⏐tPHL-tPLH
⏐tPHL-tPLH
⏐
Receiver Skew
Driver Skew
50
25
90
ns
ns
CL = 150pF.
⏐
tTHL, TLH
t
Transition-Region Slew Rate from
+3.0V to -3.0V or -3.0V to +3.0V
V/μs Vcc = 3.3V, RL = 3kΩ to 7kΩ,
CL = 150pF to 1000pF.
RS-485/RS-422 (SLEW = GND, 250kbps, ONE TRANSMITTER SWITCHING)
Maximum Data Rate
250
kbps
ns
RDIFF = 54Ω, CL = 50pF.
tDPHL, tDPLH Differential Output Propagation
Delay Time
250
200
1500
Figures 7 and 8.
tR, F
⏐tDPHL
tDPLH
t
Driver Rise and Fall Time
1500
200
ns
ns
Figures 7 and 8.
Figures 7 and 8.
-
Driver Propagation Delay Skew
⏐
tDZH, tDZL
tDHZ, tDLZ
tPHL, tPLH
tZH
Driver Output Enable Time
900
900
150
ns
ns
ns
ns
ns
ns
Figures 9, 10, 11 and 12.
Figures 9, 10, 11 and 12.
Figures 13 and 14.
Driver Output Disable Time
Receiver Propagation Delay
Receiver Enable to Output High
Receiver Enable to Output Low
Receiver Output High to Disable
50
50
50
Figures 15 and 16.
tZL
Figures 15 and 17.
tHZ
Figures 15 and 18.
13
SP336E
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
REV. 1.0.0
UNLESS OTHERWISE NOTED: VCC = +3.3V +/-5% OR +5.0V +/-5%; TA = TMIN TO TMAX. TYPICAL VALUES ARE AT
VCC = 3.3V, TA = +25OC.
SYMBOL
PARAMETERS
MIN.
TYP.
MAX. UNITS
CONDITIONS
tLZ
Receiver Output Low to Disable
50
ns
Figures 15 and 19.
RS-485/RS-422 (SLEW = Vcc, 10Mbps, ONE TRANSMITTER SWITCHING)
Maximum Data Rate
10
Mbps
ns
RDIFF = 54Ω, CL = 50pF.
tDPHL, tDPLH Differential Output Propagation
Delay Time
60
10
120
Figures 7 and 8.
tR, F
⏐tDPHL
tDPLH
t
Driver Rise and Fall Time
25
10
ns
ns
Figures 7 and 8.
Figures 7 and 8.
-
Driver Propagation Delay Skew
⏐
tDZH, tDZL
tDHZ, tDLZ
tPHL, tPLH
tZH
Driver Output Enable Time
900
900
150
ns
ns
ns
ns
ns
ns
ns
Figures 9, 10, 11 and 12.
Figures 9, 10, 11 and 12.
Figures 13 and 14.
Figures 15 and 16.
Figures 15 and 17.
Figures 15 and 18.
Figures 15 and 19.
Driver Output Disable Time
Receiver Propagation Delay
Receiver Enable to Output High
Receiver Enable to Output Low
Receiver Output High to Disable
Receiver Output Low to Disable
32
32
40
40
tZL
tHZ
tLZ
14
SP336E
REV. 1.0.0
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
1.0 FUNCTION TABLES
The SP336E drivers and receivers may be configured to operate as either standard RS-485/RS-422 or RS-232
devices. RS-485/RS422 drivers have differential outputs and receivers have differential inputs. RS-232 drivers
and receivers are single-ended with inverting outputs.
TABLE 1: R-485/RS-422 FULL DUPLEX: MODE 011 (T3, R3), MODE 101 (T1, T3, R1, R3)
DRIVERS
RECEIVERS
Inputs
Outputs
Inputs
Output
Tx_In
Tx(A)
Tx(B)
Rx(A) - Rx(B)
> -50mV
RxOut
Tx_EN
1
1
0
1
0
x
0
1
1
0
1
0
1
≤ -200mV
High-Z
Open / Shorted
TABLE 2: R-485/RS-422 HALF DUPLEX: MODE 010 (T3, R3), MODE 100 (T1, T3, R1, R3)
TRANSMITTING
RECEIVING
Inputs
Outputs
Inputs
Outputs
RxOut
High-Z
High-Z
1
DE/RE
TxIn
Tx(A)
Tx(B)
DE/RE
Rx(A) - Rx(B)
1
1
1
0
0
1
1
0
1
1
0
0
0
x
x
> -50mV
≤ -200mV
Open / Shorted
0
x
High-Z
High-Z
0
1
TABLE 3: RS-232 MODE 001 (ALL TX AND RX), MODES 011, 010 (T1, T2, R1, R2), MODE 110 (R1- R4)
DRIVERS
RECEIVERS
Input
0
Output
≥ 5V
Input
≥ 3V
Output
0
1
1
1
≤ -5V
≤ -5V
≤ -3V
Open
Open
15
SP336E
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
REV. 1.0.0
FIGURE 4. RS-485 DRIVER DC TEST CIRCUIT
RL/2
VOD
DI
T
RL/2
VOC
VCC
FIGURE 5. RS-485 DRIVER COMMON MODE LOAD TEST
DE = 3.3V
375Ω
375Ω
A
DI = 0 or Vcc
60Ω
Tx
VOD
B
VCM
FIGURE 6. RS-485 DRIVER OUTPUT SHORT CIRCUIT TEST
EN = 0 or Vcc
A
B
I
OSD
DI = 0 or Vcc
D
100Ω
-7V to +12V
V
16
SP336E
REV. 1.0.0
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
FIGURE 7. RS-485 DRIVER PROPAGATION DELAY TEST CIRCUIT
RL
CL
A
54Ω 50pF
DI
Tx
VOD
B
3.3V
FIGURE 8. RS-485 DRIVER TIMING DIAGRAM
Vcc
Vcc/2
Vcc/2
DI
0V
B
tPLH
tPHL
1/2VO
1/2VO
VO
A
tDPLH
90%
10%
tDPHL
+
VO
VDIFF
VA –VB
90%
10%
tF
0V
–
VO
tR
tSKEW= |tDPLH-tDPHL
|
FIGURE 9. RS-485 DRIVER ENABLE AND DISABLE TEST CIRCUIT
A
B
S1
DI
Vcc
Tx
OUT
RL = 500Ω
CL = 50pF
GENERATOR
50Ω
17
SP336E
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
REV. 1.0.0
FIGURE 10. RS-485 DRIVER ENABLE AND DISABLE TIMING DIAGRAM
Vcc
DE
Vcc/2
0
0
tDZH
0.25V
OUT
VOM = (VOL + Vcc)/2
tDHZ
FIGURE 11. RS-485 DRIVER ENABLE AND DISABLE TEST CIRCUIT 2
Vcc
RL = 500Ω
OUT
A
B
S1
DI
0
Tx
CL = 50pF
GENERATOR
50Ω
FIGURE 12. RS-485 DRIVER ENABLE AND DISABLE TIMING DIAGRAM 2
Vcc
Vcc/2
0
DE
tDZL
tDLZ
OUT
VOM = (VOL + Vcc)/2
VOL
0.25V
18
SP336E
REV. 1.0.0
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
FIGURE 13. RS-485 RECEIVER PROPAGATION DELAY TEST CIRCUIT
A
OUT
CL
15pF
VID
R
B
RE
FIGURE 14. RS-485 RECEIVER PROPAGATION DELAY TIMING DIAGRAM
+1V
-1V
A
B
tPHL
tPLH
VOH
VOL
1.5V
OUT
FIGURE 15. RS-485 RECEIVER ENABLE AND DISABLE TIMES TEST CIRCUIT
OUT
S1
S2
S3
1.5V
Vcc
A
B
1kΩ
-1.5V
R
RE
CL= 15pF
GENERATOR
50Ω
19
SP336E
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
REV. 1.0.0
FIGURE 16. RS-485 RECEIVER ENABLE AND DISABLE TIMES TIMING DIAGRAM 1
S1 is open, S2 is closed, S3 = 1.5V
3V
1.5V
RE
t
ZH
VOH
OUT
VOH /2
0V
FIGURE 17. RS-485 RECEIVER ENABLE AND DISABLE TIMES TIMING DIAGRAM 2
S1 is closed, S2 is open, S3 = -1.5V
3V
1.5V
RE
0V
t
ZL
VCC
VOL= VCC /2
OUT
VOL
20
SP336E
REV. 1.0.0
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
FIGURE 18. RS-485 RECEIVER ENABLE AND DISABLE TIMES TIMING DIAGRAM 3
S1 is open, S2 is closed, S3 = 1.5V
3V
1.5V
RE
tHZ
0.25V
VOH
0V
OUT
FIGURE 19. RS-485 RECEIVER ENABLE AND DISABLE TIMES TIMING DIAGRAM 4
S1 is closed, S2 is open, S3 = -1.5V
3V
1.5V
RE
0V
t
LZ
VCC
OUT
0.25V
VOL
FIGURE 20. RS-232 DRIVER OUTPUT SLEW RATE TEST CIRCUIT
Tx
OUT
CL
GENERATOR
RL
50Ω
21
SP336E
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
REV. 1.0.0
FIGURE 21. RS-232 DRIVER OUTPUT SLEW RATE TIMING DIAGRAM
3V
Input
OUT
1.5V
0
+3V
-3V
VOL
tTHL
tTLH
FIGURE 22. RS-232 RECEIVER PROPAGATION DELAY TEST CIRCUIT
Rx
OUT
CL
GENERATOR
50Ω
FIGURE 23. RS-232 RECEIVER PROPAGATION DELAY TIMING DIAGRAM
+3V
-3V
1.5V
Input
1.5V
tPLH
tPHL
VOH
OUT
50%
50%
VOL
22
SP336E
REV. 1.0.0
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
2.0 SUGGESTED APPLICATION DIAGRAMS
The SP336E supports all signals used in RS-232 over an 8 pin modular jack (RJ-45) as defined in TIA/EIA-
561. For DTE serial port only three drivers are required. Driver_1 is not used in this configuration and its driver
input should be tied to high or low.
SP336E may also be used to implement a standard serial port over a DB-9 connector (TIA/EIA-574 or the
standard IBM serial port). In that case either DSR or RI signal can be supported. Both DSR and RI are used
mainly for dial-up connections and are typically not needed on dedicated lines. If both signals are required, add
a discrete transceiver such as SP3220E.
An alternative implementation would be to use the SP336E to emulate the functionality of two dual-channel
RS-232 transceivers (2 x SP232’s or equivalent).
Loop-Back
Changing from RS-232 mode (MODE 001) to loop-back mode (MODE 000) duplicates the function of an
external loop-back plug. Loop-back can be used to test serial port functionality or to diagnose faults.
FIGURE 24. RS-232E SERIAL PORT (EIA-561 / EIA-574)
23
SP336E
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
RS-232 to RS-485 Translator
REV. 1.0.0
SP336E can be used to implement a single-chip RS-232 to RS-485 translator function. Both full-duplex (4-wire
RS-485) and half-duplex (2-wire RS-485) configurations are shown. RS-485 is capable of communicating on
data cables up to 4000 feet (1200 meter) which makes it an ideal interface for extending the reach of short-
range serial ports like RS-232. The configurations shown can be used to connect directly to existing PC type
RS-232 serial ports to enable extended-reach communication.
The RTS signal (circuit CA or 105) is used as a transmit direction control signal for half-duplex. The ON
condition puts the repeater into transmit mode and inhibits receive. On a half-duplex channel RxD should be
held in MARK state (binary 1) when receiver 3 is inactive. Driver 1 on the SP336E can be used to generate
DSR or CTS signal to indicate to the host terminal that the translator is powered-on and ready.
Shutdown Modes
SP336E features two shutdown modes. In mode 111 (full shutdown) all drivers and receivers are at high
impedance. In mode 110, all drivers are tri-state but all four receivers remain active. In modes 101 and 100 two
differential receivers can be kept active while the differential drivers are tri-stated using the Tx_EN inputs.
FIGURE 25. RS-232 / RS-485 TRANSLATOR FULL-DUPLEX CABLE-EXTENDER (MODE 011)
24
SP336E
REV. 1.0.0
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
FIGURE 26. RS-232 / RS-485 TRANSLATOR HALF-DUPLEX CABLE-EXTENDER (MODE 010)
25
SP336E
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
Bus Repeater
REV. 1.0.0
Mode 101 can be used as a bus-repeater to extend the reach of an RS-422 bus. This configuration is best
suited for point-to-point or multi-drop communications because the drivers are always active and echoing data
from their corresponding receiver.
For applications where multiple nodes are allowed to transmit, some type of bus arbitration should be used.
One technique would be to use SP336E in conjunction with external decoder logic, packet buffers and node
address fields embedded in the data stream. Receiving the correct node address triggers Tx_EN to pass data
onward.
Mode 100 could implement a repeater / gateway to partition or extend RS-485 networks. Direction Control
determines when data is forwarded to or from segments A and B.
FIGURE 27. RS-422 BUS-REPEATER (MODE 101)
26
SP336E
REV. 1.0.0
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
FIGURE 28. RS-485 BUS-REPEATER (MODE 100)
27
SP336E
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
REV. 1.0.0
FIGURE 29. 28 PIN SOICW PACKAGE OUTLINE DRAWING
28
SP336E
REV. 1.0.0
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
FIGURE 30. 28 PIN TSSOP PACKAGE OUTLINE DRAWING
29
SP336E
3.3V - 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
REV. 1.0.0
REVISION HISTORY
DATE
REVISION
DESCRIPTION
March 2010
1.0.0
Production Release.
NOTICE
EXAR Corporation reserves the right to make changes to the products contained in this publication in order to
improve design, performance or reliability. EXAR Corporation assumes no responsibility for the use of any
circuits described herein, conveys no license under any patent or other right, and makes no representation that
the circuits are free of patent infringement. Charts and schedules contained here in are only for illustration
purposes and may vary depending upon a user’s specific application. While the information in this publication
has been carefully checked; no responsibility, however, is assumed for inaccuracies.
EXAR Corporation does not recommend the use of any of its products in life support applications where the
failure or malfunction of the product can reasonably be expected to cause failure of the life support system or
to significantly affect its safety or effectiveness. Products are not authorized for use in such applications unless
EXAR Corporation receives, in writing, assurances to its satisfaction that: (a) the risk of injury or damage has
been minimized; (b) the user assumes all such risks; (c) potential liability of EXAR Corporation is adequately
protected under the circumstances.
Copyright 2010 EXAR Corporation
Datasheet March 2010.
Send your UART technical inquiry with technical details to hotline: uarttechsupport@exar.com.
Reproduction, in part or whole, without the prior written consent of EXAR Corporation is prohibited.
30
相关型号:
SP3374NUTG
Trans Voltage Suppressor Diode, 1000W, 3.3V V(RWM), Unidirectional, 1 Element, Silicon, MO-229, DFN-10, 10 PIN
LITTELFUSE
©2020 ICPDF网 联系我们和版权申明