MAX1231EVKIT Maxim Integrated Products, MAX1231EVKIT Datasheet - Page 14
![no-image](/images/manufacturer_photos/0/4/417/maxim_integrated_products_sml.jpg)
MAX1231EVKIT
Manufacturer Part Number
MAX1231EVKIT
Description
EVAL KIT FOR MAX1231
Manufacturer
Maxim Integrated Products
Specifications of MAX1231EVKIT
Number Of Adc's
1
Number Of Bits
12
Sampling Rate (per Second)
300k
Data Interface
Serial
Inputs Per Adc
16 Single Ended or 8 Differential
Input Range
±VREF/2
Power (typ) @ Conditions
1.86mW @ 300kSPS
Voltage Supply Source
Single Supply
Operating Temperature
0°C ~ 70°C
Utilized Ic / Part
MAX1231
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
MAX1231 Evaluation Kit/Evaluation System
Listing 1 (Sheet 1 of 4)
14
______________________________________________________________________________________
// Drv1231.h
// MAX1231-specific driver.
// (C) 2003 Maxim Integrated Products
//---------------------------------------------------------------------------
#ifndef DRV1231H
#define DRV1231H
//---------------------------------------------------------------------------
//--------------------------------------------------
// MAX1231 Conversion register
// 1 x x x x x x x
#define MAX1231_CONV
//
// Power-on state:
#define MAX1231_CONV_POR
//
// Channel Selection
#define MAX1231_CONV_AIN00
#define MAX1231_CONV_AIN01
#define MAX1231_CONV_AIN02
#define MAX1231_CONV_AIN03
#define MAX1231_CONV_AIN04
#define MAX1231_CONV_AIN05
#define MAX1231_CONV_AIN06
#define MAX1231_CONV_AIN07
#define MAX1231_CONV_AIN08
#define MAX1231_CONV_AIN09
#define MAX1231_CONV_AIN10
#define MAX1231_CONV_AIN11
#define MAX1231_CONV_AIN12
#define MAX1231_CONV_AIN13
#define MAX1231_CONV_AIN14
#define MAX1231_CONV_AIN15
//
// Actions
#define MAX1231_CONV_SCAN_00_N
#define MAX1231_CONV_SCAN_T_00_N
#define MAX1231_CONV_SCAN_N_15
#define MAX1231_CONV_SCAN_T_N_15
#define MAX1231_CONV_SINGLE_REPEAT
#define MAX1231_CONV_SINGLE_READ
//
#define MAX1231_ACTION_MASK
//--------------------------------------------------
// MAX1231 Setup register
// 0 1 x x x x 0 0
//
// Setup register may optionally be followed by
// one of the the differential configuration registers.
// 01xxxx10 followed by a second byte, selecting Unipolar-Differential inputs
// 01xxxx11 followed by a second byte, selecting Bipolar-Differential inputs
#define MAX1231_SETUP
#define MAX1231_SETUP_UNIDIFF
#define MAX1231_SETUP_BIPDIFF
//
// Power-on state:
#define MAX1231_SETUP_POR
//
// Clock Mode
// 0100xxxx pin16=CNVST, Int clock, Triggered by CNVST pulse
// 0101xxxx pin16=CNVST, Int clock, Triggered by CNVST pulses, custom Tacq
// 0110xxxx pin16=AIN15, Int clock, Triggered by conversion register write
// 0111xxxx pin16=AIN15, Ext clock, Triggered by conversion register write
#define MAX1231_SETUP_INTCLK_CNVST
1000 0000
0110 0000
0x80
0x80
0x60
0x80
0x88
0x90
0x98
0xA0
0xA8
0xB0
0xB8
0xC0
0xC8
0xD0
0xD8
0xE0
0xE8
0xF0
0xF8
0x42
0x43
0x40
0x84
0x86
0x81
0x83
0x80
0x82
0x87
/* 10000xxx AIN0 */
/* 10001xxx AIN1 */
/* 10010xxx AIN2 */
/* 10011xxx AIN3 */
/* 10100xxx AIN4 */
/* 10101xxx AIN5 */
/* 10110xxx AIN6 */
/* 10111xxx AIN7 */
/* 11000xxx AIN8 */
/* 11001xxx AIN9 */
/* 11010xxx AIN10 */
/* 11011xxx AIN11 */
/* 11100xxx AIN12 */
/* 11101xxx AIN13 */
/* 11110xxx AIN14 */
/* 11111xxx AIN15 */
/* 01xxxx10 followed by another byte */
/* 01xxxx11 followed by another byte */
/* 01xxxx00 no additional bytes */
0x40
/* 1xxxx11x Read once */
/* 1xxxx001 Scan T,0,1,2,..N */
/* 1xxxx10x Read repeatedly */
/* 1xxxx000 Scan 0,1,2,...N */
/* 1xxxx010 Scan N,N+1,...,15 */
/* 1xxxx011 Scan T,N,N+1,...,15 */
/* 1xxxx111 bits to test*/
/* 0100xxxx CNVST */