MAX232

Last updated

MAX232 chip in DIP-16 package Max232.jpg
MAX232 chip in DIP-16 package
The die of a MAX232 TI 2BC121M MAX232N.jpg
The die of a MAX232
MAX232 pinout: Red: power, Yellow: charge pump capacitors,
Blue: outputs, Green: inputs,
Pins 9-12: TTL/CMOS I/O voltages MAX232 Pinout.svg
MAX232 pinout: Red: power, Yellow: charge pump capacitors,
Blue: outputs, Green: inputs,
Pins 9–12: TTL/CMOS I/O voltages

The MAX232 is an integrated circuit by Maxim Integrated Products, now a subsidiary of Analog Devices, that converts signals from a TIA-232 (RS-232) serial port to signals suitable for use in TTL-compatible digital logic circuits. The MAX232 is a dual transmitter / dual receiver that typically is used to convert the RX, TX, CTS, RTS signals. [1]

Contents

The drivers provide TIA-232 voltage level outputs (about ±7.5  volts) from a single 5-volt supply by on-chip charge pumps and external capacitors. This makes it useful for implementing TIA-232 in devices that otherwise do not need any other voltages. The receivers translates the TIA-232 input voltages (up to ±25 volts, though MAX232 supports up to ±30 volts) down to standard 5 volt TTL levels. [1] These receivers have a typical threshold of 1.3 volts and a typical hysteresis of 0.5 volts. [1]

The MAX232 replaced an older pair of chips MC1488 and MC1489 that performed similar RS-232 translation. The MC1488 quad transmitter chip required 12 volt and −12 volt power, [2] and MC1489 quad receiver chip required 5 volt power. [3] The main disadvantages of this older solution was the ±12 volt power requirement, only supported 5 volt digital logic, and two chips instead of one.

History

The MAX232 was proposed by Charlie Allen and designed by Dave Bingham. [4] [5] [6] Maxim Integrated Products announced the MAX232 no later than 1986. [1]

Versions

The later MAX232A is backward compatible with the original MAX232 but may operate at higher baud rates and can use smaller external capacitors  0.1  μF in place of the 1.0 μF capacitors used with the original device. [7] The newer MAX3232 and MAX3232E are also backwards compatible, but operates at a broader voltage range, from 3 to 5.5 V. [8] [9]

Pin-to-pin compatible versions from other manufacturers are ICL232, SP232, ST232, ADM232 and HIN232. Texas Instruments makes compatible chips, using MAX232 as the part number.

Voltage levels

The MAX232 translates a TTL logic 0 input to between +3 and +15 V, and changes TTL logic 1 input to between −3 and −15 V, and vice versa for converting from TIA-232 to TTL. (The TIA-232 uses opposite voltages for data and control lines, see RS-232 voltage levels.)

TIA-232 line type and logic levelTIA-232 voltageTTL voltage to/from MAX232
Data transmission (Rx/Tx) logic 0+3 V to +15 V0 V
Data transmission (Rx/Tx) logic 1−3 V to −15 V5 V
Control signals (RTS/CTS/DTR/DSR) logic 0−3 V to −15 V5 V
Control signals (RTS/CTS/DTR/DSR) logic 1+3 V to +15 V0 V

Applications

TIA-232 to TTL converters that use MAX232 RS-232 to TTL converters using MAX232.jpg
TIA-232 to TTL converters that use MAX232

The MAX232(A) has two receivers that convert from RS-232 to TTL voltage levels, and two drivers that convert from TTL logic to RS-232 voltage levels. As a result, only two out of all RS-232 signals can be converted in each direction. Typically, the first driver/receiver pair of the MAX232 is used for TX and RX signals, and the second one for CTS and RTS signals.

There are not enough drivers/receivers in the MAX232 to also connect the DTR, DSR, and DCD signals. Usually, these signals can be omitted when, for example, communicating with a PC's serial interface, or when special cables render them unnecessary. If the DTE requires these signals, a second MAX232 or some other IC from the MAX232 family can be used.

Derivatives

The MAX232 family was subsequently extended by Maxim to versions with four transmitters (the MAX234) and a version with four receivers and four transmitters (the MAX248), as well as several other combinations of receivers and transmitters. A notable addition is the MAX316x which is able to be electrically reconfigured between differential 5 V (RS-422 and RS-485) and single-ended RS-232 albeit at reduced voltage.

