ADIS16203
Rev. A | Page 15 of 28
CONTROL REGISTER DETAILS
All ADIS16203 control registers are organized into 2-byte segments,
and both upper (Bit 8 to Bit 15) and lower (Bit 0 to Bit 7) bytes have
unique addresses and can be accessed individually.
MSB LSB
D15 D14 D13 D12 D11 D10 D9 D8
D7 D6 D5 D4 D3 D2 D1 D0
This section provides a description of each register, including its
purpose, relevant scaling information, bit maps, addresses, and
default values.
CALIBRATION
In addition to the factory calibration, the ADIS16203 provides
two user calibration options. Both options utilize the INCL_NULL
control register, which provides an add function to the two incline-
angle output registers: INCL_OUT and INCL_180_OUT. Because
the default contents of INCL_NULL are 0, adding it to these two
outputs has no effect on the output data.
The first calibration option is an automatic null function. This function
measures the contents of INCL_OUT and then writes the inverse of
this value into the INCL_NULL control register. The accuracy of this
calibration is dependent on the stability of the INCL_OUT measure-
ment; therefore, maximizing the filtering will minimize the errors
associated with noise. Tabl e 9 displays a sequence that executes the
automatic null.
Table 9. Automatic Null Sequence
Step Description
Write 0x08 to Address 0x38
Sets averaging count to 256
using the AVG_CNT register
Wait for 512 samples Waits for the lowest noise data
Write 0x01 to Address 0x3E
Executes the global autonull
function using the COMMAND
register
Restore previous average count
Increasing the sample rate using the SMPL_TIME control register
will minimize the waiting time if this parameter is critical.
The second option for system-level calibration is manual adjustment.
The INCL_NULL control register can be updated using write com-
mands. Refer to its definition in the INCL_NULL Register Definition
section for details.
The factory calibration can be restored by writing 0x02 to Register
Address 0x3E. This restores INCL_NULL to 0.
CALIBRATION REGISTER DEFINITION
INCL_NULL Register Definition
Address Scale
1
Default Format Access
0x19, 0x18 0.025° 0x0000 Binary R/W
1
Scale is the weight of each LSB.
The INCL_NULL register is the user controlled register for
calibrating system-level inclination offset errors. The maximum
calibration range is +0° to +359.975° or 0 to +14,399 decimal
codes. The contents of this register are nonvolatile.
Table 10. INCL_NULL Bit Designations
Bit Description
15:14 Not necessary, force to 0
13:0 Data bits
ALARMS
The ADIS16203 contains two independent alarm functions that
are referred to as Alarm 1 and Alarm 2. The Alarm 1 function is
managed by the ALM_MAG1 and ALM_SMPL1 control registers.
The Alarm 2 function is managed by the ALM_MAG2 and
ALM_SMPL2 control registers. Both the Alarm 1 and Alarm 2
functions share the ALM_CTRL register. For simplicity, this
section refers to the Alarm 1 functionality only.
The 16-bit ALM_CTRL register serves several roles in controlling
the Alarm 1 function. First, it is used to enable the overall Alarm 1
function and to select the output data variable that is to be
monitored for the alarm condition. Second, it is used to select
whether the Alarm 1 function is based upon a predefined threshold
(THR) level or a predefined rate-of-change (ROC) slope. Third,
the ALM_CTRL register can be used in setting up one of the
two general-purpose input/output lines (GPIOs) to serve as a
hardware output that indicates when an alarm condition has
occurred. Enabling the I/O alarm function as well as setting its
polarity and controlling its operation are accomplished using
this register. Fourth, this register provides the controls for
setting the comparison data as filtered or unfiltered.
Note that when enabled, the hardware output indicator serves
both the Alarm 1 and Alarm 2 functions and cannot be used to
differentiate between one alarm condition and the other. It is
simply used to indicate that an alarm is active and that the user
should poll the device via the SPI to determine the source of the
alarm condition (see the STATUS Register Definition section).
Because the ALM_CTRL, MSC_CTRL, and GPIO_CTRL
control registers can influence the same GPIO pins, a priority
level has been established to avoid conflicting assignments of
the two GPIO pins. This priority level is defined as MSC_CTRL,
which has precedence over ALM_CTRL, which has precedence
over GPIO_CTRL.
ADIS16203
Rev. A | Page 16 of 28
The ALM_MAG1 control register used in controlling the Alarm 1
function has two roles. The first role is to store the value with which
the output data variable is compared against to discern if an alarm
condition exists. The second role is to identify whether the alarm
should be active for excursions above or below the alarm limit. If 1 is
written to Bit 15 of the ALM_MAG1 control register, the alarm is
active for excursions extending above a given limit. If 0 is written to
Bit 15, the alarm is active for excursions dropping below the given
limit. The comparison value contained within the ALM_MAG1
control register is located within the lower 14 bits.
The monitored output register establishes the format of the
14-bit data space in the ALM_MAG1 and ALM_MAG2 registers. For
example, setting the alarm to monitor INCL_OUT sets the data
format to a 14-bit, twos complement number, which carries a bit
weight of 0.025°.
Use caution when monitoring the temperature output register for the
alarm conditions. Here, the negative temperature scale factor results
in the greater than and less than selections requiring reverse logic.
Setting Bit 11 in the ALM_CTRL register establishes the mode of
operation: threshold or rate of change (ROC). When the ROC
function is enabled, the comparison of the output data variable is
against the ALM_MAG1 level averaged over the number of samples
as identified in the ALM_SMPL1 control register. This acts to create
a comparison of ( units/ time) or the derivative of the output data
variable against a predefined slope.
The versatility built into the alarm function allows the user to adapt
to several applications. For example, in the case of monitoring twos
complement variables, Bit 15 within the ALM_MAG1 control register
can allow for the detection of negative excursions below a fixed level.
In addition, the Alarm 1 and Alarm 2 functions can be set to monitor
the same variable that allows the user to discern if an output variable
remains within a predefined window.
Another potential ROC application is to monitor slowly changing
outputs in the inclination level. With the addition of the alarm hard-
ware functionality, the ADIS16203 can be left to run independently
of the main processor and interrupt the system only when an alarm
condition occurs. Conversely, the alarm condition can be monitored
through the routine polling of any one of the seven data output registers.
Bits 4 and 5 in the ALM_CTRL register establishes whether
ALM_MAG1 and ALM_MAG2 are compared with filtered or
unfiltered data.
ALM_MAG1 Register Definition
Address Default
1
Format
2
Access
0x21, 0x20 0x0000 N/A R/W
1
Default is valid only until the first register write cycle.
2
Format is established by source of monitored data
The ALM_MAG1 register contains the threshold level for
Alarm 1. The contents of this register are nonvolatile.
Table 11. ALM_MAG1 Bit Designations
Bit Description
15 Greater than Active Alarm Bit.
1: Alarm is active for an output greater than
ALM_MAG1 register setting.
0: Alarm is active for an output less than
ALM_MAG1 register setting.
14 Not used.
13:0
Data Bits. This number can be either twos complement
or straight binary. The format is set by the value being
monitored by this function.
ALM_SMPL1 Register Definition
Address Default
1
Format Access
0x25, 0x24 0x0000 Binary R/W
1
Default is valid only until the first register write cycle.
The ALM_SMPL1 register contains the sample period information
for Alarm 1, when it is set for ROC alarm monitoring. The ROC
alarm function averages the change in the output variable over the
specified number of samples and compares this change directly
to the values specified in the ALM_MAG1 register. The contents
of this register are nonvolatile.
Table 12. ALM_SMPL1 Bit Designations
Bit Description
15:8 Not used
7:0 Data bits
ADIS16203
Rev. A | Page 17 of 28
ALM_MAG2 Register Definition
Address Default
1
Format
2
Access
0x23, 0x22 0x0000 N/A R/W
1
Default is valid only until the first register write cycle.
2
Format is established by source of monitored data.
The ALM_MAG2 register contains the threshold level for Alarm 2.
The contents of this register are nonvolatile.
Table 13. ALM_MAG2 Bit Designations
Bit Description
15 Greater than Active Alarm Bit.
1: Alarm is active for an output greater than
ALM_MAG2 register setting.
0: Alarm is active for an output less than
ALM_MAG2 register setting.
14 Not used.
13:0
Data Bits. This number can be either twos complement
or straight binary. The format is set by the value being
monitored by this function.
ALM_SMPL2 Register Definition
Address Default
1
Format Access
0x27, 0x26 0x0000 Binary R/W
1
Default is valid only until the first register write cycle.
The ALM_SMPL2 register contains the sample period information
for Alarm 2, when it is set for ROC alarm monitoring. The ROC
alarm function averages the change in the output variable over the
specified number of samples and compares this change directly to
the values specified in the ALM_MAG2 register. The contents of this
register are nonvolatile.
Table 14. ALM_SMPL2 Bit Designations
Bit Description
15:8 Not used
7:0 Data bits
ALM_CTRL Register Definition
Address Default
1
Format Access
0x29, 0x28 0x0000 N/A R/W
1
Default is valid only until the first register write cycle.
The ALM_CTRL register contains the alarm control variables.
Table 15. ALM_CTRL Bit Designations
Bit Value Description
15 Rate of Change (ROC) Enable for Alarm 2
1: ROC is active
0: ROC is inactive
14:12 Alarm 2 Source Selection
000 Alarm disable
001 Alarm source: power supply output
010 Not used
011 Not used
100 Alarm source: auxiliary ADC output
101 Alarm source: temperature sensor output
110 Alarm source: INCL_OUT output
111 Alarm source: INCL_180_OUT output
11 Rate of Change (ROC) Enable for Alarm 1
1: ROC is active
0: ROC is inactive
10:8 Alarm 1 Source Selection
000 Alarm disable
001 Alarm source: power supply output
010 Not used
011 Not used
100 Alarm source: auxiliary ADC output
101 Alarm source: temperature sensor output
110 Alarm source: INCL_OUT output
111 Alarm source: INCL_180_OUT output
7:6 Not used
5 ADF2—Alarm Data Filter
1: Use filtered data for comparison
0: Use instantaneous data for comparison
4 ADF1—Alarm Data Filter
1: Use filtered data for comparison
0: Use instantaneous data for comparison
3 Not used
2 Alarm Output Enable
1: Alarm output enabled
0: Alarm output disabled
1 Alarm Output Polarity
1: Active high
0: Active low
0 Alarm Output Line Select
1: DIO1
0: DIO0

ADIS16203CCCZ

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Inclinometers IC 360 Degree Inclinometer
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet