ADIS16209_08 AD [Analog Devices], ADIS16209_08 Datasheet - Page 13

no-image

ADIS16209_08

Manufacturer Part Number
ADIS16209_08
Description
High-Accuracy, Dual-Axis Digital Inclinometer and Accelerometer
Manufacturer
AD [Analog Devices]
Datasheet
Digital I/O Lines
The ADIS16209 provides two, general purpose, digital
input/output lines that have several configuration options.
Table 11. Digital I/O Line Configuration Registers
Function
Data-Ready I/O Indicator
Alarm Indicator
General-Purpose I/O Configuration
General-Purpose I/O Line Communication
Data-Ready I/O Indicator
The MSC_CTRL register provides controls for a data-ready
function. For example, writing 0x05 to this register enables this
function and establishes DIO2 as an active-low, data-ready line.
The duty cycle is 25% (±10% tolerance).
Table 12. MSC_CTRL Bit Descriptions
Bit
15:11
10
9
8
7:3
2
1
0
Self-Test
Self-test exercises the mechanical structure of the sensor and
provides a simple method for verifying the operation of the
entire sensor signal conditioning circuit. There are two different
self-test options: startup and manual. If either of these self-tests
results in a failure, the self-test error flag, located in the STATUS
register, sets to 1. The manual self-test option results in a
repeating pattern, until the bit is set back to 0. While in the
manual self-test loop, SMPL_PRD and AVG_CNT cannot be
changed. See Table 12 for the appropriate MSC_CTRL bit
designations.
General Purpose I/O
The GPIO_CTRL register controls the direction and data of the
general-purpose digital lines, DIO1 and DIO2. For example,
writing a 0x02 to the GPIO_CTRL register sets DIO2 as an
output line and DIO1 as an input line. Reading the data bits in
GPIO_CTRL reveals the line logic level.
Data-ready line select: 1 = DIO2, 0 = DIO1
Description
Not used
Self-test at power-on: 1 = disabled, 0 = enabled
Not used
Self-test enable (temporary, bit is volatile)
Not used
Data-ready enable: 1 = enabled, 0 = disabled
Data-ready polarity: 1 = active high, 0 = active low
1 = enabled, 0 = disabled
[Priority]
[1]
[2]
[3]
(Default = 0x0000)
Register
MSC_CTRL
ALM_CTRL
GPIO_CTRL
GPIO_CTRL
Rev. 0 | Page 13 of 16
Table 13. GPIO_CTRL Bit Descriptions
Bit
15:10
9
8
7:2
1
0
Auxiliary DAC
The auxiliary DAC provides a 12-bit level adjustment function.
The AUX_DAC register controls the operation of the auxiliary
DAC function, which is useful for systems that require analog
level controls. It offers a rail-to-rail buffered output that has a
range of 0 V to 2.5 V. The DAC can drive its output to within
5 mV of the ground reference when it is not sinking current.
As the output approaches ground, the linearity begins to degrade
(100 LSB beginning point). As the sink current increases, the
nonlinear range increases. The DAC output latch function,
contained in the COMMAND register, provides continuous
operation while writing to each byte of this register. The
contents of this register are volatile, which means that the
desired output level must be set after every reset and power
cycle event.
Table 14. AUX_DAC Bit Descriptions
Bit
15:12
11:0
Global Commands
The COMMAND register provides initiation bits for several
commands that simplify many common operations. Writing a 1
to the assigned COMMAND bit exercises its function.
Table 15. COMMAND Bit Descriptions
Bit
15:8
7
6:5
4
3
2
1
0
The software reset command restarts the internal processor,
which loads all registers with the contents in their flash memory
locations.
Description
Not used
Software reset
Not used
Clear status register (reset all bits to 0)
Flash update; backs up all registers, see Table 6
DAC data latch
Factory calibration restore
Autonull
Description
Not used
General-Purpose I/O Line 2 data
General-Purpose I/O Line 1 data
Not used
General-Purpose I/O Line 2, data direction control
General-Purpose I/O Line 1, data direction control
Description
Not used
Data bits, scale factor = 0.6105 mV/code
Offset binary format, 0 V = 0 codes
1 = output, 0 = input
1 = output, 0 = input
(Default = 0x0000)
(Default = 0x0000)
(Default = 0x0000)
ADIS16209

Related parts for ADIS16209_08