English
Language : 

MAX1236 Datasheet, PDF (13/22 Pages) Maxim Integrated Products – 2.7V to 3.6V and 4.5V to 5.5V, Low-Power, 4-/12-Channel, 2-Wire Serial, 12-Bit ADCs
2.7V to 3.6V and 4.5V to 5.5V, Low-Power,
4-/12-Channel, 2-Wire Serial, 12-Bit ADCs
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 3). 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).
Figure 9. Write Cycle
MASTER TO SLAVE
SLAVE TO MASTER
A. ONE-BYTE WRITE CYCLE
1
7
11
8
11
S
SLAVE ADDRESS
WA
SETUP OR
CONFIGURATION BYTE
A
P or Sr
NUMBER OF BITS
MSB DETERMINES WHETHER
SETUP OR CONFIGURATION BYTE
B. TWO-BYTE WRITE CYCLE
1
7
11
8
1
8
11
S
SLAVE ADDRESS
WA
SETUP OR
CONFIGURATION BYTE
A
SETUP OR
CONFIGURATION BYTE
A P or Sr
MSB DETERMINES WHETHER
SETUP OR CONFIGURATION BYTE
NUMBER OF BITS
Table 1. Setup Byte Format
BIT 7
(MSB)
REG
BIT 6
SEL2
BIT 5
SEL1
BIT 4
SEL0
BIT 3
CLK
BIT 2
BIP/UNI
BIT 1
RST
BIT 0
(LSB)
X
BIT
NAME
DESCRIPTION
7
REG
Register bit. 1 = setup byte, 0 = configuration byte (see Table 2).
6
SEL2
5
SEL1
Three bits select the reference voltage and the state of AIN_/REF (Table 6). Default to 000 at
power-up.
4
SEL0
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.
______________________________________________________________________________________ 13