ADIS16203
Rev. A | Page 12 of 28
BASIC OPERATION
The ADIS16203 is designed for simple integration into industrial
system designs, requiring only a 3.3 V power supply and a 4-wire,
industry standard SPI. The SPI port facilitates all data transfers
with the ADIS16203’s registers. Each ADIS16203 function (output
data and programming control) has its own register that contains
two bytes of data, and each byte of data has its own unique bit
map. These two bytes are referred to as upper and lower bytes,
and each has its own 6-bit address.
SERIAL PERIPHERAL INTERFACE (SPI)
The ADIS16203’s SPI port provides a common interface that is
supported by a wide variety of digital platforms, including MCUs,
DSPs, and FPGAs. Even when a dedicated port is not available, the
SPI can be implemented using manual bit manipulation, which is
more commonly known as bit banging. The purpose of this section is
to provide a basic description of SPI operation in the ADIS16203.
Please refer to Table 2, Figure 2, and Figure 3 for detailed timing
and operation of this port.
The ADIS16203’s SPI port includes four signals: chip select
(
CS
), serial clock (SCLK), data input (DIN), and data output
(DOUT). The
CS
line enables the ADIS16203’s SPI port and, in
effect, frames each SPI event. When this signal is high, the DOUT
lines are in a high impedance state and the signals on DIN and
SCLK have no impact on operation. A complete data frame contains
16 clock cycles. Because the SPI port operates in full duplex mode,
it supports simultaneous, 16-bit receive (DIN) and transmit (DOUT)
functions during the same data frame.
Figure 26 displays a typical data frame for writing a command to a
control register. In this case, the first bit of the DIN sequence is a
1, followed by a 0, then the 6-bit address and 8-bit data command.
Because each write command covers a single byte of data, two data
frames are required when writing the entire 16-bit space of a register.
Reading the contents of a register requires a modification to the
sequence in Figure 26. In this case, the first two bits in the DIN
sequence are 0, followed by the address of the register. Each register
has two addresses, but either one can be used to access its entire
16 bits of data. The final eight bits of the DIN sequence are irrelevant
and can be counted as don’t cares during a read command. Then,
during the next data frame, the DOUT sequence will contain the
registers 16-bit data, as shown in Figure 27. Even though a single
read command requires two separate data frames, the full duplex
mode minimizes this overhead, requiring only one extra data frame
when continuously sampling.
CS
SCL
K
DIN
06108-037
W/R A5 A4 A3 A2 A1 A0 DC7 DC6 DC5 DC4 DC3 DC2 DC1 DC0
DATA FRAME
WRITE = 1
READ = 0
REGISTER ADDRESS DATA FOR WRITE COMMANDS
DON’T CARE FOR READ COMMANDS
Figure 26. DIN Bit Sequence
ADDRESS DON’T CARE NEXT COMMAND
BASED ON PREVIOUS COMMAND
DATA FRAME
16-BIT REGISTER CONTENTS
CS
SCLK
DIN
DOUT
W/R BIT
ZERO
06108-024
DATA FRAME
Figure 27. SPI Sequence for Read Commands
ADIS16203
Rev. A | Page 13 of 28
DATA OUTPUT REGISTER ACCESS
The ADIS16203 provides access to two calibrated incline-angle
measurements (+360° and ±180° output formats), power supply
measurements, temperature measurements, and an auxiliary
12-bit ADC channel. This output data is continuously updating
internally, regardless of user read rates. The follow bit map describes
the structure of all output data registers in the ADIS16203.
MSB LSB
ND EA D13 D12 D11 D10 D9 D8
D7 D6 D5 D4 D3 D2 D1 D0
The MSB holds the new data (ND) indicator. When the output
registers are updated with new data, the ND bit goes to a 1 state.
After the output data is read, it returns to a 0 state. The EA bit is
used to indicate an alarm condition, which could result from a
number of conditions, such as a power supply that is out of the
specified operating range. See the Alarms section for more details.
The output data is either 12 or 14 bits in length. For all of the 12-bit
output data, the D13 and D12 bits are assigned don’t care status.
The output data register map is located in Table 6 and provides all
of the necessary details for accessing each register’s data. Table 7
displays the output coding for the ±180° output data register,
INCL_180_OUT, and Figure 28 displays a timing diagram
example for reading this register.
Table 6. Data Output Register Information
Name Function Address
Resolution
(Bits)
Data
Format
Scale Factor
(per LSB)
SUPPLY_OUT Power supply data 0x03, 0x02 12 Binary 1.22 mV
AUX_ADC Auxiliary analog input data 0x09, 0x08 12 Binary 0.61 mV
TEMP_OUT Sensor temperature data 0x0B, 0x0A 12 Binary
−0.47°C
INCL_OUT Inclination data 0x0D, 0x0C 14 Binary
0.025°
INCL_180_OUT ±180° inclination data 0x0F, 0x0E 14 Twos complement 0.025°
Table 7. Output Coding Example, INCL_180_OUT
1, 2
Acceleration Level Binary Output Hex Output Decimal
+170.10° 01 1010 1001 0100 0x1A94 +6804
+93.05° 00 1110 1000 1010 0x0E8A +3722
+0.625° 00 0000 0001 1001 0x0019
+25
0.00° 00 0000 0000 0000 0x0000
0
−0.625 11 1111 1110 0111 0x3FE7
−25
−93.05° 11 0001 0111 0110 0x3176
−3722
−170.10° 11 1100 0001 1000 0x256C −6804
1
Two MSBs have been masked off and are not considered in the coding.
2
Nominal sensitivity (0.025°/LSB) and zero offset null performance are assumed.
ADDRESS = 001111 ADDRESS = 001111 OR 0x0F
DATA = 1000111010001010
NEW DATA, NO ALARM, INCL_180_OUT = +93.05°
DOUT
06108-025
CS
SCLK
DIN
W/R BIT = 0 W/R BIT = 0
Figure 28. SPI Sequence Reading INCL_OUT When Incline Angle = 93.05°
ADIS16203
Rev. A | Page 14 of 28
PROGRAMMING AND CONTROL
CONTROL REGISTER OVERVIEW
The ADIS16203 offers many programmable features that are
controlled by writing commands to the appropriate control registers
using the SPI. For added system flexibility and programmability,
the following sections describe these controls and specify each
register’s configuration. A list of features that are available for
configuration in this register space follows:
Calibration: Automatic offset null, manual offset adjustment,
factory reset
Rotational direction: clockwise or counter-clockwise
Sample rate adjustment
Filter response optimization
Alarm settings: threshold or rate of change, and comparison
with filtered or unfiltered data
I/O configuration: data ready, etc.
Power management: sleep mode, normal and high
performance modes
Auxiliary DAC level setting
Status checks: verify power supply, SPI communication,
package orientation
Flash™ updates to store configuration
CONTROL REGISTER ACCESS
Table 8 displays the control register map for the ADIS16203,
including address, volatile status, basic function, and accessibility
(read/write). The following sections contain detailed descriptions
and configurations for each of these registers.
The ADIS16203 is a Flash-based device with the nonvolatile
functional registers implemented as Flash registers. Take into
account the endurance limitation of 20,000 writes when consid-
ering the system-level integration of these devices. The nonvolatile
column in Table 8 indicates the registers that are recovered on power-
up. The user must use a manual Flash update command (using the
command register) to store the nonvolatile data registers once they
are configured properly. When performing a manual Flash update
command, the user needs to ensure that the power supply remains
within limits for a minimum of 50 ms after the start of the update.
This ensures a successful write of the nonvolatile data.
Table 8. Control Register Mapping
Register Name Type Nonvolatile Address Bytes Function
0x00 to 0x01 2 Reserved
INCL_NULL R/W X 0x18 2 Incline null calibration
ALM_MAG1 R/W X 0x20 2 Alarm 1 amplitude threshold
ALM_MAG2 R/W X 0x22 2 Alarm 2 amplitude threshold
ALM_SMPL1 R/W X 0x24 2 Alarm 1 sample period
ALM_SMPL2 R/W X 0x26 2 Alarm 2 sample period
ALM_CTRL R/W X 0x28 2 Alarm source control register
0x2A to 0x2F 6 Reserved
AUX_DAC R/W 0x30 2 Auxiliary DAC data
GPIO_CTRL R/W 0x32 2 Auxiliary digital I/O control register
MSC_CTRL R/W X 0x34 2 Miscellaneous control register
SMPL_TIME R/W X 0x36 2 ADC sample period control
AVG_CNT R/W X 0x38 2 Defines number of samples used by moving average filter
SLP_CNT R/W 0x3A 2 Counter used to determine length of power-down mode
STATUS R 0x3C 2 System status register
COMMAND W 0x3E 2 System command register

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