Related Research Articles

<span class="mw-page-title-main">RS-232</span> Standard for serial communication

In telecommunications, RS-232 or Recommended Standard 232 is a standard originally introduced in 1960 for serial communication transmission of data. It formally defines signals connecting between a DTE such as a computer terminal, and a DCE, such as a modem. The standard defines the electrical characteristics and timing of signals, the meaning of signals, and the physical size and pinout of connectors. The current version of the standard is TIA-232-F Interface Between Data Terminal Equipment and Data Circuit-Terminating Equipment Employing Serial Binary Data Interchange, issued in 1997. The RS-232 standard had been commonly used in computer serial ports and is still widely used in industrial communication devices.

<span class="mw-page-title-main">Comparator</span> Device that compares two voltages or currents

In electronics, a comparator is a device that compares two voltages or currents and outputs a digital signal indicating which is larger. It has two analog input terminals and and one binary digital output . The output is ideally

Transistor–transistor logic (TTL) is a logic family built from bipolar junction transistors. Its name signifies that transistors perform both the logic function and the amplifying function, as opposed to earlier resistor–transistor logic (RTL) and diode–transistor logic (DTL).

<span class="mw-page-title-main">Universal asynchronous receiver-transmitter</span> Computer hardware device

A universal asynchronous receiver-transmitter is a computer hardware device for asynchronous serial communication in which the data format and transmission speeds are configurable. It sends data bits one by one, from the least significant to the most significant, framed by start and stop bits so that precise timing is handled by the communication channel. The electric signaling levels are handled by a driver circuit external to the UART. Two common signal levels are RS-232, a 5-volt system, and RS-485, a 12-volt system. Early teletypewriters used current loops.

<span class="mw-page-title-main">Serial port</span> Communication interface transmitting information sequentially

In computing, a serial port is a serial communication interface through which information transfers in or out sequentially one bit at a time. This is in contrast to a parallel port, which communicates multiple bits simultaneously in parallel. Throughout most of the history of personal computers, data has been transferred through serial ports to devices such as modems, terminals, various peripherals, and directly between computers.

<span class="mw-page-title-main">Low-voltage differential signaling</span> Technical standard

Low-voltage differential signaling (LVDS), also known as TIA/EIA-644, is a technical standard that specifies electrical characteristics of a differential, serial signaling standard. LVDS operates at low power and can run at very high speeds using inexpensive twisted-pair copper cables. LVDS is a physical layer specification only; many data communication standards and applications use it and add a data link layer as defined in the OSI model on top of it.

<span class="mw-page-title-main">7400-series integrated circuits</span> Series of transistor–transistor logic integrated circuits

The 7400 series is a popular logic family of transistor–transistor logic (TTL) integrated circuits (ICs).

<span class="mw-page-title-main">RS-422</span> Standard for serial communication

RS-422, also known as TIA/EIA-422, is a technical standard originated by the Electronic Industries Alliance that specifies electrical characteristics of a digital signaling circuit. It was meant to be the foundation of a suite of standards that would replace the older RS-232C standard with standards that offered much higher speed, better immunity from noise, and longer cable lengths. RS-422 systems can transmit data at rates as high as 10 Mbit/s, or may be sent on cables as long as 1,200 meters (3,900 ft) at lower rates. It is closely related to RS-423, which uses the same signaling systems but on a different wiring arrangement.

<span class="mw-page-title-main">Diode–transistor logic</span>

Diode–transistor logic (DTL) is a class of digital circuits that is the direct ancestor of transistor–transistor logic. It is called so because the logic gating functions AND and OR are performed by diode logic, while logical inversion (NOT) and amplification is performed by a transistor.

<span class="mw-page-title-main">1-Wire</span> Device communications bus system

1-Wire is a device communications bus system designed by Dallas Semiconductor that provides low-speed (16.3 kbit/s) data, signaling, and power over a single conductor.

Differential TTL is a type of binary electrical signaling based on the transistor-transistor logic (TTL) concept. Standards implementing differential TTL include RS-422. It enables electronic systems to be relatively immune to noise.

In computer engineering, a logic family is one of two related concepts:

RS-485, also known as TIA-485(-A) or EIA-485, is a standard defining the electrical characteristics of drivers and receivers for use in serial communications systems. Electrical signaling is balanced, and multipoint systems are supported. The standard is jointly published by the Telecommunications Industry Association and Electronic Industries Alliance (TIA/EIA). Digital communications networks implementing the standard can be used effectively over long distances and in electrically noisy environments. Multiple receivers may be connected to such a network in a linear, multidrop bus. These characteristics make RS-485 useful in industrial control systems and similar applications.

