MAX3140EEI+T Maxim Integrated Products, MAX3140EEI+T Datasheet

IC UART W/RS485 28-QSOP

MAX3140EEI+T

Manufacturer Part Number
MAX3140EEI+T
Description
IC UART W/RS485 28-QSOP
Manufacturer
Maxim Integrated Products
Datasheet

Specifications of MAX3140EEI+T

Features
Transceiver
Fifo's
8 Byte
Protocol
RS232, RS485
Voltage - Supply
4.75 V ~ 5.25 V
With Irda Encoder/decoder
Yes
With False Start Bit Detection
Yes
With Cmos
Yes
Mounting Type
Surface Mount
Package / Case
28-QSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
The MAX3140 is a complete universal asynchronous
receiver-transmitter (UART) and a true fail-safe RS-
485/RS-422 transceiver combined in a single 28-pin
QSOP package for space-, cost-, and power-con-
strained applications. The MAX3140 saves additional
board space as well as microcontroller (µC) I/O pins by
featuring an SPI™/QSPI™/MICROWIRE™-compatible
serial interface. It is pin-programmable for configuration
in all RS-485/RS-422 networks.
The MAX3140 includes a single RS-485/RS-422 driver
and receiver featuring true fail-safe circuitry, which
guarantees a logic-high receiver output when the
receiver inputs are open or shorted. This feature pro-
vides immunity to faults without requiring complex ter-
mination. The MAX3140 provides software-selectable
control of half- or full-duplex operation, data rate, slew
rate, and transmitter and receiver phase. The RS-485
driver slew rate is programmable to minimize EMI and
results in maximum data rates of 115kbps, 500kbps,
and 10Mbps. Independent transmitter/receiver phase
control enables software correction of twisted-pair
polarity reversal. A 1/8-unit-load receiver input imped-
ance allows up to 256 transceivers on the bus.
The MAX3140’s UART includes an oscillator circuit
derived from an external crystal, and a baud-rate gen-
erator with software-programmable divider ratios for all
common baud rates from 300 baud to 230k baud. The
UART features an 8-word-deep receive FIFO that mini-
mizes processor overhead and provides a flexible inter-
rupt with four maskable sources, including address
recognition on 9-bit networks. Two control lines are
included for hardware handshaking—one input and
one output.
The MAX3140 operates from a single +5V supply and
typically consumes only 645µA with the receiver active.
Hardware-invoked shutdown reduces supply current to
only 20µA. The UART and RS-485/RS-422 functions can
be used together or independently since the two func-
tions share only supply and ground connections (the
MAX3140 is hardware- and software-compatible with the
MAX3100 and MAX3089).
Industrial-Control
Local Area Networks
HVAC and Building Control
Point-of-Sale Devices
19-1453; Rev 1; 9/10
SPI/QSPI are trademarks of Motorola, Inc.
MICROWIRE is a trademark of National Semiconductor Corp.
Pin Configuration appears at end of data sheet.
For pricing, delivery, and ordering information, please contact Maxim Direct at 1-888-629-4642,
or visit Maxim’s website at www.maxim-ic.com.
SPI/MICROWIRE-Compatible UART with Integrated
________________________________________________________________ Maxim Integrated Products
True Fail-Safe RS-485/RS-422 Transceivers
General Description
Transceivers for EMI-
Sensitive Applications
Embedded Systems
Intelligent Instrumentation
Applications
o Integrated UART and RS-485/RS-422 Transceiver
o SPI/MICROWIRE-Compatible Interface Saves µC
o True Fail-Safe Receiver Output Eliminates
o Pin-Programmable RS-485/RS-422 Features
o Full-Featured UART
o Allows Up to 256 Transceivers on the Bus
o Low 20µA Hardware Shutdown Mode
o Hardware/Software-Compatible with MAX3100
+ Denotes a lead(Pb)-free/RoHS-compliant package.
MAX3140CEI+
MAX3140EEI+
in a Single 28-Pin QSOP
I/O Pins
Complex Network Termination
and MAX3089
µP
Half/Full-Duplex Operation
Slew-Rate Limiting for Reduced EMI
115kbps/500kbps/10Mbps Data Rates
Receiver/Transmitter Phase for Twisted-Pair
Programmable Up to 230k baud with a
8-Word Receive FIFO Minimizes Processor
9-Bit Address-Recognition Interrupt
PART
MICRO-
WIRE
SPI/
DOUT
SCLK
Polarity Reversal
3.6864MHz Crystal
Overhead
DIN
IRQ
CS
Typical Application Circuit
UART
-40°C to +85°C
TEMP. RANGE
0°C to +70°C
H/F SRL
Ordering Information
CONTROL
MAX3140
LOGIC
TXP
RXP
RS-485
RS-422
HALF/FULL-DUPLEX
28 QSOP
28 QSOP
PIN-PACKAGE
RS-485/RS-422
Features
R
R
t
t
1

