Configuration/Setup Bytes (Write Cycle)
A write cycle begins with the bus master issuing a
START condition followed by seven address bits (Figure
7) and a write bit (R/W = 0). If the address byte is suc-
cessfully received, the MAX1236–MAX1239 (slave)
issues an acknowledge. The master then writes to the
slave. The slave recognizes the received byte as the
set-up byte (Table 1) if the most significant bit (MSB) is
1. If the MSB is 0, the slave recognizes that byte as the
configuration byte (Table 2). The master can write either
one or two bytes to the slave in any order (setup byte,
then configuration byte; configuration byte, then setup
byte; setup byte or configuration byte only; Figure 9). If
the slave receives a byte successfully, it issues an
acknowledge. The master ends the write cycle by issu-
ing a STOP condition or a repeated START condition.
When operating in HS-mode, a STOP condition returns
the bus into F/S-mode (see the
HS-Mode
section).
MAX1236–MAX1239
2.7V to 3.6V and 4.5V to 5.5V, Low-Power,
4-/12-Channel, 2-Wire Serial, 12-Bit ADCs
______________________________________________________________________________________ 13
B. TWO-BYTE WRITE CYCLE
SLAVE TO MASTER
MASTER TO SLAVE
S
1
SLAVE ADDRESS A
711
W
SETUP OR
CONFIGURATION BYTE
SETUP OR
CONFIGURATION BYTE
8
P or Sr
1
A
1
MSB DETERMINES WHETHER
SETUP OR CONFIGURATION BYTE
S
1
SLAVE ADDRESS A
711
W
SETUP OR
CONFIGURATION BYTE
8
P or Sr
1
A
1
MSB DETERMINES WHETHER
SETUP OR CONFIGURATION BYTE
A
1
8
A. ONE-BYTE WRITE CYCLE
NUMBER OF BITS
NUMBER OF BITS
Figure 9. Write Cycle
BIT 7
(MSB)
BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1
BIT 0
(LSB)
REG SEL2 SEL1 SEL0 CLK BIP/UNI RST X
BIT NAME DESCRIPTION
7 REG Register bit. 1 = setup byte, 0 = configuration byte (see Table 2).
6 SEL2
5 SEL1
4 SEL0
Three bits select the reference voltage and the state of AIN_/REF (Table 6). Default to 000 at
power-up.
3 CLK 1 = external clock, 0 = internal clock. Default to 0 at power-up.
2 BIP/UNI
1 = bipolar, 0 = unipolar. Default to 0 at power-up (see the Unipolar/Bipolar section).
1 RST 1= no action, 0 = resets the configuration register to default. Setup register remains unchanged.
0 X Don’t care, can be set to 1 or 0.
Table 1. Setup Byte Format
MAX1236–MAX1239
2.7V to 3.6V and 4.5V to 5.5V, Low-Power,
4-/12-Channel, 2-Wire Serial, 12-Bit ADCs
14 ______________________________________________________________________________________
BIT 7
(MSB)
BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1
BIT 0
(LSB)
REG SCAN1 SCAN0 CS3 CS2 CS1 CS0 SGL/DIF
BIT NAME DESCRIPTION
7 REG Register bit 1 = setup byte (see Table 1), 0 = configuration byte.
6 SCAN1
5 SCAN0
Scan select bits. Two bits select the scanning configuration (Table 5). Default to 00 at power-up.
4 CS3
3 CS2
2 CS1
1 CS0
Channel select bits. Four bits select which analog input channels are to be used for conversion
(Tables 3 and 4). Default to 0000 at power-up. For MAX1236/MAX1237, CS3 and CS2 are
internally set to 0.
0 SGL/DIF
1 = single-ended, 0 = differential (Tables 3 and 4). Default to 1 at power-up. See the Single-
Ended/Differential Input section.
Table 2. Configuration Byte Format
CS3
1
CS2
1
CS1 CS0 AIN0 AIN1 AIN2 AIN3
2
AIN4 AIN5 AIN6 AIN7 AIN8 AIN9 AIN10 AIN11
2
GND
0000+ -
0001 + -
0010 + -
0011 + -
0100 + -
0101 + -
0110 + -
0111 + -
1000 + -
1001 +-
1010 +-
1011
+
-
1 1 0 0 RESERVED
1 1 0 1 RESERVED
1 1 1 0 RESERVED
1 1 1 1 RESERVED
1. For MAX1236/MAX1237, CS3 and CS2 are internally set to 0.
2. When SEL1 = 1, a single-ended read of AIN3/REF (MAX1236/MAX1237) or AIN11/REF (MAX1238/MAX1239) is ignored; scan
stops at AIN2 or AIN10.
Table 3. Channel Selection in Single-Ended Mode (SGL/DIF = 1)
Data Byte (Read Cycle)
A read cycle must be initiated to obtain conversion
results. Read cycles begin with the bus master issuing
a START condition followed by seven address bits and
a read bit (R/W = 1). If the address byte is successfully
received, the MAX1236–MAX1239 (slave) issues an
acknowledge. The master then reads from the slave.
The result is transmitted in two bytes; first four bits of
the first byte are high, then MSB through LSB are con-
secutively clocked out. After the master has received
the byte(s), it can issue an acknowledge if it wants to
continue reading or a not-acknowledge if it no longer
wishes to read. If the MAX1236–MAX1239 receive a not-
acknowledge, they release SDA, allowing the master to
generate a STOP or a repeated START condition. See
the
Clock Modes
and
Scan Mode
sections for detailed
information on how data is obtained and converted.
Clock Modes
The clock mode determines the conversion clock and
the data acquisition and conversion time. The clock
mode also affects the scan mode. The state of the set-
up byte’s CLK bit determines the clock mode (Table 1).
At power-up, the MAX1236–MAX1239 are defaulted to
internal clock mode (CLK = 0).
Internal Clock
When configured for internal clock mode (CLK = 0), the
MAX1236–MAX1239 use their internal oscillator as the con-
version clock. In internal clock mode, the MAX1236–
MAX1239 begin tracking the analog input after a valid
address on the eighth rising edge of the clock. On the
falling edge of the ninth clock, the analog signal is
acquired and the conversion begins. While converting the
analog input signal, the MAX1236–MAX1239 holds SCL
low (clock stretching). After the conversion completes, the
results are stored in internal memory. If the scan mode is
set for multiple conversions, they all happen in succession
with each additional result stored in memory. The
MAX1236/MAX1237 contain four 12-bit blocks of memory,
and the MAX1238/ MAX1239 contain twelve 12-bit blocks
of memory. Once all conversions are complete, the
MAX1236–MAX1239 release SCL, allowing it to be pulled
high. The master can now clock the results out of the mem-
ory in the same order the scan conversion has been done
at a clock rate of up to 1.7MHz. SCL is stretched for a max-
imum of 8.3µs per channel (see Figure 10).
The device memory contains all of the conversion
results when the MAX1236–MAX1239 release SCL. The
converted results are read back in a first-in-first-out
MAX1236–MAX1239
2.7V to 3.6V and 4.5V to 5.5V, Low-Power,
4-/12-Channel, 2-Wire Serial, 12-Bit ADCs
______________________________________________________________________________________ 15
CS3
1
CS2
1
CS1 CS0 AIN0 AIN1 AIN2 AIN3
2
AIN4 AIN5 AIN6 AIN7 AIN8 AIN9 AIN10 AIN11
2
0000+-
0001-+
0010 +-
0011 -+
0100 +-
0101 -+
0110 +-
0111 -+
1000 +-
1001 -+
1010 +-
1011 -+
1100 RESERVED
1101 RESERVED
1110 RESERVED
1111 RESERVED
1. For MAX1236/MAX1237, CS3 and CS2 are internally set to 0.
2. When SEL1 = 1, a differential read between AIN2 and AIN3/REF (MAX1236/MAX1237) or AIN10 and AIN11/REF
(MAX1238/MAX1239) returns the difference between GND and AIN2 or AIN10, respectively. For example, a differential read of 1011
returns the negative difference between AIN10 and GND. In differential scanning, the address increments by 2 until limit set by
CS3:CS1 has been reached.
Table 4. Channel Selection in Differential Mode (SGL/DIF = 0)

MAX1237KEUA+T

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union