MAX127/MAX128
Multirange, +5V, 12-Bit DAS with
2-Wire Serial Interface
10 ______________________________________________________________________________________
BIT 7
(MSB)
BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1
BIT 0
(LSB)
START SEL2 SEL1 SEL0 RNG BIP PD1 PD0
Table 1. Control-Byte Format
BIT NAME DESCRIPTION
7 (MSB) START
The logic "1" received after acknowledge of a write bit (R/W = 0) defines the
beginning of the control byte.
6, 5, 4
SEL2, SEL1,
SEL0
These three bits select the desired "ON" channel (Table 2).
3 RNG
Selects the full-scale input voltage range (Table 3).
2 BIP
Selects unipolar or bipolar conversion mode (Table 3).
1, 0 (LSB) PD1, PD0
These two bits select the power-down modes (Table 4).
SEL2 SEL1 SEL0 CHANNEL
0 0 0 CH0
0 0 1 CH1
0 1 0 CH2
0 1 1 CH3
1 0 0 CH4
1 0 1 CH5
1 1 0 CH6
1 1 1 CH7
Table 2. Channel Selection
Table 3. Range and Polarity Selection
INPUT RANGE (V) RNG BIP
NEGATIVE FULL
SCALE (V)
ZERO
SCALE (V)
FULL SCALE (V)
0 to 5 0 0 0 V
REF
x 1.2207
0 to 10 1 0 0 V
REF x 2.4414
±5 0 1 -V
REF
x 1.2207 0 V
REF
x 1.2207
±10 1 1 -V
REF x 2.4414
0 V
REF x 2.4414
Table 4. Power-Down and Clock
Selection
PD1 PD0 MODE
0 X Normal Operation (always on)
1 0 Standby Power-Down Mode (STBYPD)
1 1 Full Power-Down Mode (FULLPD)
0 to V
REF
1 0 0 V
REF
±V
REF
/2 0 1 -V
REF
/2 0 V
REF
/2
±V
REF
1 1 -V
REF
0 V
REF
0 to V
REF
/2 0 0 0 V
REF
/2
MAX127
MAX128
Slave Address
The MAX127/MAX128 have a 7-bit-long slave address.
The first four bits (MSBs) of the slave address have
been factory programmed and are always 0101. The
logic state of the address input pins (A2–A0) determine
the three LSBs of the device address (Figure 3). A max-
imum of eight MAX127/MAX128 devices can therefore
be connected on the same bus at one time.
A2–A0 may be connected to V
DD
or DGND, or they
may be actively driven by TTL or CMOS logic levels.
The eighth bit of the address byte determines whether
the master is writing to or reading from the MAX127/
MAX128 (R/W = 0 selects a write condition. R/W = 1
selects a read condition).
Conversion Control
The master signals the beginning of a transmission with
a START condition (S), which is a high-to-low transition
on SDA while SCL is high. When the master has fin-
ished communicating with the slave, the master issues
a STOP condition (P), which is a low-to-high transition
on SDA while SCL is high (Figure 4). The bus is then
free for another transmission. Figure 5 shows the timing
diagram for signals on the 2-wire interface. The
address-byte, control-byte, and data-byte are transmit-
ted between the START and STOP conditions. The SDA
state is allowed to change only while SCL is low, except
for the START and STOP conditions. Data is transmitted
in 8-bit words. Nine clock cycles are required to trans-
fer the data in or out of the MAX127/MAX128. (Figures
9 and 10).
MAX127/MAX128
Multirange, +5V, 12-Bit DAS with
2-Wire Serial Interface
______________________________________________________________________________________ 11
SCL
SDA
SLAVE ADDRESS BITS A2, A1, AND A0 CORRESPOND TO THE LOGIC STATE
OF THE ADDRESS INPUT PINS A2, A1, AND A0.
00 1 A21 R/WA1 A0
LSB
ACK
SLAVE ADDRESS
Figure 3. Address Byte
SCL
SDA
t
LOW
t
HIGH
t
F
t
R
t
HD
,
STA
t
HD
,
DAT
t
HD
,
STA
t
SU
,
DAT
t
SU
,
STA
t
BUF
t
SU
,
STO
START CONDITIONSTOP CONDITIONREPEATED START CONDITIONSTART CONDITION
Figure 5. 2-Wire Serial-Interface Timing Diagram
SCL
SDA
START CONDITION
STOP CONDITION
Figure 4. START and STOP Conditions
MAX127/MAX128
Start a Conversion (Write Cycle)
A conversion cycle begins with the master issuing a
START condition followed by seven address bits
(Figure 3) and a write bit (R/W = 0). Once the eighth bit
has been received and the address matches, the
MAX127/MAX128 (the slave) issues an acknowledge
by pulling SDA low for one clock cycle (A = 0). The
master then writes the input control byte to the slave
(Figure 8). After this byte of data, the slave issues
another acknowledge, pulling SDA low for one clock
cycle. The master ends the write cycle by issuing a
STOP condition (Figure 6).
When the write bit is set (R/W = 0), acquisition starts as
soon as Bit 2 (BIP) of the input control-byte has been
latched and ends when a STOP condition has been
issued. Conversion starts immediately after acquisition.
The MAX127/MAX128’s internal conversion clock fre-
quency is 1.56MHz, resulting in a typical conversion
time of 7.7µs. Figure 9 shows a complete write cycle.
Read a Conversion (Read Cycle)
Once a conversion starts, the master does not need to
wait for the conversion to end before attempting to read
the data from the slave. Data access begins with the
master issuing a START condition followed by a 7-bit
address (Figure 3) and a read bit (R/W = 1). Once the
eighth bit has been received and the address matches,
the slave issues an acknowledge by pulling low on SDA
for one clock cycle (A = 0) followed by the first byte of
serial data (D11–D4, MSB first). After the first byte has
been issued by the slave, it releases the bus for the
master to issue an acknowledge (A = 0). After receiv-
ing the acknowledge, the slave issues the second byte
(D3–D0 and four zeros) followed by a NOT acknowl-
edge (A=1) from the master to indicate that the last
data byte has been received. Finally, the master issues
a STOP condition (P), ending the read cycle (Figure 7).
Multirange, +5V, 12-Bit DAS with
2-Wire Serial Interface
12 ______________________________________________________________________________________
LSBMSB
SDA
SCL
START SEL2 SEL1 SEL0 RNG BIP PD1 PD0 ACK
START: FIRST LOGIC “1” RECEIVED AFTER ACKNOWLEDGE OF A WRITE.
ACK: ACKNOWLEDGE BIT. THE MAX127/MAX128 PULL SDA LOW DURING THE
9TH CLOCK PULSE.
Figure 8. Command Byte
Figure 9. Complete 2-Wire Serial Write Transmission
START
CONDITION
STOP
CONDITION
CONTROL BYTESLAVE ADDRESS BYTE
SCL
A/D STATE
SDA
MSB MSBLSB LSB
W
1 2 7 8 9 10 11 15 16 17 18
BIPS
10
PD1 PD0 AA
ACQUISITION CONVERSION
MASTER TO SLAVE
SLAVE TO MASTER
NO. OF BITS
S SLAVE ADDRESS W A CONTROL-BYTE A P
1 7 1 1 8 1 1
START CONDITION
WRITE
ACKNOWLEDGE
ACKNOWLEDGE
STOP CONDITION
MASTER TO SLAVE
SLAVE TO MASTER
NO. OF BITS
S SLAVE ADDRESS R A DATA-BYTE A
1 7 1 1 8 1
DATA-BYTE A P
8 1 1
START CONDITION
READ
NOT ACKNOWLEDGE
ACKNOWLEDGE
STOP CONDITION
Figure 6. Write Cycle
Figure 7. Read Cycle

MAX127ACNG+

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Data Acquisition ADCs/DACs - Specialized 12-Bit 8Ch 8ksps 4.18V Precision ADC
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union