Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
RS-485 on AVR
Khalate Sumant
14th July, 2011
Contents
I
Content
1 Introduction
1.1 Overview . . . . . . . . . .
1.2 Requirements . . . . . . .
1.3 Limitations . . . . . . . .
1.4 Handshaking . . . . . . .
1.5 Termination . . . . . . . .
1.6 Pin labeling . . . . . . . .
1.7 RS485 in Real World . . .
1.8 Waveform example . . . .
1.9 Differences between RS232
2
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
and RS485
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
3
3
4
4
4
5
5
6
6
7
2 Characteristics of RS485
3 MAX485 IC
4 Hardware
11
4.1 Single Master and Slave . . . . . . . . . . . . . . . . . . . . . 11
4.2 Multi Master and Slave . . . . . . . . . . . . . . . . . . . . . . 13
II
Datasheet
15
MAX485 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
List of Figures
1.1
3.1
4.1
4.2
Part I
Content
Chapter 1
Introduction
RS485 is the physical layer for many higher-level protocols, including
Modbus 1 , Profibus 2 and other Fieldbus 3 systems, SCSI-2, SCSI-3, and Bit
Bus. Unlike RS232, which has a transmit wire and a receive wire, RS485
has a transmit wire pair. Typically one wire is labelled A and the other is
labelled B, and the wires are twisted together (twisted pair). This allows
RS485 to transmit over much longer distances, using equivalent wires and
equivalent transmitters and receivers, than RS232. Many RS485 implementations use 2 wires (1 pair). At all times, at most one device is transmitting on
the pair, and all the other devices on the network are listening (half-duplex).
It is the responsibility of user software to ensure that several different devices
dont try to transmit at the same time, this can be a tricky coordination task.
1.1
Overview
RS485 only specifies electrical characteristics of the driver and the receiver.
It does not specify or recommend any communications protocol. RS485 enables the configuration of inexpensive local networks and multi-drop communications links. It offers data transmission speeds of 35 Mbit/s up to 10
m and 100 kbit/s at 1200 m. Since it uses a differential balanced line over
twisted pair (like RS422), it can span relatively large distances (up to 4,000
feet (1,200 m)). A rule of thumb is that the speed in bit/s multiplied by the
length in meters should not exceed 108. Thus a 50 meter cable should not
signal faster than 2 Mbit/s.
1
1.2. REQUIREMENTS
The recommended arrangement of the wires is as a connected series
of point-to-point (multi-dropped) nodes, a line or bus, not a star, ring, or
multiply connected network. Ideally, the two ends of the cable will have a
termination resistor connected across the two wires. Without termination
resistors, reflections of fast driver edges can cause multiple data edges that
can cause data corruption. Termination resistors also reduce electrical noise
sensitivity due to the lower impedance, and bias resistors are required. The
value of each termination resistor should be equal to the cable impedance
(typically, 100 ohms for twisted pairs).
1.2
Requirements
A full-duplex RS485 system requires 3 twisted pairs, 2 twisted pairs for signalling, and another conductor for ground. This so-called four-wire RS485
system requires 5 wires. A half-duplex system only requires 2 twisted pairs
one twisted pair for signalling, and another conductor for ground. This socalled two-wire RS485 system requires 3 wires.
The ground conductor can be eliminated in some cases, but it is safe to
stick to Three wire system.
1.3
Limitations
1.4
Handshaking
1.5. TERMINATION
1.5
Termination
1.6
Pin labeling
1.7
Now being used commonly in the pro audio industry to control digital audio
and signal processors such as the DBX driverack and other manufacturers
equivalent products. Preferred to RS232 due to cheaper cabling run costs
and the common availability of cables (similar to RJ-45 ). When wiring a
RS485 network, always connect A to A, B to B, and G to G
Many people recommend writing prototype software as if it will be connected to a half-duplex RS485 network. Then the software will work unchanged when connected to a full-duplex RS485 network, a RS232 network,
and a variety of other communication media.
Many people recommend wiring things up on a prototype with Category-5
cable connected as point-to-point full-duplex RS485. The CAT-5 cable allows
you to relatively quickly switch to half-duplex RS485, or the 3 wires of RS232,
or a variety of other communication protocols without pulling any new cables.
The point-to-point full-duplex RS485 network allows you to get the complete
prototype system fully operational quickly, since it is easier to debug and
more immune to certain common problems on other systems (noise problems
on RS232, turn-around problems on half-duplex RS485, etc.).
1.8
Waveform example
1.9
RS232 signal levels are typically -12 V to +12 V relative to the signal
ground.
RS485 signal levels are typically 0 to +5 V relative to the signal ground.
RS232 uses point-to-point unidirectional signal wires: There are only
two devices connected to a RS232 cable. The TxD output of a first
device connected to the RxD input of a second device, and the TxD
output of the second device connected to the RxD input of the first
device. In a RS232 cable, data always flows in only one direction on
any particular wire, from TxD to RxD.
RS485 typically uses a linear network with bidirectional signal wires:
There are typically many devices along a RS485 shared cable. The
A output of each device is connected to the A output of every other
device. In a RS485 cable, data typically flows in both directions along
any particular wire, sometimes from the A of the first device to the
A of the second device, and at a later time from the A of the second
device to the A of the first device.
Chapter 2
Characteristics of RS485
Description
Mode
Max number of drivers
Max number of receivers
Mode of operation
Network topology
Max distance (acc. standard)
Max speed at 12 m
Max speed at 1200 m
Receiver input resistance
Driver load impedance
Receiver input sensitivity
Receiver input range
Max driver output voltage
Min driver output voltage (with load)
RS485
Differential
32
32
Full Duplex or Half Duplex
Multi-Drop
1200m (4000ft)
35 Mbs
100 kbs
12
54
200mV
-7...12V
-7...12V
1.5V
Chapter 3
MAX485 IC
The MAX485 IC are low-power transceivers for RS-485 and RS- 422
communication. Each part contains one driver and one receiver. The driver
slew rates of the IC are not limited, allowing them to transmit up to 2.5Mbps.
These transceiver draw between 120A and 500A of supply current when
unloaded or fully loaded with disabled drivers. Drivers are short circuited
protected against excessive power dissipation by thermal shut-down circuitry
that places the driver output into High-impedance state. The receiver input
has a fail-safe feature that guarantees a logic-high output if the input is open
circuit.
The serial data on DI pin is transmitted on the bus and the data on bus
is received on RO pin. The direction of data on bus is controlled by RE and
DE pins, these pins are connected together and eventually connected to the
control device.
When RE and DE is low, data on the bus is received on RO.
When they are high the data on DI, is transmitted on bus.
MAX 485
MAX 485
10
Chapter 4
Hardware
To build the hardware you will require the following things.
1. ATmega32 (AVR Family Micro-controller)
2. MAX-485
3. Twisted Pair Cable
4.1
First we will build a simple hardware with one master and one slave,
following are the instructions to building the hardware.
First connect the RO pin of MAX485 to RxD pin of ATmega32, then
followed by DI pin to TxD pin.
Connect the RE & DE pins of MAX485 to anyone i/o pin of ATmega32.
Build the same hardware, as stated above and connect it to other side
(i.e slave) side.
11
100E
100E
The RO and DI pins MAX-485 pins are TTL compatible and not RS232
12
4.2
After you have done with simple point-to-point system, you can try complex systems with multi master and slave. In this section I have provided
an example for two master and two slaves.
.
100E
.
.
100E
_1
_2
13
Reference
Wikipedia
14
Part II
Datasheet
15
MAX 485
16
Low-Power, Slew-Rate-Limited
RS-485/RS-422 Transceivers
The MAX481, MAX483, MAX485, MAX487MAX491, and
MAX1487 are low-power transceivers for RS-485 and RS422 communication. Each part contains one driver and one
receiver. The MAX483, MAX487, MAX488, and MAX489
feature reduced slew-rate drivers that minimize EMI and
reduce reflections caused by improperly terminated cables,
thus allowing error-free data transmission up to 250kbps.
The driver slew rates of the MAX481, MAX485, MAX490,
MAX491, and MAX1487 are not limited, allowing them to
transmit up to 2.5Mbps.
These transceivers draw between 120A and 500A of
supply current when unloaded or fully loaded with disabled
drivers. Additionally, the MAX481, MAX483, and MAX487
have a low-current shutdown mode in which they consume
only 0.1A. All parts operate from a single 5V supply.
Drivers are short-circuit current limited and are protected
against excessive power dissipation by thermal shutdown
circuitry that places the driver outputs into a high-impedance state. The receiver input has a fail-safe feature that
guarantees a logic-high output if the input is open circuit.
The MAX487 and MAX1487 feature quarter-unit-load
receiver input impedance, allowing up to 128 MAX487/
MAX1487 transceivers on the bus. Full-duplex communications are obtained using the MAX488MAX491, while
the MAX481, MAX483, MAX485, MAX487, and MAX1487
are designed for half-duplex applications.
____________________________Features
In MAX Package: Smallest 8-Pin SO
Slew-Rate Limited for Error-Free Data
Transmission (MAX483/487/488/489)
0.1ALow-Current Shutdown Mode
(MAX481/483/487)
Low Quiescent Current:
120A (MAX483/487/488/489)
230A (MAX1487)
300A (MAX481/485/490/491)
-7V to +12V Common-Mode Input Voltage Range
Three-State Outputs
30ns Propagation Delays, 5ns Skew
(MAX481/485/490/491/1487)
Full-Duplex and Half-Duplex Versions Available
Operate from a Single 5V Supply
Allows up to 128 Transceivers on the Bus
(MAX487/MAX1487)
Current-Limiting and Thermal Shutdown for
Driver Overload Protection
Ordering Information
________________________Applications
Low-Power RS-485 Transceivers
PART
TEMP RANGE
PIN-PACKAGE
MAX481CPA
0C to +70C
8 Plastic DIP
Level Translators
MAX481CSA
MAX481CUA
MAX481C/D
0C to +70C
0C to +70C
0C to +70C
8 SO
8 MAX
Dice*
______________________________________________________________Selection Table
PART
NUMBER
HALF/FULL
DUPLEX
DATA RATE
(Mbps)
SLEW-RATE
LIMITED
LOW-POWER
SHUTDOWN
RECEIVER/
DRIVER
ENABLE
QUIESCENT
CURRENT
(A)
NUMBER OF
TRANSMITTERS
ON BUS
PIN
COUNT
MAX481
Half
2.5
No
Yes
Yes
300
32
MAX483
Half
0.25
Yes
Yes
Yes
120
32
MAX485
Half
2.5
No
No
Yes
300
32
MAX487
Half
0.25
Yes
Yes
Yes
120
128
MAX488
Full
0.25
Yes
No
No
120
32
MAX489
Full
0.25
Yes
No
Yes
120
32
14
MAX490
Full
2.5
No
No
No
300
32
MAX491
Full
2.5
No
No
Yes
300
32
14
MAX1487
Half
2.5
No
No
Yes
230
128
For pricing, delivery, and ordering information, please contact Maxim/Dallas Direct! at
1-888-629-4642, or visit Maxims website at www.maxim-ic.com.
MAX481/MAX483/MAX485/MAX487MAX491/MAX1487
General Description
MAX481/MAX483/MAX485/MAX487MAX491/MAX1487
Low-Power, Slew-Rate-Limited
RS-485/RS-422 Transceivers
ABSOLUTE MAXIMUM RATINGS
Supply Voltage (VCC) .............................................................12V
Control Input Voltage (RE, DE)...................-0.5V to (VCC + 0.5V)
Driver Input Voltage (DI).............................-0.5V to (VCC + 0.5V)
Driver Output Voltage (A, B)...................................-8V to +12.5V
Receiver Input Voltage (A, B).................................-8V to +12.5V
Receiver Output Voltage (RO).....................-0.5V to (VCC +0.5V)
Continuous Power Dissipation (TA = +70C)
8-Pin Plastic DIP (derate 9.09mW/C above +70C) ....727mW
14-Pin Plastic DIP (derate 10.00mW/C above +70C) ..800mW
8-Pin SO (derate 5.88mW/C above +70C).................471mW
Stresses beyond those listed under Absolute Maximum Ratings may cause permanent damage to the device. These are stress ratings only, and functional
operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to
absolute maximum rating conditions for extended periods may affect device reliability.
DC ELECTRICAL CHARACTERISTICS
(VCC = 5V 5%, TA = TMIN to TMAX, unless otherwise noted.) (Notes 1, 2)
PARAMETER
SYMBOL
VOD1
VOD2
CONDITIONS
MIN
R = 50 (RS-422)
TYP
MAX
UNITS
R = 27 (RS-485), Figure 4
1.5
VOD
R = 27 or 50, Figure 4
0.2
VOC
R = 27 or 50, Figure 4
VOD
R = 27 or 50, Figure 4
0.2
VIH
DE, DI, RE
VIL
DE, DI, RE
0.8
Input Current
IIN1
DE, DI, RE
IIN2
DE = 0V;
VCC = 0V or 5.25V,
all devices except
MAX487/MAX1487
Input Current
(A, B)
MAX487/MAX1487,
DE = 0V, VCC = 0V or 5.25V
Receiver Differential Threshold
Voltage
VTH
2.0
VIN = 12V
1.0
VIN = -7V
-0.8
VIN = 12V
0.25
VIN = -7V
-0.2
mA
-0.2
0.2
mA
V
VTH
VCM = 0V
VOH
VOL
0.4
IOZR
0.4V VO 2.4V
70
mV
3.5
12
48
RIN
_______________________________________________________________________________________
Low-Power, Slew-Rate-Limited
RS-485/RS-422 Transceivers
(VCC = 5V 5%, TA = TMIN to TMAX, unless otherwise noted.) (Notes 1, 2)
PARAMETER
SYMBOL
ICC
TYP
MAX
MAX488/MAX489,
DE, DI, RE = 0V or VCC
CONDITIONS
MIN
120
250
MAX490/MAX491,
DE, DI, RE = 0V or VCC
300
500
MAX481/MAX485,
RE = 0V or VCC
DE = VCC
500
900
DE = 0V
300
500
MAX1487,
RE = 0V or VCC
DE = VCC
300
500
MAX483/MAX487,
RE = 0V or VCC
DE = 0V
DE = 5V
UNITS
230
400
MAX483
350
650
MAX487
250
120
0.1
400
250
10
ISHDN
DE = 0V
MAX481/483/487, DE = 0V, RE = VCC
IOSD1
35
250
mA
IOSD2
35
250
mA
IOSR
0V VO VCC
95
mA
MAX
60
60
10
40
25
40
70
70
70
70
200
150
200
UNITS
SYMBOL
CONDITIONS
tPLH
Figures 6 and 8, RDIFF = 54,
CL1 = CL2 = 100pF
tPHL
tSKEW
Figures 6 and 8, RDIFF = 54, CL1 = CL2 = 100pF
MIN
10
10
3
5
3
20
20
20
TYP
30
30
5
15
15
15
40
40
40
40
90
90
90
tSKD
13
tZL
tZH
tLZ
tHZ
20
20
20
20
50
50
50
50
200
600
fMAX
tSHDN
MAX481 (Note 5)
2.5
50
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
Mbps
ns
_______________________________________________________________________________________
MAX481/MAX483/MAX485/MAX487MAX491/MAX1487
MAX481/MAX483/MAX485/MAX487MAX491/MAX1487
Low-Power, Slew-Rate-Limited
RS-485/RS-422 Transceivers
SWITCHING CHARACTERISTICSMAX481/MAX485, MAX490/MAX491, MAX1487 (continued)
(VCC = 5V 5%, TA = TMIN to TMAX, unless otherwise noted.) (Notes 1, 2)
PARAMETER
SYMBOL
TYP
MAX
UNITS
40
100
ns
40
100
ns
300
1000
ns
300
1000
ns
MIN
250
TYP
800
MAX
2000
UNITS
250
800
2000
100
800
ns
CONDITIONS
MIN
SYMBOL
tPLH
tPHL
CONDITIONS
Figures 6 and 8, RDIFF = 54,
CL1 = CL2 = 100pF
ns
tSKEW
tR, tF
250
2000
ns
tZH
250
2000
ns
tZL
250
2000
ns
tLZ
300
3000
ns
tHZ
300
3000
ns
tPLH
250
2000
250
2000
tPHL
tSKD
100
ns
ns
tZL
20
50
ns
tZH
20
50
ns
tLZ
20
50
ns
tHZ
20
50
ns
200
600
ns
2000
ns
2000
ns
2500
ns
2500
ns
fMAX
250
Time to Shutdown
tSHDN
MAX483/MAX487 (Note 5)
50
tZH(SHDN)
tZL(SHDN)
tZH(SHDN)
tZL(SHDN)
kbps
_______________________________________________________________________________________
Low-Power, Slew-Rate-Limited
RS-485/RS-422 Transceivers
Note 1: All currents into device pins are positive; all currents out of device pins are negative. All voltages are referenced to device
ground unless otherwise specified.
Note 2: All typical specifications are given for VCC = 5V and TA = +25C.
Note 3: Supply current specification is valid for loaded transmitters when DE = 0V.
Note 4: Applies to peak current. See Typical Operating Characteristics.
Note 5: The MAX481/MAX483/MAX487 are put into shutdown by bringing RE high and DE low. If the inputs are in this state for less
than 50ns, the parts are guaranteed not to enter shutdown. If the inputs are in this state for at least 600ns, the parts are
guaranteed to have entered shutdown. See Low-Power Shutdown Mode section.
30
25
20
15
10
-14
-12
-10
-8
-6
-4
5
0.5
1.0
1.5
2.0
1.5
2.5
4.2
4.0
3.8
3.6
3.4
3.0
0
0
4.4
3.2
-2
2.0
2.5
3.0
3.5
4.0
4.5
5.0
-50
-25
25
50
75
100
125
TEMPERATURE (C)
0.7
80
0.6
0.5
0.4
0.3
0.2
70
60
50
40
30
20
0.1
10
0
-50
-25
25
50
75
TEMPERATURE (C)
100
125
2.4
DIFFERENTIAL OUTPUT VOLTAGE (V)
90
MAX481-05
IRO = 8mA
MAX481-04
0.9
R = 54
2.3
MAX481-06
0.8
OUTPUT LOW VOLTAGE (V)
-16
IRO = 8mA
4.6
OUTPUT HIGH VOLTAGE (V)
-18
OUTPUT CURRENT (mA)
35
4.8
MAX481-02
40
OUTPUT CURRENT (mA)
-20
MAX481-01
45
2.2
2.1
2.0
1.9
1.8
1.7
1.6
1.5
-50
-25
25
50
75
100
125
TEMPERATURE (C)
_______________________________________________________________________________________
MAX481/MAX483/MAX485/MAX487MAX491/MAX1487
MAX481/MAX485/MAX490/MAX491
SUPPLY CURRENT vs. TEMPERATURE
120
600
MAX481-08
-120
MAX481-07
140
MAX481/MAX485; DE = VCC, RE = X
500
80
60
40
20
-100
100
MAX481-11
-80
-60
-40
400
300
MAX485; DE = 0, RE = X,
MAX481; DE = RE = 0
MAX490/MAX491; DE = RE = X
200
-20
100
MAX481; DE = 0, RE = VCC
0
2
-7 -6 -5 -4 -3 -2 -1 0 1
12
10
25
MAX483; DE = VCC, RE = X
300
MAX487; DE = VCC, RE = X
MAX483/MAX487; DE = RE = 0,
MAX488/MAX489; DE = RE = X
400
300
MAX1487; DE = VCC, RE = X
200
MAX1487; DE = 0V, RE = X
100
100
MAX483/MAX487; DE = 0, RE = VCC
0
-50
-25
25
50
75
TEMPERATURE (C)
100
125
50
75
TEMPERATURE (C)
500
SUPPLY CURRENT (A)
500
-25
600
MAX481-12
600
200
-50
4 5
MAX1487
SUPPLY CURRENT vs. TEMPERATURE
MAX483/MAX487MAX489
SUPPLY CURRENT vs. TEMPERATURE
400
MAX481-13
MAX481/MAX483/MAX485/MAX487MAX491/MAX1487
Low-Power, Slew-Rate-Limited
RS-485/RS-422 Transceivers
0 20 40
TEMPERATURE (C)
_______________________________________________________________________________________
100
125
Low-Power, Slew-Rate-Limited
RS-485/RS-422 Transceivers
PIN
MAX481/MAX483/
MAX485/MAX487/
MAX1487
MAX488/
MAX490
MAX489/
MAX491
NAME
NAME
FUNCTION
FUNCTION
DIP/SO
MAX
DIP/SO
MAX
DIP/SO
RO
RE
DE
DI
6, 7
GND
10
12
11
14
VCC
1, 8, 13
N.C.
Ground
TOP VIEW
RO
VCC
RE 2
DE 3
GND
DI 4
VCC
RO
RE 4
MAX
DE 3
8
MAX481
MAX483
MAX485
MAX487
MAX1487
RE 2
DIP/SO
B
RO
GND
DI
DE
DI 4
8 VCC
7B
Rt
6
A
5 GND
MAX481
MAX483
MAX485
MAX487
MAX1487
DE
D
DI
B
Rt
A
RO
R
RE
NOTE: PIN LABELS Y AND Z ON TIMING, TEST, AND WAVEFORM DIAGRAMS REFER TO PINS A AND B WHEN DE IS HIGH.
TYPICAL OPERATING CIRCUIT SHOWN WITH DIP/SO PACKAGE.
MAX481/MAX483/MAX485/MAX487MAX491/MAX1487
______________________________________________________________Pin Description
MAX481/MAX483/MAX485/MAX487MAX491/MAX1487
Low-Power, Slew-Rate-Limited
RS-485/RS-422 Transceivers
TOP VIEW
VCC
VCC
VCC 1
RO 2
DI 3
GND 4
MAX488
MAX490
DI
RO
5 Y
3
Rt
6 Z
RO
DIP/SO
8 A
B
VCC
RO
MAX488
MAX490
GND
DI
Rt
DI
4
GND
MAX
GND
TOP VIEW
DE
VCC
4
N.C.
RO
RE
12 A
DE
11 B
DI
10 Z
GND
GND
14 V CC
R
13 N.C.
N.C.
VCC RE
MAX489
MAX491
14
9
DI
Y
Rt
RO
10
Z
12
RO
A
Rt
11
DI
B
NC
1, 8, 13
3
DIP/SO
6, 7
RE GND
GND
DE
__________Applications Information
The MAX481/MAX483/MAX485/MAX487MAX491 and
MAX1487 are low-power transceivers for RS-485 and RS422 communications. The MAX481, MAX485, MAX490,
MAX491, and MAX1487 can transmit and receive at data
rates up to 2.5Mbps, while the MAX483, MAX487,
MAX488, and MAX489 are specified for data rates up to
250kbps. The MAX488MAX491 are full-duplex transceivers while the MAX481, MAX483, MAX485, MAX487,
and MAX1487 are half-duplex. In addition, Driver Enable
(DE) and Receiver Enable (RE) pins are included on the
MAX481, MAX483, MAX485, MAX487, MAX489,
MAX491, and MAX1487. When disabled, the driver and
receiver outputs are high impedance.
8
MAX487/MAX1487:
128 Transceivers on the Bus
The 48k, 1/4-unit-load receiver input impedance of the
MAX487 and MAX1487 allows up to 128 transceivers
on a bus, compared to the 1-unit load (12k input
impedance) of standard RS-485 drivers (32 transceivers maximum). Any combination of MAX487/
MAX1487 and other RS-485 transceivers with a total of
32 unit loads or less can be put on the bus. The
MAX481/MAX483/MAX485 and MAX488MAX491 have
standard 12k Receiver Input impedance.
_______________________________________________________________________________________
Low-Power, Slew-Rate-Limited
RS-485/RS-422 Transceivers
Y
R
TEST POINT
RECEIVER
OUTPUT
CRL
15pF
VOD
R
1k
VCC
S1
1k
VOC
S2
3V
DE
DI
CL1
Y
500
RDIFF
VID
RO
B
S1
VCC
OUTPUT
UNDER TEST
CL
S2
RE
CL2
MAX483/MAX487/MAX488/MAX489:
Reduced EMI and Reflections
The MAX483 and MAX487MAX489 are slew-rate limited, minimizing EMI and reducing reflections caused by
improperly terminated cables. Figure 12 shows the driver output waveform and its Fourier analysis of a
150kHz signal transmitted by a MAX481, MAX485,
MAX490, MAX491, or MAX1487. High-frequency har-
_______________________________________________________________________________________
MAX481/MAX483/MAX485/MAX487MAX491/MAX1487
_________________________________________________________________Test Circuits
MAX481/MAX483/MAX485/MAX487MAX491/MAX1487
Low-Power, Slew-Rate-Limited
RS-485/RS-422 Transceivers
_______________________________________________________Switching Waveforms
3V
3V
DI
1.5V
DE
1.5V
0V
1.5V
1/2 VO
tLZ
tZL(SHDN), tZL
Y, Z
VO
VOL
Y
1/2 VO
VO
VDIFF
0V
-VO
1.5V
0V
tPHL
tPLH
VOH -0.5V
2.3V
90%
tR
Y, Z
90%
10%
VOL +0.5V
0V
10%
tZH(SHDN), tZH
tF
tHZ
3V
RE
1.5V
1.5V
0V
RO
A-B
VOH
1.5V
VOL
tPHL
VID
-VID
0V
VCC
RO
tPLH
0V
INPUT
tLZ
tZL(SHDN), tZL
1.5V
OUTPUT
VOL + 0.5V
VOH - 0.5V
1.5V
0V
tZH(SHDN), tZH
tHZ
Table 2. Receiving
INPUTS
OUTPUTS
OUTPUT
RE
DE
DI
RE
DE
A-B
RO
> +0.2V
< -0.2V
High-Z
High-Z
Inputs open
High-Z*
High-Z*
High-Z*
X = Don't care
High-Z = High impedance
* Shutdown mode for MAX481/MAX483/MAX487
10
INPUTS
X = Don't care
High-Z = High impedance
* Shutdown mode for MAX481/MAX483/MAX487
______________________________________________________________________________________
Low-Power, Slew-Rate-Limited
RS-485/RS-422 Transceivers
10dB/div
0Hz
5MHz
500kHz/div
0Hz
5MHz
500kHz/div
Propagation Delay
Many digital encoding schemes depend on the difference between the driver and receiver propagation
delay times. Typical propagation delays are shown in
Figures 1518 using Figure 14s test circuit.
The difference in receiver delay times, | tPLH - tPHL |, is
typically under 13ns for the MAX481, MAX485,
MAX490, MAX491, and MAX1487 and is typically less
than 100ns for the MAX483 and MAX487MAX489.
The driver skew times are typically 5ns (10ns max) for
the MAX481, MAX485, MAX490, MAX491, and
MAX1487, and are typically 100ns (800ns max) for the
MAX483 and MAX487MAX489.
______________________________________________________________________________________
11
MAX481/MAX483/MAX485/MAX487MAX491/MAX1487
10dB/div
MAX481/MAX483/MAX485/MAX487MAX491/MAX1487
Low-Power, Slew-Rate-Limited
RS-485/RS-422 Transceivers
100pF
Z
TTL IN
tR, tF < 6ns
B
R
D
Y
R = 54
RECEIVER
OUT
100pF
B
VCC = 5V
TA = +25C
500mV/div
VCC = 5V
TA = +25C
500mV/div
RO
2V/div
2V/div
RO
20ns/div
20ns/div
500mV/div
VCC = 5V
TA = +25C
500mV/div
VCC = 5V
TA = +25C
RO
2V/div
2V/div
RO
400ns/div
12
400ns/div
______________________________________________________________________________________
Low-Power, Slew-Rate-Limited
RS-485/RS-422 Transceivers
Typical Applications
The MAX481, MAX483, MAX485, MAX487MAX491, and
MAX1487 transceivers are designed for bidirectional data
communications on multipoint bus transmission lines.
5V
DI
5V
DI
0V
0V
1V
VY-VZ
1V
VY-VZ
0V
0V
-1V
-1V
5V
RO
5V
RO
0V
0V
2s/div
2s/div
120
120
DI
DE
D
DI
DE
RO
RE
RO
RE
R
MAX481
MAX483
MAX485
MAX487
MAX1487
R
D
DI
DE
RO RE
DI
DE
RO RE
______________________________________________________________________________________
13
MAX481/MAX483/MAX485/MAX487MAX491/MAX1487
MAX481/MAX483/MAX485/MAX487MAX491/MAX1487
Low-Power, Slew-Rate-Limited
RS-485/RS-422 Transceivers
Y
120
120
RO
RE
DE
DI
DE
DI
120
120
D
Y
DE RE RO
R
D
DI
RE
RO
DI
MAX489
MAX491
DE RE RO
Isolated RS-485
MAX488MAX491
A
RO
RE
DE
120
DATA IN
120
DATA OUT
Z
DI
14
______________________________________________________________________________________
Low-Power, Slew-Rate-Limited
RS-485/RS-422 Transceivers
TEMP. RANGE
PIN-PACKAGE
MAX481EPA
PART
-40C to +85C
8 Plastic DIP
MAX481ESA
MAX481MJA
MAX483CPA
-40C to +85C
-55C to +125C
0C to +70C
8 SO
8 CERDIP
8 Plastic DIP
MAX483CSA
0C to +70C
MAX483CUA
MAX483C/D
MAX483EPA
MAX483ESA
MAX483MJA
MAX485CPA
MAX485CSA
MAX485CUA
MAX485C/D
MAX485EPA
MAX485ESA
MAX485MJA
MAX487CPA
MAX487CSA
MAX487CUA
MAX487C/D
MAX487EPA
MAX487ESA
MAX487MJA
MAX488CPA
MAX488CSA
MAX488CUA
MAX488C/D
MAX488EPA
MAX488ESA
MAX488MJA
MAX489CPD
MAX489CSD
MAX489C/D
MAX489EPD
MAX489ESD
MAX489MJD
0C to +70C
0C to +70C
-40C to +85C
-40C to +85C
-55C to +125C
0C to +70C
0C to +70C
0C to +70C
0C to +70C
-40C to +85C
-40C to +85C
-55C to +125C
0C to +70C
0C to +70C
0C to +70C
0C to +70C
-40C to +85C
-40C to +85C
-55C to +125C
0C to +70C
0C to +70C
0C to +70C
0C to +70C
-40C to +85C
-40C to +85C
-55C to +125C
0C to +70C
0C to +70C
0C to +70C
-40C to +85C
-40C to +85C
-55C to +125C
8 SO
8 MAX
Dice*
8 Plastic DIP
8 SO
8 CERDIP
8 Plastic DIP
8 SO
8 MAX
Dice*
8 Plastic DIP
8 SO
8 CERDIP
8 Plastic DIP
8 SO
8 MAX
Dice*
8 Plastic DIP
8 SO
8 CERDIP
8 Plastic DIP
8 SO
8 MAX
Dice*
8 Plastic DIP
8 SO
8 CERDIP
14 Plastic DIP
14 SO
Dice*
14 Plastic DIP
14 SO
14 CERDIP
TEMP. RANGE
0C to +70C
0C to +70C
0C to +70C
0C to +70C
-40C to +85C
-40C to +85C
-55C to +125C
0C to +70C
0C to +70C
0C to +70C
-40C to +85C
-40C to +85C
-55C to +125C
0C to +70C
0C to +70C
0C to +70C
0C to +70C
-40C to +85C
-40C to +85C
-55C to +125C
PIN-PACKAGE
8 Plastic DIP
8 SO
8 MAX
Dice*
8 Plastic DIP
8 SO
8 CERDIP
14 Plastic DIP
14 SO
Dice*
14 Plastic DIP
14 SO
14 CERDIP
8 Plastic DIP
8 SO
8 MAX
Dice*
8 Plastic DIP
8 SO
8 CERDIP
_________________Chip Topographies
MAX481/MAX483/MAX485/MAX487/MAX1487
V CC
N.C.
RO
N.C.
RE
0.054"
(1.372mm)
DE
A
DI
GND
0.080"
(2.032mm)
______________________________________________________________________________________
15
MAX481/MAX483/MAX485/MAX487MAX491/MAX1487
MAX481/MAX483/MAX485/MAX487MAX491/MAX1487
Low-Power, Slew-Rate-Limited
RS-485/RS-422 Transceivers
_____________________________________________Chip Topographies (continued)
MAX489/MAX491
MAX488/MAX490
V CC
V CC
N.C.
0.054"
Z
(1.372mm)
RE
DI
N.C.
DI
RO
RO
B
Z
DE
Y
GND
GND
0.080"
(2.032mm)
0.080"
(2.032mm)
16
______________________________________________________________________________________
0.054"
(1.372mm)
Low-Power, Slew-Rate-Limited
RS-485/RS-422 Transceivers
INCHES
MILLIMETERS
MAX
MIN
0.069
0.053
0.010
0.004
0.014
0.019
0.007
0.010
0.050 BSC
0.150
0.157
0.228
0.244
0.016
0.050
MAX
MIN
1.35
1.75
0.10
0.25
0.35
0.49
0.19
0.25
1.27 BSC
3.80
4.00
5.80
6.20
0.40
SOICN .EPS
DIM
A
A1
B
C
e
E
H
L
1.27
VARIATIONS:
1
INCHES
TOP VIEW
DIM
D
D
D
MIN
0.189
0.337
0.386
MAX
0.197
0.344
0.394
MILLIMETERS
MIN
4.80
8.55
9.80
MAX
5.00
8.75
10.00
N MS012
8
AA
14
AB
16
AC
A
B
0-8
A1
L
FRONT VIEW
SIDE VIEW
PROPRIETARY INFORMATION
TITLE:
21-0041
REV.
1
1
______________________________________________________________________________________
17
MAX481/MAX483/MAX485/MAX487MAX491/MAX1487
Package Information
(The package drawing(s) in this data sheet may not reflect the most current specifications. For the latest package outline information
go to www.maxim-ic.com/packages.)
4X S
INCHES
DIM
A
A1
A2
b
0.500.1
c
D
e
E
H
0.60.1
0.60.1
BOTTOM VIEW
MIN
0.002
0.030
MAX
0.043
0.006
0.037
0.014
0.010
0.007
0.005
0.120
0.116
0.0256 BSC
0.120
0.116
0.198
0.188
0.026
0.016
6
0
0.0207 BSC
8LUMAXD.EPS
MAX481/MAX483/MAX485/MAX487MAX491/MAX1487
Low-Power, Slew-Rate-Limited
RS-485/RS-422 Transceivers
MILLIMETERS
MAX
MIN
0.05
0.75
1.10
0.15
0.95
0.25
0.36
0.13
0.18
2.95
3.05
0.65 BSC
2.95
3.05
4.78
5.03
0.41
0.66
0
6
0.5250 BSC
TOP VIEW
A1
A2
c
e
FRONT VIEW
SIDE VIEW
PROPRIETARY INFORMATION
TITLE:
21-0036
18
______________________________________________________________________________________
REV.
1
1
PDIPN.EPS
(The package drawing(s) in this data sheet may not reflect the most current specifications. For the latest package outline information
go to www.maxim-ic.com/packages.)
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are
implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 ____________________ 19
2003 Maxim Integrated Products
Printed USA
MAX481/MAX483/MAX485/MAX487MAX491
MAX481/MAX483/MAX485/MAX487MAX491/MAX1487
Low-Power, Slew-Rate-Limited
RS-485/RS-422 Transceivers