<span class="mw-page-title-main">Differential signalling</span> Method for electrically transmitting information

Differential signalling is a method for electrically transmitting information using two complementary signals. The technique sends the same electrical signal as a differential pair of signals, each in its own conductor. The pair of conductors can be wires in a twisted-pair or ribbon cable or traces on a printed circuit board.

In digital circuits, a logic level is one of a finite number of states that a digital signal can inhabit. Logic levels are usually represented by the voltage difference between the signal and ground, although other standards exist. The range of voltage levels that represent each state depends on the logic family being used. A logic-level shifter can be used to allow compatibility between different circuits.

<span class="mw-page-title-main">Electronic circuit</span> Electrical circuit with active components

An electronic circuit is composed of individual electronic components, such as resistors, transistors, capacitors, inductors and diodes, connected by conductive wires or traces through which electric current can flow. It is a type of electrical circuit and to be referred to as electronic, rather than electrical, generally at least one active component must be present. The combination of components and wires allows various simple and complex operations to be performed: signals can be amplified, computations can be performed, and data can be moved from one place to another.

<span class="mw-page-title-main">Texas Instruments SN76477</span> Sound generating integrated circuit

SN76477 "complex sound generator" is a sound chip produced by Texas Instruments (TI). The chip came to market in 1978, and TI ceased production of the part. A compatible version is identified as ICS76477. The chip is typically used as a sound effects generator in arcade games and toys and for hobby projects. The use of the SN76477 in a musical context is limited by the fact that it was difficult to electronically control the pitch of the produced sound.

A gate driver is a power amplifier that accepts a low-power input from a controller IC and produces a high-current drive input for the gate of a high-power transistor such as an IGBT or power MOSFET. Gate drivers can be provided either on-chip or as a discrete module. In essence, a gate driver consists of a level shifter in combination with an amplifier. A gate driver IC serves as the interface between control signals and power switches. An integrated gate-driver solution reduces design complexity, development time, bill of materials (BOM), and board space while improving reliability over discretely-implemented gate-drive solutions.

<span class="mw-page-title-main">USB-to-serial adapter</span>

A USB-to-serial adapter or simply USB adapter is a type of protocol converter that is used for converting USB data signals to and from serial communications standards. Most commonly the USB data signals are converted to either RS-232, RS-485, RS-422, or TTL-level UART serial data. The older serial RS423 protocol is rarely used any more, so USB to RS423 adapters are less common.

References

  1. 1 2 3 4 "At Last, It's Easy To Design RS-232-C Modems" (PDF). Electronics: 89–92. 1986-07-24.
  2. MC1488 (MC1488, SN55188, SN75188) product webpage; Texas Instruments.
  3. MC1489 (MC1489, MC1489A, SN55189, SN55189A, SN75189, SN75189A) product webpage; Texas Instruments.
  4. EDN Staff, ed. (1997-05-08). "EDN's 1996 Innovator / Innovation Competition". EDN . Archived from the original on 2021-12-10. Retrieved 2021-12-10.
  5. Sherman, Len (2016-12-16). "Almost 30 years of the MAX232". BISinfotech. Archived from the original on 2021-12-10. Retrieved 2021-12-10. The MAX232's success was as much a tribute to the vision of its definer, Charlie Allen, as it was to the ingenuity of its designer, Dave Bingham.
  6. Fox, Brett J. (2021). "What Makes Your Great Engineers Great?". Archived from the original on 2021-12-10. Retrieved 2021-12-10. The launch of the MAX232 family is particularly insightful. Charlie Allen, a brilliant, customer focused, applications engineer, noticed that our customers were using a product called the ICL7660, which Dave [Bingham] also designed, to provide the negative power supply for RS-232 line drivers and receivers. So, Charlie approached Dave, and asked Dave if he could design an IC that integrated the functionality of the ICL7660 with an RS-232 line driver and receiver.
  7. MAX232 (MAX220 to MAX249) product webpage; Maxim.
  8. MAX3232 (MAX3222 to MAX3241) product webpage; Maxim.
  9. MAX3232E (MAX3222E to MAX3246E) product webpage; Maxim.