Related parts for MAX3140EEI+T

MAX3140EEI+T Summary of contents

Page 1

... SPI/QSPI are trademarks of Motorola, Inc. MICROWIRE is a trademark of National Semiconductor Corp. Pin Configuration appears at end of data sheet. ________________________________________________________________ Maxim Integrated Products For pricing, delivery, and ordering information, please contact Maxim Direct at 1-888-629-4642, or visit Maxim’s website at www.maxim-ic.com. o Integrated UART and RS-485/RS-422 Transceiver in a Single 28-Pin QSOP o SPI/MICROWIRE-Compatible Interface Saves µ ...

Page 2

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers ABSOLUTE MAXIMUM RATINGS V to GND ..........................................................................+6V CC Input Voltage to GND (CS, SHDN, X1, CTS, RX, DIN, SCLK, RE, DE, H/F, SRL, TXP, RXP, Dl) .............-0. Output Voltage to ...

Page 3

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers ELECTRICAL CHARACTERISTICS (continued GND, SHDN = +5V ±5 are measured with V = +5V, UART configured for 9600 baud ...

Page 4

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers UART SWITCHING CHARACTERISTICS (V = +5V ±5 1.8432MHz XTL UART configured for 9600 baud +25°C.) (Note 1) A PARAMETER SYMBOL UART AC TIMING (Figure 1) CS ...

Page 5

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers SWITCHING CHARACTERISTICS—SRL = Unconnected (V = +5V ±5 unless otherwise noted. Typical values are MIN MAX PARAMETER SYMBOL t Driver Input to ...

Page 6

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers SWITCHING CHARACTERISTICS—SRL = +5V ±5 unless otherwise noted. Typical values are MIN MAX PARAMETER SYMBOL t Driver Input to ...

Page 7

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers SWITCHING CHARACTERISTICS—SRL = GND (V = +5V ±5 unless otherwise noted. Typical values are MIN MAX PARAMETER SYMBOL t Driver Input to ...

Page 8

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers (V = +5V +25°C, unless otherwise noted UART SUPPLY CURRENT vs. TEMPERATURE 1000 1.8432MHz CRYSTAL 900 TRANSMITTING AT 115.2 kbps 800 700 600 500 400 300 200 100 ...

Page 9

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers (V = +5V +25°C, unless otherwise noted RS-485 RECEIVER OUTPUT LOW VOLTAGE vs. TEMPERATURE 0. 8mA RO 0.45 0.40 0.35 0.30 0.25 0.20 0.15 0.10 -60 ...

Page 10

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers (V = +5V +25°C, unless otherwise noted OUTPUT CURRENT vs. RS-485 DRIVER OUTPUT LOW VOLTAGE 140 120 100 ...

Page 11

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers PIN NAME FULL HALF DUPLEX DUPLEX UART Crystal Connection. Leave X2 unconnected for external clock. See the Crystals Oscillators, and Ceramic Resonators section. UART Crystal Connection. X1 also serves ...

Page 12

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers PIN NAME FULL HALF DUPLEX DUPLEX RS-485 Receiver Phase. Connect RXP to GND or leave it unconnected for normal receiver 21 21 RXP phase/polarity. Connect RXP Positive ...

Page 13

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers Figure 1. Driver DC Test Load Figure 3. Driver Timing Test Circuit ...

Page 14

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers 1.5V V OUTPUT PHL -1V INPUT Figure 7. Receiver Propagation Delays Figure 9. Receiver Propagation Delay Test Circuit _______________Detailed Description The MAX3140 combines ...

Page 15

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers The universal asynchronous receiver transmitter (UART) interfaces the SPI/MICROWIRE-compatible syn- chronous serial data from a microprocessor (µP) to asynchronous, serial-data communication ports (RS- 485, IrDA). Figure 10 shows the MAX3140 functional diagram. ...

Page 16

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers SCLK’s rising edge. DOUT (MISO) is read into the µP on SCLK’s rising edge. The first bit (bit 15) of DOUT transitions on CS’s falling edge, and bits 14–0 transition on SCLK’s ...

Page 17

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers Table 1. Bit Descriptions BIT BIT POR NAME TYPE STATE B0–B3 write 0000 Baud-Rate Divisor Select Bits. Sets the baud clock’s value (Table 6). B0–B3 read 0000 Baud-Rate Divisor Select Bits. Reads ...

Page 18

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers Table 1. Bit Descriptions (continued) BIT BIT POR NAME TYPE STATE Receiver-Activity/Framing-Error Bit. In shutdown mode, this is the RA bit. In normal operation, this is the FE bit. In shutdown mode, ...

Page 19

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers WRITE CONFIGURATION Register Configure the UART by writing a 16-bit word to the WRITE CONFIGURATION register, which programs the baud rate, data-word length, parity enable, and enable of the 8-word receive FIFO. ...

Page 20

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers Bits 15 and 14 of the DOUT WRITE CONFIGURATION word (R and T) are sent out of the MAX3140 along with 14 trailing zeros. The use of the R and T bits ...

Page 21

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers The device enters a test mode if bit 0 of the DIN config- uration word equals 1 when performing a READ CON- FIGURATION. In this mode the RTS ...

Page 22

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers Table 5. READ DATA Register Bit Assignment (D15, D14 = 0, 0) BIT DIN DOUT Notes: bit 15, 14: DIN ...

Page 23

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers Table 7. Interrupt Sources and Masks—Bit Descriptions BIT MASK MEANING NAME BIT WHEN SET PM Pr Received parity bit = Data available Transition on RX when in shutdown; framing ...

Page 24

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers Example 2: Setting up only the data-available (or data- being-read) interrupt. Send the 16-bit word below into DIN of the MAX3140 using the WRITE CONFIGURATION register. This 16-bit word configures the MAX3140 ...

Page 25

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers Receiver Input Filtering The receivers of the MAX3140, when operating in 115kbps or 500kbps mode, incorporate input filtering in addition to input hysteresis. This filtering enhances noise immunity with differential signals that ...

Page 26

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers The MAX3140 supports a common multidrop communi- cation technique referred to as 9-bit mode. In this mode, the parity bit is set to indicate a message that contains a header with a ...

Page 27

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers 20dB/div O 100kHz/div Figure 18. Driver Output Waveform and FFT Plot of MAX3140 with SRL = V , Transmitting a 20kHz Signal CC sis of a 20kHz signal transmitted with SRL = ...

Page 28

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers Typical Applications The MAX3140 is designed for bidirectional data com- munications on multipoint bus transmission lines. The RS-485 transceiver can be used in any RS-485 applica- tion due to its numerous features ...

Page 29

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers + *NOTE: TO SHUT DOWN THE RS-485 TRANSCEIVER, DRIVE RE SEPARATELY. Figure 24. Typical Half-Duplex Operating Circuit 120Ω MAX3140 Figure 25. Typical ...

Page 30

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers *NOTE: TO SHUT DOWN THE RS-485 TRANSCEIVER, DRIVE RE SEPARATELY WITH AN I μP. Figure 26. Typical Full-Duplex Operating Circuit A 120Ω 120Ω DI ...

Page 31

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers V *NOTE: TO SHUT DOWN THE RS-485 TRANSCEIVER, DRIVE RE SEPARATELY. Figure 28. Typical IR and RS-485 Operating Circuit ______________________________________________________________________________________ CC 10k V +5V CC H/F IRQ UART DIN IN DOUT IrDA ...

Page 32

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers Listing C-language outline of an interrupt-driven software driver that interfaces to a MAX3140, providing an intermediate layer between the bit-manipulation sub- routine and the familiar PutChar/GetChar subroutines. Listing 1. ...

Page 33

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers Listing 1. Outline for a MAX3140 Software Driver (continued) ______________________________________________________________________________________ 33 ...

Page 34

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers Listing 1. Outline for a MAX3140 Software Driver (continued) 34 ______________________________________________________________________________________ ...

Page 35

SPI/MICROWIRE-Compatible UART with Integrated True Fail-Safe RS-485/RS-422 Transceivers Pin Configuration TOP VIEW + CTS 3 RTS MAX3140 TX 6 H/F 7 GND SRL 13 ...

Page 36

... 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. 36 ____________________Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 © 2010 Maxim Integrated Products ...

Related keywords