MAX1227/MAX1229/MAX1231
12-Bit 300ksps ADCs with FIFO,
Temp Sensor, Internal Reference
______________________________________________________________________________________ 13
bits in the setup register. Bits 5 and 4 (CKSEL1 and
CKSEL0) control the clock mode, acquisition and sam-
pling, and the conversion start. Bits 3 and 2 (REFSEL1
and REFSEL0) control internal or external reference use.
Bits 1 and 0 (DIFFSEL1 and DIFFSEL0) address the
unipolar mode and bipolar mode registers and configure
the analog input channels for differential operation.
Unipolar/Bipolar Registers
The final 2 bits (LSBs) of the setup register control the
unipolar/bipolar mode address registers. Set bits 1 and
0 (DIFFSEL1 and DIFFSEL0) to 10 to write to the unipo-
lar mode register. Set bits 1 and 0 to 11 to write to the
bipolar mode register. In both cases, the setup byte
must be followed immediately by 1 byte of data written
to the unipolar register or bipolar register. Hold CS low
and run 16 SCLK cycles before pulling CS high. If the
last 2 bits of the setup register are 00 or 01, neither the
unipolar mode register nor the bipolar mode register is
written. Any subsequent byte is recognized as a new
input data byte. See Tables 4 and 5 to program the
unipolar and bipolar mode registers.
If a channel is configured as both unipolar and bipolar,
the unipolar setting takes precedence. In unipolar
mode, AIN+ can exceed AIN- by up to V
REF
. The out-
put format in unipolar mode is binary. In bipolar mode,
either input can exceed the other by up to V
REF
/2. The
output format in bipolar mode is two's complement.
Averaging Register
Write to the averaging register to configure the ADC to
average up to 32 samples for each requested result,
and to independently control the number of results
requested for single-channel scans.
Table 2 details the four scan modes available in the con-
version register. All four scan modes allow averaging as
long as the AVGON bit, bit 4 in the averaging register, is
set to 1. Select scan mode 10 to scan the same channel
multiple times. Clock mode 11 disables averaging.
Reset Register
Write to the reset register (as shown in Table 7) to clear
the FIFO or to reset all registers to their default states.
Set the RESET bit to 1 to reset the FIFO. Set the reset
bit to zero to return the MAX1227/MAX1229/MAX1231
to the default power-up state.
Power-Up Default State
The MAX1227/MAX1229/MAX1231 power up with all
blocks in shutdown, including the reference. All registers
power up in state 00000000, except for the setup regis-
ter, which powers up in clock mode 10 (CKSEL1 = 1).
BIT
NAME
BIT FUNCTION
7 (MSB) Set to 1 to select conversion register.
CHSEL3 6 Analog input channel select.
CHSEL2 5 Analog input channel select.
CHSEL1 4 Analog input channel select.
CHSEL0 3 Analog input channel select.
SCAN1 2 Scan mode select.
SCAN0 1 Scan mode select.
TEMP 0 (LSB)
Set to 1 to take a single temperature
measurement. The first conversion result
of a scan contains temperature information.
Table 2. Conversion Register
* See below for bit details.
CHSEL3 CHSEL2 CHSEL1 CHSEL0
SELECTED
CHANNEL (N)
0 0 0 0 AIN0
0 0 0 1 AIN1
0 0 1 0 AIN2
0 0 1 1 AIN3
0 1 0 0 AIN4
0 1 0 1 AIN5
0 1 1 0 AIN6
0 1 1 1 AIN7
1 0 0 0 AIN8
1 0 0 1 AIN9
1 0 1 0 AIN10
1 0 1 1 AIN11
1 1 0 0 AIN12
1 1 0 1 AIN13
1 1 1 0 AIN14
1 1 1 1 AIN15
SCAN1 SCAN0
SCAN MODE (CHANNEL N IS
SELECTED BY BITS CHSEL3–CHSEL0)
0 0 Scans channels 0 through N.
01
Scans channels N through the highest
numbered channel.
10
S cans channel N r ep eated l y. The aver ag i ng
r eg i ster sets the num b er of r esul ts.
1 1 No scan. Converts channel N once only.
MAX1227/MAX1229/MAX1231
12-Bit 300ksps ADCs with FIFO,
Temp Sensor, Internal Reference
14 ______________________________________________________________________________________
Table 3. Setup Register
BIT NAME BIT FUNCTION
7 (MSB) Set to zero to select setup register.
6 Set to 1 to select setup register.
CKSEL1 5 Clock mode and CNVST configuration. Resets to 1 at power-up.
CKSEL0 4 Clock mode and CNVST configuration.
REFSEL1 3 Reference mode configuration.
REFSEL0 2 Reference mode configuration.
DIFFSEL1 1 Unipolar/bipolar mode register configuration for differential mode.
DIFFSEL0 0 (LSB) Unipolar/bipolar mode register configuration for differential mode.
CKSEL1 CKSEL0 CONVERSION CLOCK ACQUISITION/SAMPLING CNVST CONFIGURATION
0 0 Internal Internally timed
CNVST
0 1 Internal Externally timed through CNVST CNVST
1 0 Internal Internally timed AIN15/11/7
1 1 External (4.8MHz max) Externally timed through SCLK AIN15/11/7
REFSEL1 REFSEL0 VOLTAGE REFERENCE AutoShutdown REF- CONFIGURATION
0 0 Internal
Reference off after scan; need
wake-up delay.
AIN14/10/6
0 1 External single ended Reference off; no wake-up delay. AIN14/10/6
1 0 Internal
Reference always on; no wake-up
delay.
AIN14/10/6
1 1 External differential Reference off; no wake-up delay. REF-
DIFFSEL1 DIFFSEL0 FUNCTION
0 0 No data follows the setup byte. Unipolar mode and bipolar mode registers remain unchanged.
0 1 No data follows the setup byte. Unipolar mode and bipolar mode registers remain unchanged.
1 0 One byte of data follows the setup byte and is written to the unipolar mode register.
1 1 One byte of data follows the setup byte and is written to the bipolar mode register.
* See below for bit details.
MAX1227/MAX1229/MAX1231
12-Bit 300ksps ADCs with FIFO,
Temp Sensor, Internal Reference
______________________________________________________________________________________ 15
Temperature Measurements
The MAX1227/MAX1229/MAX1231 perform tempera-
ture measurements with an internal diode-connected
transistor. The diode bias current changes from 68µA
to 4µA to produce a temperature-dependent bias volt-
age difference. The second conversion result at 4µA is
subtracted from the first at 68µA to calculate a digital
value that is proportional to absolute temperature. The
output data appearing at DOUT is the above digital
code minus an offset to adjust from Kelvin to Celsius.
The reference voltage used for the temperature mea-
surements is derived from the internal reference source
to ensure that 1 LSB corresponds to 1/8 of a degree.
Output Data Format
Figures 4–7 illustrate the conversion timing for the
MAX1227/MAX1229/MAX1231. The 12-bit conversion
result is output in MSB-first format with four leading
zeros. DIN data is latched into the serial interface on
the rising edge of SCLK. Data on DOUT transitions on
the falling edge of SCLK. Conversions in clock modes 00
and 01 are initiated by CNVST. Conversions in clock
modes 10 and 11 are initiated by writing an input data
byte to the conversion register. Data is binary for unipo-
lar mode and two’s complement for bipolar mode.
BIT NAME BIT FUNCTION
UCH0/1 7 (MSB) Set to 1 to configure AIN0 and AIN1 for unipolar differential conversion.
UCH2/3 6 Set to 1 to configure AIN2 and AIN3 for unipolar differential conversion.
UCH4/5 5 Set to 1 to configure AIN4 and AIN5 for unipolar differential conversion.
UCH6/7 4 Set to 1 to configure AIN6 and AIN7 for unipolar differential conversion.
UCH8/9 3 Set to 1 to configure AIN8 and AIN9 for unipolar differential conversion (MAX1229/MAX1231 only).
UCH10/11 2 Set to 1 to configure AIN10 and AIN11 for unipolar differential conversion (MAX1229/MAX1231 only).
UCH12/13 1 Set to 1 to configure AIN12 and AIN13 for unipolar differential conversion (MAX1231 only).
UCH14/15 0 (LSB) Set to 1 to configure AIN14 and AIN15 for unipolar differential conversion (MAX1231 only).
Table 4. Unipolar Mode Register (Addressed Through Setup Register)
BIT NAME BIT FUNCTION
BCH0/1 7 (MSB) Set to 1 to configure AIN0 and AIN1 for bipolar differential conversion.
BCH2/3 6 Set to 1 to configure AIN2 and AIN3 for bipolar differential conversion.
BCH4/5 5 Set to 1 to configure AIN4 and AIN5 for bipolar differential conversion.
BCH6/7 4 Set to 1 to configure AIN6 and AIN7 for bipolar differential conversion.
BCH8/9 3 Set to 1 to configure AIN8 and AIN9 for bipolar differential conversion (MAX1229/MAX1231 only).
BCH10/11 2 Set to 1 to configure AIN10 and AIN11 for bipolar differential conversion (MAX1229/MAX1231 only).
BCH12/13 1 Set to 1 to configure AIN12 and AIN13 for bipolar differential conversion (MAX1231 only).
BCH14/15 0 (LSB) Set to 1 to configure AIN14 and AIN15 for bipolar differential conversion (MAX1231only).
Table 5. Bipolar Mode Register (Addressed Through Setup Register)

MAX1231ACEG+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