SP336E
3.3V / 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
MARCH 2018
REV. 1.1.0
GENERAL DESCRIPTION
FEATURES
3.3V or 5V Single Supply Operation
Robust ±15kV ESD Protection (IEC 61000-4-2 Air
The SP336E is a monolithic serial multi-transceiver
device that contains both RS-232 and RS-485/RS422 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 RS232/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 dualmode serial port, mixed mode ports or as an interface
signal translator. The MaxLinear 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.1F 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.
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
1
SP336E
3.3V / 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
FIGURE 1. TYPICAL RS-232 APPLICATION CIRCUIT
+3.3V or +5V
1.0μF
5
9
0.1μF
12
11
0.1μF
VCC
C1+
13
C1C2+
SP336E
TTL/CMOS
TTL/CMOS
TTL/CMOS
TTL/CMOS
TTL/CMOS
TTL/CMOS
TTL/CMOS
TTL/CMOS
23
V- 14
0.1μF
SLEW
25
Logic 1 or 0
MODE 2
26 TI_In
T1
27 T2_In
T2
28 T3_In
T3
1 T4_In
T4
19 R1_Out
20 R2_Out
21 R3_Out
22 R4_Out
8
0.1μF
10
C2-
Logic 0 24 MODE 0
2
Logic 0
MODE 1
Logic 1
V+
T1_Out 6
T2_Out 7
T3_Out 4
T4_Out 3
R1
R2
R3
R4
GND
2
R1_In 15
R2_In 16
R3_In 17
R4_In 18
RS-232
RS-232
RS-232
RS-232
RS-232
RS-232
RS-232
RS-232
REV. 1.1.0
SP336E
REV. 1.1.0
3.3V / 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
FIGURE 2. PIN OUT ASSIGNMENT
T4_In
1
28
T3_In
MODE_1
2
27
T2_In
T4_Out
3
26
T1_In
4
25
SLEW
Vcc
5
24
MODE_0
T1_Out
6
23
MODE_2
T2_Out
7
22
R4_Out
GND
8
21
R3_Out
C1+
9
20
R2_Out
V+
10
19
R1_Out
C2+
11
18
R4_In
C1-
12
17
R3_In
C2-
13
16
R2_In
V-
14
15
R1_In
T3_Out
SP336E
SOIC/
TSSOP
ORDERING INFORMATION(1)
PART NUMBER
OPERATING TEMPERATURE RANGE
SP336ECT-L
0°C to +70°C
SP336ECY-L
0°C to +70°C
SP336EET-L
SP336EEY-L
SP336EEY-L/TR
LEAD-FREE
Yes(2)
-40°C to +85°C
-40°C to +85°C
PACKAGING METHOD
28-pin SOIC-W
Tube
28-pin TSSOP
Tube
28-pin SOIC-W
Tube
28-pin TSSOP
NOTES:
1.
2.
PACKAGE
Refer to www.exar.com/SP336E for most up-to-date Ordering Information.
Visit www.exar.com for additional information on Environmental Rating.
3
Tube
Tape and Reel
SP336E
3.3V / 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
FIGURE 3. TYPICAL RS-485 APPLICATION CIRCUIT
+3.3V or +5V
1.0μF
5
9
0.1μF
12
11
0.1μF
13
VCC
C1+
C1C2+
SP336E
23
V- 14
0.1μF
SLEW
25
TTL/CMOS
TTL/CMOS
TTL/CMOS
TTL/CMOS
26 TI_In
TTL/CMOS
T1
T2_Out 7
27 T2_In
T3_Out 4
28 T3_In
T3
T4_Out 3
1 T4_In
R1_In 15
19 R1_Out
20
R1
R2_Out
21 R3_Out
R2_In 16
R3_In 17
8
RS-485
RS-485
RS-485
RS-485
RS-485
RS-485
RS-485
R3
R4_In 18
22
Logic 1 or 0
MODE 2
T1_Out 6
TTL/CMOS
0.1μF
10
C2-
Logic 1 24 MODE 0
2
Logic 0
MODE 1
Logic 1
V+
R4_Out
GND
4
RS-485
REV. 1.1.0
SP336E
3.3V / 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
REV. 1.1.0
PIN DESCRIPTIONS
Pin Assignments
DESCRIPTION
PIN NUMBER
PIN NAME
TYPE
1
T4_In
I
2
Mode_1
I
3
T4_Out
O
T4 Driver Output.
T3(B) Output.
T3(B) Output,
R3(B) Input.
4
T3_Out
O
T3 Driver Output.
T3(A) Output.
T3(A) Output,
R3(A) Input.
5
Vcc
Pwr
6
T1_Out
O
T1 Driver Output.
T1(A) Output.
T1(A) Output,
R1(A) Input.
7
T2_Out
O
T2 Driver Output.
T1(B) Output.
T1(B) Output,
R1(B) Input.
8
GND
Pwr
Ground.
9
C1+
Pmp
Positive terminal of positive flying capacitor.
10
V+
Pmp
Vdd storage capacitor.
11
C2+
Pmp
Positive terminal of negative flying capacitor.
12
C1-
Pmp
Negative terminal of positive flying capacitor.
13
C2-
Pmp
Negative terminal of negative flying capacitor.
14
V-
Pmp
Vss storage capacitor.
15
R1_In
I
R1 Receiver Input.
R1(A) Receiver Input.
High Impedance.
16
R2_In
I
R2 Receiver Input.
R1(B) Receiver Input.
R2 Receiver Input.
17
R3_In
I
R3 Receiver Input.
R3(A) Receiver Input.
High Impedance.
18
R4_In
I
R4 Receiver Input.
R3(B) Receiver Input.
R4 Receiver Input.
19
R1_Out
O
20
R2_Out
O
21
R3_Out
O
22
R4_Out
O
23
Mode_2
I
Mode Configuration pin 2.
24
Mode_0
I
Mode Configuration pin 0.
25
SLEW
I
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.
SINGLE ENDED
FULL-DUPLEX
HALF-DUPLEX
T4 Driver TTL input.
T3 Driver Enable
Active High.
T3 Driver Enable
Active High, R3 Enable
Active Low.
Mode Configuration pin 1.
Power Supply Voltage.
R1 Receiver Output.
R2 Receiver Output.
High Impedance.
R2 Receiver Output.
R3 Receiver Output.
R4 Receiver Output.
5
High Impedance.
R4 Receiver Output.
SP336E
3.3V / 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
REV. 1.1.0
Pin Assignments
PIN NUMBER
PIN NAME
TYPE
27
T2_In
I
28
T3_In
I
DESCRIPTION
SINGLE ENDED
T2 Driver Input.
FULL-DUPLEX
T1 Driver Enable Active T1 Driver Enable Active
High.
High and R1 Receiver
Enable Active Low.
T3 Driver Input.
Pin type: I=Input, O=Output, Pwr=Power supply, Pmp = Charge pump.
6
HALF-DUPLEX
SP336E
REV. 1.1.0
3.3V / 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
MODE CONFIGURATION
OPERATION:
MODE (M0, M1, M2)
RS-232 MODE
MIXED-PROTOCOL FULL DUPLEX
4T/4R RS-232
2T/2R RS-232 & 1T/1R RS-485
001
011
7
SP336E
3.3V / 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
REV. 1.1.0
MODE CONFIGURATION (CONTINUED)
OPERATION:
MODE (M0, M1, M2)
LOW POWER SHUTDOWN
RS-485/RS-422 FULL DUPLEX
ALL I/O AT HIGH IMPEDANCE
2T/2R RS-485
111
101
8
SP336E
REV. 1.1.0
3.3V / 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
MODE CONFIGURATION (CONTINUED)
OPERATION:
MODE (M0, M1, M2)
LOOP-BACK TXIN TO RXOUT
MIXED-PROTOCOL HALF DUPLEX
TXOUT AND RXIN HIGH IMPEDANCE
2T/3R RS-232 & 1T/1R RS-485
000
010
9
SP336E
3.3V / 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
REV. 1.1.0
MODE CONFIGURATION (CONTINUED)
OPERATION:
MODE (M0, M1, M2)
LOW POWER, 4 RX ACTIVE
RS-485/RS-422 HALF DUPLEX
DRIVERS AT HIGH IMPEDANCE
2T/2R RS-485 & 2R RS-232
110
100
10
SP336E
3.3V / 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
REV. 1.1.0
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
-0.3V to Vcc + 0.5V
Driver Output Voltage (from Ground)
-7.5V to +12.5V
Short Circuit Duration, TXout to GND
Continuous
Storage Temperature Range
-65°C to + 150°C
Lead Temperature (soldering, 10s)
+300°C
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
ESD Ratings
HBM - Human Body Model (Tx_Out & Rx_In Pins)
±15kV
HBM - Human Body Model (all other pins)
± 2kV
IEC 61000-4-2 Airgap Discharge (Tx_Out & Rx_In Pins)
±15kV
IEC 61000-4-2 Contact Discharge (Tx_Out & Rx_In Pins)
± 8kV
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
Supply Current (RS-232)
2
30
mA
No Load, MODE = 001.
ICC
Supply Current (RS-485)
6.5
20
mA
No Load, MODE = 101.
ICC
Vcc Shutdown Current
1
20
A
MODE = 111.
TRANSMITTER and LOGIC INPUT PINS: Pins 1, 2, 23, 24, 25, 26, 27, 28
VIH
Logic Input Voltage HIGH
2.0
V
VCC = 3.3V.
VIH
Logic Input Voltage HIGH
2.4
V
VCC = 5.0V.
VIL
Logic Input Voltage LOW
0.8
V
IIL
Logic Input Pull-up Current
±15
A
VHYS
Logic Input Hysteresis
0.5
11
V
SP336E
3.3V / 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
REV. 1.1.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
RS-232 and RS-485/422 RECEIVER OUTPUTS: Pins 19, 20, 21, 22
VOH
Receiver Output Voltage HIGH
VOL
Receiver Output Voltage LOW
IOSS
Receiver Output Short-Circuit
Current
IOZ
Receiver Output Leakage Current
VCC0.6
V
IOUT = -1.5mA.
0.4
V
IOUT = 2.5mA.
±20
±60
mA
0 < Vo < Vcc.
±0.05
±1
A
Receivers Disabled.
+15
V
SINGLE-ENDED RECEIVER INPUTS (RS-232)
Input Voltage Range
-15
Input Threshold Low
0.6
1.2
V
VCC = 3.3V.
0.8
1.5
V
VCC = 5.0V.
Input Threshold HIGH
Input Hysteresis
1.5
2.0
V
VCC = 3.3V.
1.8
2.4
V
VCC = 5.0V.
0.5
Input Resistance
3
5
V
7
k
DIFFERENTIAL RECEIVER INPUTS (RS-485 / RS-422)
RIN
Receiver Input Resistance
VTH
Receiver Differential Threshold
Voltage
VTH
IIN
k
96
-200
Receiver Input Hysteresis
-125
-50
30
Input Current
-7V VCM +12V.
mV
mV
VCM = 0V.
125
A
DE = 0V, VIN = 12V, Full-Duplex.
-100
A
DE = 0V, VIN = -7V, Full-Duplex.
SINGLE-ENDED DRIVER OUTPUTS (RS-232)
VO
Output Voltage Swing
±5.0
Short Circuit Current
Power Off Impedance
300
V
Output Loaded with 3kto
GND.
±6.6
V
No Load Output.
±60
mA
±5.4
10M
VO = 0V.
VCC = 0V; VO = ±2V.
DIFFERENTIAL DRIVER OUTPUTS (RS-485 / RS-422)
VOD
VOD
Differential Driver Output (Tx_Out)
Change In Magnitude of Differential
Output Voltage
2
VCC
V
RL = 100 (RS-422), Figure 4.
1.5
VCC
V
RL = 54 (RS-485), Figure 4.
1.5
VCC
V
VCM = -7V, Figure 5.
1.5
VCC
V
VCM = +12V, Figure 5.
-0.2
+0.2
V
RL = 54 or 100, Figure 4.
12
SP336E
3.3V / 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
REV. 1.1.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
VOC
VOC
IO
PARAMETERS
MIN.
TYP.
MAX.
UNITS
3
V
RL = 54 or 100, Figure 4.
Change In Magnitude of Common
Mode Output Voltage
0.2
V
RL = 54 or 100, Figure 4.
Driver Output Short Circuit Current
±250
mA
V = +12V to -7V, Figure 6.
Output Leakage Current
±100
A
DE = 0V or Shutdown, VO =
+12V to -7V. VCC = 0V or 5.25V.
Driver Common Mode Output
Voltage
CONDITIONS
TIMING CHARACTERISTICS
RS-232 (SLEW = GND, 250kbps, ONE TRANSMITTER SWITCHING)
Maximum Data Rate
tPHL, tPLH
250
kbps
RL = 3k, CL = 1000pF.
Receiver Propagation Delay
100
ns
CL = 150pF.
tPHL-tPLH
Receiver Skew
50
ns
CL = 150pF.
tPHL-tPLH
Driver Skew
100
ns
tTHL, tTLH
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 7kCL = 150pF to 1000pF,
Figures 20 and 21.
RS-232 (SLEW = Vcc, 1Mbps, ONE TRANSMITTER SWITCHING)
Maximum Data Rate
tPHL, tPLH
1
Mbps RL = 3k, CL = 250pF.
Receiver Propagation Delay
100
ns
CL = 150pF,
Figures 22 and 23.
tPHL-tPLH
Receiver Skew
50
ns
tPHL-tPLH
Driver Skew
25
ns
Transition-Region Slew Rate from
+3.0V to -3.0V or -3.0V to +3.0V
90
V/s
VCC = 3.3V, RL = 3k to 7k
CL = 150pF to 1000pF.
250
kbps
RDIFF = 54CL = 50pF.
tTHL, tTLH
CL = 150pF.
RS-485/RS-422 (SLEW = GND, 250kbps, ONE TRANSMITTER SWITCHING)
Maximum Data Rate
tDPHL, tDPLH
Differential Output Propagation
Delay Time
250
1500
ns
Figures 7 and 8.
Driver Rise and Fall Time
200
1500
ns
Figures 7 and 8.
Driver Propagation Delay Skew
200
ns
Figures 7 and 8.
tDZH, tDZL
Driver Output Enable Time
1500
ns
Figures 9, 10, 11 and 12.
tDHZ, tDLZ
Driver Output Disable Time
1500
ns
Figures 9, 10, 11 and 12.
tPHL, tPLH
Receiver Propagation Delay
150
ns
Figures 13 and 14.
tR, tF
tDPHLtDPLH
tZH
Receiver Enable to Output High
50
ns
Figures 15 and 16.
tZL
Receiver Enable to Output Low
50
ns
Figures 15 and 17.
13
SP336E
3.3V / 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
REV. 1.1.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
tHZ
Receiver Output High to Disable
50
ns
Figures 15 and 18.
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
tDPHL, tDPLH
10
Mbps RDIFF = 54CL = 50pF.
Differential Output Propagation
Delay Time
60
120
ns
Figures 7 and 8.
Driver Rise and Fall Time
10
25
ns
Figures 7 and 8.
Driver Propagation Delay Skew
10
ns
Figures 7 and 8.
tDZH, tDZL
Driver Output Enable Time
900
ns
Figures 9, 10, 11 and 12.
tDHZ, tDLZ
Driver Output Disable Time
900
ns
Figures 9, 10, 11 and 12.
tPHL, tPLH
Receiver Propagation Delay
150
ns
Figures 13 and 14.
tR, tF
tDPHLtDPLH
tZH
Receiver Enable to Output High
32
ns
Figures 15 and 16.
tZL
Receiver Enable to Output Low
32
ns
Figures 15 and 17.
tHZ
Receiver Output High to Disable
40
ns
Figures 15 and 18.
tLZ
Receiver Output Low to Disable
40
ns
Figures 15 and 19.
14
SP336E
3.3V / 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
REV. 1.1.0
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_EN
Tx_In
Tx(A)
Tx(B)
Rx(A) - Rx(B)
RxOut
1
1
1
0
> -50mV
1
1
0
0
1
-200mV
0
0
x
Open / Shorted
1
High-Z
TABLE 2: R-485/RS-422 HALF DUPLEX: MODE 010 (T3, R3), MODE 100 (T1, T3, R1, R3)
TRANSMITTING
RECEIVING
Inputs
Outputs
Inputs
Outputs
DE/RE
TxIn
Tx(A)
Tx(B)
DE/RE
Rx(A) - Rx(B)
RxOut
1
1
1
0
1
x
High-Z
1
0
0
1
1
x
High-Z
0
> -50mV
1
0
x
High-Z
High-Z
0
-200mV
0
0
Open / Shorted
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
Output
Input
Output
0
5V
3V
0
1
-5V
-3V
1
Open
-5V
Open
1
15
SP336E
3.3V / 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
REV. 1.1.0
FIGURE 4. RS-485 DRIVER DC TEST CIRCUIT
RL/2
DI
VOD
T
RL/2 VOC
VCC
FIGURE 5. RS-485 DRIVER COMMON MODE LOAD TEST
DE = 3.3V
375Ω
A
DI = 0 or Vcc
Tx
60Ω
VOD
B
375Ω
FIGURE 6. RS-485 DRIVER OUTPUT SHORT CIRCUIT TEST
EN = 0 or Vcc
DI = 0 or Vcc
A
IOSD
D
B
100Ω
-7V to +12V V
16
VCM
SP336E
3.3V / 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
REV. 1.1.0
FIGURE 7. RS-485 DRIVER PROPAGATION DELAY TEST CIRCUIT
RL
54Ω
A
DI
Tx
CL
50pF
VOD
B
3.3V
FIGURE 8. RS-485 DRIVER TIMING DIAGRAM
Vcc
Vcc/2
DI
Vcc/2
0V
B
t PLH
t PHL
VO 1/2VO
1/2VO
A
VDIFF
VA – VB
t DPLH
VO+
0V
VO–
t DPHL
90%
10%
tF
90%
10%
tR
t SKEW = |t DPLH - t DPHL|
FIGURE 9. RS-485 DRIVER ENABLE AND DISABLE TEST CIRCUIT
A
Vcc
DI
S1
Tx
OUT
B
CL = 50pF
GENERATOR
50Ω
17
RL = 500Ω
SP336E
3.3V / 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
REV. 1.1.0
FIGURE 10. RS-485 DRIVER ENABLE AND DISABLE TIMING DIAGRAM
Vcc
DE
Vcc/2
0
tDZH
0.25V
OUT
VOM = (VOL + Vcc)/2
0
tDHZ
FIGURE 11. RS-485 DRIVER ENABLE AND DISABLE TEST CIRCUIT 2
Vcc
RL = 500Ω
A
0
DI
S1
Tx
OUT
B
CL = 50pF
GENERATOR
50Ω
FIGURE 12. RS-485 DRIVER ENABLE AND DISABLE TIMING DIAGRAM 2
Vcc
Vcc/2
DE
0
tDZL
tDLZ
OUT
VOL
VOM = (VOL + Vcc)/2
18
0.25V
SP336E
3.3V / 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
REV. 1.1.0
FIGURE 13. RS-485 RECEIVER PROPAGATION DELAY TEST CIRCUIT
A
VID
B
R
OUT
CL
15pF
RE
FIGURE 14. RS-485 RECEIVER PROPAGATION DELAY TIMING DIAGRAM
+1V
A
B
-1V
t PHL
t PLH
VOH
1.5V
VOL
OUT
FIGURE 15. RS-485 RECEIVER ENABLE AND DISABLE TIMES TEST CIRCUIT
OUT
1.5V
S1
S3
A
-1.5V
B
Vcc
1kΩ
R
S2
RE
CL= 15pF
GENERATOR
50Ω
19
SP336E
3.3V / 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
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
t ZL
0V
VCC
OUT
VOL= VCC /2
VOL
20
REV. 1.1.0
SP336E
REV. 1.1.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
RE
1.5V
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
RE
1.5V
0V
t LZ
VCC
OUT
0.25V
VOL
FIGURE 20. RS-232 DRIVER OUTPUT SLEW RATE TEST CIRCUIT
Tx
GENERATOR
OUT
CL
50Ω
21
RL
SP336E
3.3V / 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
REV. 1.1.0
FIGURE 21. RS-232 DRIVER OUTPUT SLEW RATE TIMING DIAGRAM
3V
Input
1.5V
0
+3V
OUT
-3V
VOL
tTHL
tTLH
FIGURE 22. RS-232 RECEIVER PROPAGATION DELAY TEST CIRCUIT
Rx
GENERATOR
OUT
CL
50Ω
FIGURE 23. RS-232 RECEIVER PROPAGATION DELAY TIMING DIAGRAM
Input
+3V
1.5V
1.5V
-3V
tPLH
tPHL
VOH
OUT
50%
50%
VOL
22
SP336E
REV. 1.1.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/EIA561. 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
REV. 1.1.0
RS-232 to RS-485 Translator
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 shortrange 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.1.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
REV. 1.1.0
Bus Repeater
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.1.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.1.0
FIGURE 29. 28 PIN SOICW PACKAGE OUTLINE DRAWING
Top View
Side View
Front View
Drawing No: POD-00000106
Revision:
28
B
SP336E
3.3V / 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
REV. 1.1.0
FIGURE 30. 28 PIN TSSOP MECHANICAL DIMENSIONS
TOP VIEW
SIDE VIEW 1
SIDE VIEW 2
©
©
DETAIL A
©
©
TERMINAL DETAILS
Drawing No.: POD-000000 134
Revision: A
29
SP336E
3.3V / 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
FIGURE 31. 28 PIN TSSOP RECOMMENDED LAND PATTERN AND STENCIL
TYPICAL RECOMMENDED LAND PATTERN
TYPICAL RECOMMENDED STENCIL
Drawing No.: POD-000000 134
Revision: A
30
REV. 1.1.0
SP336E
3.3V / 5V PROGRAMMABLE RS-232/RS-485/RS-422 SERIAL TRANSCEIVER
REV. 1.1.0
REVISION HISTORY
DATE
REVISION
DESCRIPTION
March 2010
1.0.0
Production Release.
January 2011
1.0.1
RS-485/RS4-222 (Slew = GND, 250kbps, One Transmitter Switching) Driver Enable /
Disable time maximum limit was changed from 900ns to 1500ns to better match the
performance of the product. Add inverting symbol to all half-duplex receiver block diagram enable inputs. Update pin description table.
March 2018
1.1.0
Clarified test conditions for Driver Output Leakage Current on page 13. Updated to
MaxLinear Logo. Update format and Ordering Information. Moved ESD ratings to
Absolute Maximum Ratings section. VO max (RS-232, no load) changed to ±6.6V.
Corporate Headquarters:
High Performance Analog:
5966 La Place Court
1060 Rincon Circle
Suite 100
San Jose, CA 95131
Carlsbad, CA 92008
Tel.: +1 (669) 265-6100
Tel.:+1 (760) 692-0711
Fax: +1 (669) 265-6101
Fax: +1 (760) 444-8598
Email: serialtechsupport@exar.com
www.maxlinear.com
www.exar.com
The content of this document is furnished for informational use only, is subject to change without notice, and should not be construed as a commitment by MaxLinear, Inc.. MaxLinear,
Inc. assumes no responsibility or liability for any errors or inaccuracies that may appear in the informational content contained ion this guide. Complying with all applicable copyright laws
is the responsibility of the user.. Without limiting the rights under copyright, no part of this document may be reproduced into, stored in, or introduced into a retrieval system, or
transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of MaxLinear, Inc.
MaxLinear, Inc. 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 MaxLinear, Inc. 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 MaxLinear, Inc. is adequately
protected under the circumstances.
MaxLinear, Inc. may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. Except as expressly
provided in any written license agreement from MaxLinear, Inc., the furnishing of this document does not give you any license to these patents, trademarks, coprights, or other
intellectual property.
Company and product names may be registered trademarks or trademarks of the respective owners with which they are associated.
© 2012 - 2018 MaxLinear, Inc. All rights reserved.
31