Applications information, Table 1. input data byte (msb first) – Rainbow Electronics MAX1031 User Manual

Page 12

Advertising
background image

MAX1027/MAX1029/MAX1031

10-Bit 300ksps ADCs with FIFO,
Temp Sensor, Internal Reference

12

______________________________________________________________________________________

temperature measurement is performed before the first
temperature result is read out, the old measurement is
overwritten by the new result. Temperature results are
in degrees Celsius (two’s complement) at a resolution
of 1/8 of a degree. See the Temperature Measurements
section for details on converting the digital code to a
temperature.

Internal Clock

The MAX1027/MAX1029/MAX1031 operate from an inter-
nal oscillator, which is accurate within 10% of the 4.4MHz
nominal clock rate. The internal oscillator is active in
clock modes 00, 01, and 10. Read out the data at clock
speeds up to 10MHz. See Figures 4–7 for details on tim-
ing specifications and starting a conversion.

Applications Information

Register Descriptions

The MAX1027/MAX1029/MAX1031 communicate
between the internal registers and the external circuitry
through the SPI/QSPI-compatible serial interface. Table
1 details the registers and the bit names. Tables 2–7
show the various functions within the conversion regis-
ter, setup register, averaging register, reset register,
unipolar register, and bipolar register.

Conversion Time Calculations

The conversion time for each scan is based on a num-
ber of different factors: conversion time per sample,
samples per result, results per scan, if a temperature
measurement is requested, and if the external refer-
ence is in use.

Use the following formula to calculate the total conver-
sion time for an internally timed conversion in clock
modes 00 and 10 (see the Electrical Characteristics
section as applicable):

total conversion time = t

cnv

x n

avg

x n

result

+ t

TS

+ t

RP

where:

t

cnv

= t

acq

(max) + t

conv

(max)

n

avg

= samples per result (amount of averaging)

n

result

= number of FIFO results requested; determined

by number of channels being scanned or by NSCAN1,
NSCAN0

t

TS

= time required for temperature measurement; set

to zero if temp measurement is not requested

t

RP

= internal reference wake-up; set to zero if the inter-

nal reference is already powered up or if the external
reference is being used

In clock mode 01, the total conversion time depends on
how long CNVST is held low or high, including any time
required to turn on the internal reference. Conversion
time in externally clocked mode (CKSEL1, CKSEL0 = 11)
depends on the SCLK period and how long CS is held
high between each set of eight SCLK cycles.

Conversion Register

Select active analog input channels, scan modes, and
a single temperature measurement per scan by writing
to the conversion register. Table 2 details channel
selection, the four scan modes, and how to request a
temperature measurement. Request a scan by writing
to the conversion register when in clock mode 10 or 11,
or by applying a low pulse to the CNVST pin when in
clock mode 00 or 01.

A conversion is not performed if it is requested on a
channel that has been configured as CNVST or REF-.
Do not request conversions on channels 8–15 on the
MAX1027 and channels 12–15 on the MAX1029. Set
CHSEL3:CHSEL0 to the lower channel’s binary value. If
the last two channels are configured as a differential

REGISTER NAME

BIT 7

BIT 6

BIT 5

BIT 4

BIT 3

BIT 2

BIT 1

BIT 0

Conversion

1

CHSEL3

CHSEL2

CHSEL1

CHSEL0

SCAN1

SCAN0

TEMP

Setup

0

1

CKSEL1

CKSEL0

REFSEL1

REFSEL0

DIFFSEL1

DIFFSEL0

Averaging

0

0

1

AVGON

NAVG1

NAVG0

NSCAN1

NSCAN0

Reset

0

0

0

1

RESET

X

X

X

Unipolar Mode (Setup)

UCH0/1

UCH2/3

UCH4/5

UCH6/7

UCH8/9*

UCH10/11* UCH12/13** UCH14/15**

Bipolar Mode (Setup)

BCH0/1

BCH1/2

BCH4/5

BCH6/7

BCH8/9*

BCH10/11* BCH12/13** BCH14/15**

Table 1. Input Data Byte (MSB First)

*Unipolar/bipolar channels 8–15 are only valid on the MAX1029 and MAX1031.
**Unipolar/bipolar channels 12–15 are only valid on the MAX1031.
X = Don’t care.

Advertising