APPLICATIONS Platform stabilization and control Navigation Robotics FUNCTIONAL BLOCK DIAGRAM AUX_ADC AUX_DAC CS SCLK DIN DOUT VCC GND DIGITAL CONTROL SELF-TEST RST DIO1 DIO2 DIO3 DIO4/CLKIN 08562-001 TRI-AXIS MEMS ACCELERATION SENSOR OUTPUT REGISTERS AND SPI INTERFACE TRI-AXIS MEMS ANGULAR RATE SENSOR POWER MANAGEMENT ADIS16385 TEMPERATURE SENSORS CALIBRATION AND DIGITAL PROCESSING Tri-axis digital gyroscope with digital range scaling 75/sec, 150/sec, 300/sec settings Orthogonal alignment: <0.05 In-run bias stability: 6/hour (yaw), 21/hour (pitch/roll) Tri-axis digital accelerometer: 5 g Autonomous operation and data collection No external configuration commands required Start-up time: 210 ms Sleep mode recovery time: 7 ms Factory-calibrated sensitivity, bias, and axial alignment Calibration temperature range: -40C to +85C Single serial peripheral interface, SPI-compatible Wide bandwidth: 330 Hz Embedded temperature sensor Programmable operation and control Automatic and manual bias correction controls Digital filters: Bartlett FIR, average/decimation Digital I/O: data-ready, alarm indicator, general-purpose Alarms for condition monitoring Sleep mode for power management DAC output voltage Enable external sample clock input: up to 1.2 kHz Single-supply operation: 4.85 V to 5.15 V 2000 g shock survivability Operating temperature range: -40C to +105C ALARMS FEATURES SIGNAL CONDITIONING AND CONVERSION Data Sheet Six Degrees of Freedom Inertial Sensor ADIS16385 Figure 1. GENERAL DESCRIPTION The ADIS16385 iSensor(R) device is a complete inertial system that includes a tri-axis gyroscope and tri-axis accelerometer. Each sensor in the ADIS16385 combines industry-leading iMEMS(R) technology with signal conditioning that optimizes dynamic performance. The factory calibration characterizes each sensor for sensitivity, bias, alignment, and linear acceleration (gyro bias). As a result, each sensor has its own dynamic compensation formulas that provide accurate sensor measurements. The yaw-axis gyroscope offers a 4x improvement in noise and in-run bias stability for applications that have greater requirements on one axis. The ADIS16385 provides a simple, cost-effective method for integrating accurate, multiaxis inertial sensing into industrial systems, especially when compared with the complexity and investment associated with discrete designs. All necessary motion testing and calibration are part of the production process at the factory, greatly reducing system integration time. Tight orthogonal alignment simplifies inertial frame alignment in navigation systems. The SPI and register structure provide a simple interface for data collection and configuration control. The ADIS16385 has a compatible pinout for systems that currently use ADIS1635x, ADIS1636x, and ADIS1640x IMU products. It comes in a module that is approximately 36 mm x 47 mm x 39 mm and has a standard connector interface. Rev. B Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. Specifications subject to change without notice. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. Trademarks and registered trademarks are the property of their respective owners. One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 www.analog.com Fax: 781.461.3113 (c)2010-2011 Analog Devices, Inc. All rights reserved. ADIS16385 Data Sheet TABLE OF CONTENTS Features .............................................................................................. 1 Input/Output Configuration......................................................... 14 Applications....................................................................................... 1 Data-Ready I/O Indicator ......................................................... 14 Functional Block Diagram .............................................................. 1 General-Purpose I/O ................................................................. 14 General Description ......................................................................... 1 Auxiliary DAC ............................................................................ 14 Revision History ............................................................................... 2 Digital Processing Configuration................................................. 15 Specifications..................................................................................... 3 Sample Rate................................................................................. 15 Timing Specifications .................................................................. 5 Input Clock Configuration ....................................................... 15 Absolute Maximum Ratings............................................................ 6 Digital Filtering........................................................................... 15 ESD Caution.................................................................................. 6 Dynamic Range .......................................................................... 15 Pin Configuration and Function Descriptions............................. 7 Calibration....................................................................................... 16 Typical Performance Characteristics ............................................. 8 Automatic Bias Correction (ABC)........................................... 16 Basic Operation................................................................................. 9 Manual Bias Correction ............................................................ 16 Reading Sensor Data.................................................................... 9 Restoring Factory Calibration .................................................. 16 Output Data Registers................................................................ 10 Point-of-Percussion/Linear-g Compensation ............................ 16 Device Configuration ................................................................ 10 Alarms.............................................................................................. 17 User Registers.................................................................................. 11 Static Alarm Use ......................................................................... 17 System Functions............................................................................ 12 Dynamic Alarm Use .................................................................. 17 Global Commands ..................................................................... 12 Alarm Reporting ........................................................................ 17 Power Management.................................................................... 12 Applications Information .............................................................. 18 Product Identification................................................................ 12 Prototype Interface Board......................................................... 18 Memory Management ............................................................... 12 Installation Tips.......................................................................... 18 Self-Test Function....................................................................... 13 Outline Dimensions ....................................................................... 19 Status ............................................................................................ 13 Ordering Guide .......................................................................... 19 REVISION HISTORY 12/11--Rev. A to Rev. B Changes to Figure 6.......................................................................... 7 Changes to Figure 13........................................................................ 9 Changes to Automatic Bias Correction (ABC) Section ............ 16 Deleted ABC Example Section ..................................................... 16 8/10--Rev. 0 to Rev. A Changes to Bias Temperature Coefficient Parameter in Gyroscopes Section of Table 1 ........................................................ 3 Changes to Figure 14........................................................................ 9 Changes to Table 12 and Dual Memory Structure Section....... 10 Changes to General-Purpose I/O Section................................... 14 Changes to Input Clock Configuration Section......................... 15 Changes to Table 32 and Point-of-Percussion/Linear-g Compensation Section................................................................... 16 Changes to Table 34, Table 35, Table 38, and Alarm Example Section ......................................................... 17 Changes to Prototype Interface Board Section .......................... 18 Updated Outline Dimensions....................................................... 19 6/10--Revision 0: Initial Version Rev. B | Page 2 of 20 Data Sheet ADIS16385 SPECIFICATIONS TA = 25C, VCC = 5.0 V, angular rate = 0/sec, dynamic range = 300/sec 1 g, unless otherwise noted. Table 1. Parameter GYROSCOPES Dynamic Range Initial Sensitivity Sensitivity Temperature Coefficient Misalignment Error Nonlinearity Initial Bias Error In-Run Bias Stability Angular Random Walk Bias Temperature Coefficient Linear Acceleration Effect on Bias Bias Voltage Sensitivity Output Noise Rate Noise Density 3 dB Bandwidth Sensor Resonant Frequency Self-Test Change in Output Response ACCELEROMETERS Dynamic Range Initial Sensitivity Sensitivity Temperature Coefficient Misalignment Error Nonlinearity Initial Bias Error In-Run Bias Stability Velocity Random Walk Bias Temperature Coefficient Bias Voltage Sensitivity Output Noise Noise Density 3 dB Bandwidth Sensor Resonant Frequency Self-Test Change in Output Response TEMPERATURE SENSOR Scale Factor Test Conditions/Comments Dynamic range = 300/sec Dynamic range = 150/sec Dynamic range = 75/sec -40C TA +85C Axis to axis Axis-to-frame (package) Best fit straight line 1 1 , +25C, z-axis 1 , +25C, x-axis, y-axis Z-axis, 1 , +25C X-axis, y-axis, 1 , +25C Z-axis, -40C TA +85C X-axis, y-axis, -40C TA +85C Z-axis, 1 (MSC_CTRL[7] = 1) X-axis, y-axis, 1 (MSC_CTRL[7] = 1) Z-axis, VCC = 4.85 V to 5.15 V X-axis, y-axis, VCC = 4.85 V to 5.15 V Z-axis, 300/sec range, no filtering X-axis, y-axis, 300/sec range, no filtering Z-axis, f = 25 Hz, 300/sec range X-axis, y-axis, f = 25 Hz, 300/sec range 300/sec range setting Each axis Min Typ 300 0.012375 350 0.0125 0.00625 0.003125 40 0.05 0.5 0.1 3 0.0017 0.0057 0.75 1.9 0.001 0.004 0.03 0.05 0.02 0.1 0.27 0.75 0.0122 0.04 330 14.5 2784 5 0.2475 -40C TA +85C Axis-to-axis Axis-to-frame (package) Best fit straight line 1 1 1 -40C TA +85C VCC = 4.85 V to 5.15 V No filtering No filtering X-axis and y-axis Rev. B | Page 3 of 20 0.12625 9796 0.25 40 0.1 0.5 0.1 10 50 0.09 0.023 2 3.3 180 330 5.5 560 Output = 0x0000 at 25C (5C) Max 0.2525 2280 0.0678 Unit /sec /sec/LSB /sec/LSB /sec/LSB ppm/C Degrees Degrees % of FS /sec /sec /sec /hr /hr /sec/C /sec/C /sec/g /sec/g /sec/V /sec/V /sec rms /sec rms /sec/Hz rms /sec/Hz rms Hz kHz LSB g mg/LSB ppm/C Degrees Degrees % of FS mg g m/sec/hr mg/C mg/V mg rms g/Hz rms Hz kHz LSB C/LSB ADIS16385 Parameter ADC INPUT Resolution Integral Nonlinearity Differential Nonlinearity Offset Error Gain Error Input Range Input Capacitance DAC OUTPUT Resolution Relative Accuracy Differential Nonlinearity Offset Error Gain Error Output Range Output Impedance Output Settling Time LOGIC INPUTS 1 Input High Voltage, VIH Input Low Voltage, VIL Data Sheet Test Conditions/Comments Min Typ 12 2 1 4 2 0 During acquisition 5 k/100 pF to GND 3.3 20 12 4 1 5 0.5 101 LSB input code 4095 LSB 0 3.3 2 10 2.0 0.8 0.55 CS signal to wake up from sleep mode CS Wake-Up Pulse Width Logic 1 Input Current, IIH Logic 0 Input Current, IIL All Pins Except RST RST Pin Input Capacitance, CIN DIGITAL OUTPUTS1 Output High Voltage, VOH Output Low Voltage, VOL FLASH MEMORY Data Retention 3 FUNCTIONAL TIMES 4 Power-On Start-Up Time Reset Recovery Time Sleep Mode Recovery Time Flash Memory Test Time Automatic Self-Test Time CONVERSION RATE Clock Accuracy Sync Input Clock 5 POWER SUPPLY Power Supply Current Max 20 VIH = 3.3 V VIL = 0 V ISOURCE = 1.6 mA ISINK = 1.6 mA Endurance 2 TJ = 85C Time until data is available Sleep mode 1 10 40 1 10 60 2.4 0.4 10,000 20 210 90 7 30 52 1024 SMPL_PRD = 0x0001 SMPL_PRD = 0x0001 Operating voltage range, VCC 0.2 0.8 4.85 5.0 132 1.4 3 1.2 5.15 Unit Bits LSB LSB LSB LSB V pF Bits LSB LSB mV % V s V V V s A A mA pF V V Cycles Years ms ms ms ms ms SPS % kHz V mA mA The digital I/O signals are driven by an internal 3.3 V supply, and the inputs are 5 V tolerant. Endurance is qualified as per JEDEC Standard 22, Method A117, and measured at -40C, +25C, +85C, and +125C. 3 The data retention lifetime equivalent is at a junction temperature (TJ) of 85C as per JEDEC Standard 22, Method A117. Data retention lifetime decreases with junction temperature. 4 These times do not include thermal settling and internal filter response times (330 Hz bandwidth), which may affect overall accuracy. 5 The sync input clock functions below the specified minimum value, at reduced performance levels. 2 Rev. B | Page 4 of 20 Data Sheet ADIS16385 TIMING SPECIFICATIONS TA = 25C, VCC = 5 V, unless otherwise noted. Table 2. Min 1 0.01 9 40 48.8 Parameter fSCLK tSTALL tREADRATE tCS Description Serial clock Stall period between data Read rate Chip select to clock edge tDAV tDSU tDHD tSCLKR, tSCLKF tDR, tDF tSFS t1 tx t2 t3 DOUT valid after SCLK edge DIN setup time before SCLK rising edge DIN hold time after SCLK rising edge SCLK rise/fall times DOUT rise/fall times CS high after SCLK edge Input sync positive pulse width Input sync low time Input sync to data-ready output Input sync period 1 Normal Mode Typ Max 2.0 Min1 0.01 1/fSCLK Burst Read Typ Max 1.0 Unit MHz s s ns 48.8 100 100 24.4 48.8 ns ns ns ns ns ns s s s s 24.4 48.8 5 5 12.5 12.5 5 5 5 5 100 12.5 12.5 5 5 100 600 600 833 833 Guaranteed by design and characterization, but not tested in production. Timing Diagrams CS tCS tSFS 1 2 3 4 5 6 15 16 SCLK tDAV MSB DB14 DB13 tDSU DIN R/W A6 DB12 DB11 A4 A3 DB10 DB2 DB1 LSB tDHD A5 A2 D2 D1 08562-002 DOUT LSB Figure 2. SPI Timing and Sequence tREADRATE tSTALL 08562-003 CS SCLK Figure 3. Stall Time and Data Rate t3 t2 t1 tX 08562-004 SYNC CLOCK (DIO4) DATA READY Figure 4. Input Clock Timing Diagram Rev. B | Page 5 of 20 ADIS16385 Data Sheet ABSOLUTE MAXIMUM RATINGS Stresses above those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only; functional operation of the device at these or any other conditions above those indicated in the operational section of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Table 3. Parameter Acceleration Any Axis, Unpowered Any Axis, Powered VCC to GND Digital Input Voltage to GND Digital Output Voltage to GND Analog Input to GND Operating Temperature Range Storage Temperature Range Rating 2000 g 2000 g -0.3 V to +7.0 V -0.3 V to +5.3 V -0.3 V to VCC + 0.3 V -0.3 V to +3.6 V -40C to +105C -65C to +125C1, 2 Table 4. Package Characteristics Package Type 24-Lead Module (ML-24-5) 1 Extended exposure to temperatures outside the specified temperature range of -40C to +105C can adversely affect the accuracy of the factory calibration. For best accuracy, store the parts within the specified operating range of -40C to +105C. 2 Although the device is capable of withstanding short-term exposure to 150C, long-term exposure threatens internal mechanical integrity. ESD CAUTION Rev. B | Page 6 of 20 JA 39.8C/W JC 14.2C/W Weight 59 grams Data Sheet ADIS16385 PIN CONFIGURATION AND FUNCTION DESCRIPTIONS Z-AXIS ADIS16385 aZ DNC DNC AUX_DAC DNC DNC GND VCC VCC RST CS DOUT DIO4/CLKIN TOP VIEW (Not to Scale) 24 22 20 18 16 14 12 10 8 6 4 2 gZ X-AXIS 1 aX aY DIO3 3 SCLK 5 DIN 7 DIO1 9 DIO2 11 VCC 13 GND 15 GND 17 DNC gX gY PIN 23 PIN 1 POINT OF PERCUSSION SEE MSC_CTRL[6]. NOTES 1. ACCELERATION (aX, aY, aZ) AND ROTATIONAL (gX, gY, gZ) ARROWS INDICATE THE DIRECTION OF MOTION THAT PRODUCES A POSITIVE OUTPUT. Figure 5. Pin Configuration Figure 6. Axial Orientation Table 5. Pin Function Descriptions Pin No. 1 2 3 4 5 6 7, 9 8 10, 11, 12 13, 14, 15 16, 17, 18, 19, 22, 23, 24 20 21 1 Mnemonic DIO3 DIO4/CLKIN SCLK DOUT DIN CS DIO1, DIO2 RST VCC GND DNC AUX_DAC AUX_ADC Type 1 I/O I/O I O I I I/O I S S N/A O I I/O is input/output, I is input, O is output, S is supply, and N/A is not applicable. Rev. B | Page 7 of 20 Description Configurable Digital Input/Output. Configurable Digital Input/Output or Sync Clock Input. SPI Serial Clock. SPI Data Output. Clocks output on SCLK falling edge. SPI Data Input. Clocks input on SCLK rising edge. SPI Chip Select. Configurable Digital Input/Output. Reset. Power Supply. Power Ground. Do Not Connect. Auxiliary, 12-Bit DAC Output. Auxiliary, 12-Bit ADC Input. 08562-006 NOTES 1. THIS REPRESENTATION DISPLAYS THE TOP VIEW PINOUT FOR THE MATING SOCKET CONNECTOR. 2. THE ACTUAL CONNECTOR PINS ARE NOT VISIBLE FROM THE TOP VIEW. 3. MATING CONNECTOR: SAMTEC CLM-112-02 OR EQUIVALENT. 4. DNC = DO NOT CONNECT. 08562-005 19 DNC 21 AUX_ADC DNC 23 Y-AXIS ADIS16385 Data Sheet TYPICAL PERFORMANCE CHARACTERISTICS 0.001 0.01 0.001 1 10 100 1k 10k TAU (Seconds) 1 10 100 1k TAU (Seconds) 10k 08562-008 ROOT ALLAN VARIANCE (/sec) AVERAGE 1SIGMA 0.01 0.001 0.0001 0.00001 1 10 100 1k TAU (Seconds) Figure 9. Accelerometer Allan Variance Figure 7. Gyroscope Allan Variance, Z-Axis 0.1 AVERAGE 1SIGMA Figure 8. Gyroscope Allan Variance, X-Axis/Y-Axis Rev. B | Page 8 of 20 10k 08562-009 ROOT ALLAN VARIANCE (g) AVERAGE 1SIGMA 08562-007 ROOT ALLAN VARIANCE (/sec) 0.1 Data Sheet ADIS16385 BASIC OPERATION The ADIS16385 is an autonomous system that requires no user initialization. When it has a valid power supply, it initializes itself and starts sampling, processing, and loading sensor data into the output registers at a sample rate of 1024 SPS. DIO1 pulses high after each sample cycle concludes. The SPI interface enables simple integration with many embedded processor platforms, as shown in Figure 10 (electrical connection) and Table 6 (pin descriptions). 10 SYS TEM PROCESS OR SPI MASTER 11 12 ADIS16385 SS 6 CS SCLK 3 SCLK MOSI 5 DIN MISO 4 DOUT IRQ 7 DIO1 DIN 14 DOUT XGYRO_OUT YGYRO_OUT ZGYRO_OUT SCLK Function Slave select Serial clock Master output, slave input Master input, slave output Interrupt request DIN = 0000 0100 0000 0000 = 0x0400 DIN DOUT DOUT = 1111 1001 1101 1010 = 0xF9DA = -1574 LSBs => -19.675/sec Figure 12. Example SPI Read, Second 16-Bit Sequence Burst Read Function The ADIS16385 SPI interface supports full-duplex serial communication (simultaneous transmit and receive) and uses the bit sequence shown in Figure 14. Table 7 provides a list of the most common settings that require attention to initialize a processor's serial port for the ADIS16385 SPI interface. The burst read function enables the user to read all output registers using one command on the DIN line and shortens the stall time between each 16-bit segment to one SCLK cycle (see Table 2). Figure 13 provides the burst read sequence of data on each SPI signal. The sequence starts with writing 0x3E00 to DIN, followed by each output register clocking out on DOUT, in the order in which they appear in Table 8. Table 7. Generic Master Processor SPI Settings Description The ADIS16385 operates as a slave Maximum serial clock rate CPOL = 1 (polarity), CPHA = 1 (phase) Bit sequence Shift register/data length CS 1 2 3 11 SCLK DIN 0x3E00 DON'T CARE DOUT DIAG_STAT For burst read, SCLK rate 1 MHz. XGYRO_OUT AUX_ADC Figure 13. Burst Read Sequence CS SCLK DIN DOUT R/W D15 A6 A5 A4 A3 A2 A1 A0 DC7 DC6 DC5 DC4 DC3 DC2 DC1 DC0 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 NOTES 1. THE DOUT BIT PATTERN REFLECTS THE ENTIRE CONTENTS OF THE REGISTER IDENTIFIED BY [A6:A0] IN THE PREVIOUS 16-BIT DIN SEQUENCE WHEN R/W = 0. 2. IF R/W = 1 DURING THE PREVIOUS SEQUENCE, DOUT IS NOT DEFINED. Figure 14. SPI Communication Bit Sequence Rev. B | Page 9 of 20 R/W D15 A6 A5 D14 D13 08562-014 1 0x0800 CS Table 6. Generic Master Processor Pin Names and Functions Processor Setting Master SCLK Rate 2 MHz1 SPI Mode 3 MSB First Mode 16-Bit Mode 0x0600 Figure 11. SPI Read Example Figure 10. Electrical Connection Diagram Pin Name SS SCLK MOSI MISO IRQ 0x0400 15 08562-010 13 08562-011 5V 08562-012 I/O LINES ARE COMPATIBLE WITH 3.3V OR 5V LOGIC LEVELS The ADIS16385 provides two different options for acquiring sensor data: single register and burst register. A single register read requires two 16-bit SPI cycles. The first cycle requests the contents of a register using the bit assignments in Figure 14. Bit DC7 to Bit DC0 are don't care for a read, and then the output register contents follow on DOUT during the second sequence. Figure 11 includes three single register reads in succession. In this example, the process starts with DIN = 0x0400 to request the contents of XGYRO_OUT, then follows with 0x0600 to request YGYRO_OUT and 0x0800 to request ZGYRO_OUT. Full-duplex operation enables processors to use the same 16-bit SPI cycle to read data from DOUT while requesting the next set of data on DIN. Figure 12 provides an example of the four SPI signals when reading XGYRO_OUT in a repeating pattern. 08562-013 VDD READING SENSOR DATA ADIS16385 Data Sheet OUTPUT DATA REGISTERS Table 12. Analog Input, Offset Binary Format The output registers in Table 8 provide the most recent sensor data produced by the ADIS16385. All of the inertial sensor outputs use a 16-bit twos complement, data format. Figure 6 provides arrows to describe the direction of motion that produces a positive output in each inertial sensor's output data register. Input Voltage 3.3 V 1V 1.6118 mV 805.9 V 0V Table 8. Output Data Register Formats Register XGYRO_OUT1 YGYRO_OUT1 ZGYRO_OUT1 XACCL_OUT YACCL_OUT ZACCL_OUT TEMP_OUT2 AUX_ADC 1 2 Address 0x04 0x06 0x08 0x0A 0x0C 0x0E 0x10 0x12 Measurement Gyroscope, x-axis Gyroscope, y-axis Gyroscope, z-axis Accelerometer, x-axis Accelerometer, y-axis Accelerometer, z-axis Internal temperature Auxiliary ADC Format Table 9 Table 9 Table 9 Table 10 Table 10 Table 10 Table 11 Table 12 Assumes that the scaling is set to 300/sec. This factor scales with the range. This is most useful for monitoring relative changes in the temperature. Decimal 4095 1241 2 1 0 Hex 0xFFF 0x4D9 0x002 0x001 0x000 Binary XXXX 1111 1111 1111 XXXX 0100 1101 1001 XXXX 0000 0000 0010 XXXX 0000 0000 0001 XXXX 0000 0000 0000 DEVICE CONFIGURATION The control registers in Table 13 provide users with a variety of configuration options. The SPI provides access to these registers, one byte at a time, using the bit assignments in Figure 14. Each register has 16 bits, where Bits[7:0] represent the lower address, and Bits[15:8] represent the upper address. Figure 15 provides an example of writing 0x03 to Address 0x37 (SMPL_PRD[15:8]), using DIN = 0xB703. This example reduces the sample rate by a factor of eight (see Table 28). CS SCLK Decimal +24000 +2 +1 0 -1 -2 -24000 Hex 0x5DC0 0x0002 0x0001 0x0000 0xFFFF 0xFFFE 0xA240 Binary 0101 1101 1100 0000 0000 0000 0000 0010 0000 0000 0000 0001 0000 0000 0000 0000 1111 1111 1111 1111 1111 1111 1111 1110 1010 0010 0100 0000 Table 10. Acceleration, Twos Complement Format Acceleration +5 g +0.5 mg +0.25 mg 0g -0.25 mg -0.5 mg -5 g Decimal +20000 +2 +1 0 -1 -2 - 20000 Hex 0x4E20 0x0002 0x0001 0x0000 0xFFFF 0xFFFE 0xB1E0 Binary 0100 1110 0010 0000 0000 0000 0000 0010 0000 0000 0000 0001 0000 0000 0000 0000 1111 1111 1111 1111 1111 1111 1111 1110 1011 0001 1110 0000 DIN DIN = 1011 0111 0000 0011 = 0xB703, WRITES "0x03" TO ADDRESS "0x37." Figure 15. Example SPI Write Sequence Dual Memory Structure Writing configuration data to a control register updates its SRAM contents, which are volatile. After optimizing each relevant control register setting in a system, set GLOB_CMD[3] = 1 (DIN = 0xBE08) to back these settings up in nonvolatile flash memory. The flash backup process requires a valid power supply level for the entire 75 ms process time. Table 13 provides a user register memory map that includes a flash backup column. A yes in this column indicates that a register has a mirror location in flash and, when backed up properly, it automatically restores itself during startup or after a reset. Figure 16 provides a diagram of the dualmemory structure used to manage operation and store critical user settings. MANUAL FLASH BACKUP Table 11. Temperature, Twos Complement Format Temperature +105C +25.1356C +25.0678C +25C +24.9322C +24.8644C -40C Decimal +1180 +2 +1 0 -1 -2 -959 Hex 0x49C 0x002 0x001 0x000 0xFFF 0xFFE 0xC41 Binary XXXX 0100 1001 1100 XXXX 0000 0000 0010 XXXX 0000 0000 0001 XXXX 0000 0000 0000 XXXX 1111 1111 1111 XXXX 1111 1111 1110 XXXX 1100 0100 0001 Rev. B | Page 10 of 20 NONVOLATILE FLASH MEMORY VOLATILE SRAM (NO SPI ACCESS) SPI ACCESS START-UP RESET Figure 16. SRAM and Flash Memory Diagram 08562-016 Rotation Rate +300/sec +0.025/sec +0.0125/sec 0/sec -0.0125/sec -0.025/sec -300/sec 08562-015 Table 9. Rotation Rate, Twos Complement Format Data Sheet ADIS16385 USER REGISTERS Table 13. User Register Memory Map 1 Name FLASH_CNT Reserved XGYRO_OUT YGYRO_OUT ZGYRO_OUT XACCL_OUT YACCL_OUT ZACCL_OUT TEMP_OUT AUX_ADC Reserved XGYRO_OFF YGYRO_OFF ZGYRO_OFF XACCL_OFF YACCL_OFF ZACCL_OFF ALM_MAG1 ALM_MAG2 ALM_SMPL1 ALM_SMPL2 ALM_CTRL AUX_DAC GPIO_CTRL MSC_CTRL SMPL_PRD SENS_AVG SLP_CTRL DIAG_STAT GLOB_CMD Reserved LOT_ID1 LOT_ID2 PROD_ID SERIAL_NUM 1 2 R/W R N/A R R R R R R R R N/A R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W W R R/W N/A R R R R Flash Backup Yes N/A No No No No No No No No N/A Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes No No Yes Yes Yes No No No N/A Yes Yes Yes Yes Address 2 0x00 0x02 0x04 0x06 0x08 0x0A 0x0C 0x0E 0x10 0x12 0x14 to 0x19 0x1A 0x1C 0x1E 0x20 0x22 0x24 0x26 0x28 0x2A 0x2C 0x2E 0x30 0x32 0x34 0x36 0x38 0x3A 0x3C 0x3E 0x40 to 0x51 0x52 0x54 0x56 0x58 Default N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0006 0x0001 0x0402 0x0000 0x0000 0x0000 N/A N/A N/A 0x4001 N/A Register Description Flash memory write count Reserved X-axis gyroscope output Y-axis gyroscope output Z-axis gyroscope output X-axis accelerometer output Y-axis accelerometer output Z-axis accelerometer output Internal temperature output Auxiliary ADC output Reserved X-axis gyroscope bias correction factor Y-axis gyroscope bias correction factor Z-axis gyroscope bias correction factor X-axis acceleration bias correction factor Y-axis acceleration bias correction factor Z-axis acceleration bias correction factor Alarm 1 amplitude threshold Alarm 2 amplitude threshold Alarm 1 dynamic time change Alarm 2 dynamic time change Alarm control Auxiliary DAC output level setting Auxiliary digital input/output control Miscellaneous control: data-ready, self-test Sample clock source, decimation rate Dynamic range and digital filter control Sleep mode control System status (error flags) System command (global) Reserved Lot Identification Code 1 Lot Identification Code 2 Product identification, ADIS16385 Serial number Reference Table 20 N/A Table 9 Table 9 Table 9 Table 10 Table 10 Table 10 Table 11 Table 12 N/A Table 31 Table 31 Table 31 Table 32 Table 32 Table 32 Table 34 Table 35 Table 36 Table 36 Table 37 Table 25 Table 24 Table 21 Table 28 Table 29 Table 16 Table 22 Table 15 N/A Table 17 Table 17 Table 19 Table 18 N/A = not applicable. Each register contains two bytes. The address of the lower byte is displayed. The address of the upper byte is equal to the address of the lower byte plus 1. Rev. B | Page 11 of 20 ADIS16385 Data Sheet SYSTEM FUNCTIONS The ADIS16385 provides a number of system-level controls for managing its operation, using the registers in Table 14. Table 14. System Tool Registers Register Name MSC_CTRL SLP_CTRL DIAG_STAT GLOB_CMD LOT_ID1 LOT_ID2 PROD_ID SERIAL_NUM Address 0x34 0x3A 0x3C 0x3E 0x52 0x54 0x56 0x58 Description Self-test, calibration, data-ready Sleep mode control Error flags Single-command functions Lot Identification Code 1 Lot Identification Code 2 Product identification Serial number GLOBAL COMMANDS The GLOB_CMD register in Table 15 provides trigger bits for device reset, flash memory management, DAC control, and calibration control. Start each of these functions by writing a 1 to the assigned bit in GLOB_CMD. After completing the task, the bit automatically returns to 0. For example, set GLOB_CMD[7] = 1 (DIN = 0xBE80) to initiate a software reset, which stops the sensor operation and runs the device through its start-up sequence. Set GLOB_CMD[3] = 1 (DIN = 0xBE08) to back up the user register contents in nonvolatile flash. This sequence includes loading the control registers with the data in their respective flash memory locations prior to producing new data. Bits [15:9] [8] [7:0] Description (Default = 0x0000) Not used. Normal sleep mode (1 = start sleep mode). Timed sleep mode (write 0x01 to 0xFF to start). Sleep mode duration, binary, 0.5 sec/LSB. PRODUCT IDENTIFICATION The PROD_ID register in Table 19 contains the binary equivalent of 16,385. It provides a product-specific variable for systems that need to track this in their system software. The LOT_ID1 and LOT_ID2 registers in Table 17 combine to provide a unique, 32-bit lot identification code. The SERIAL_NUM register in Table 18 contains a binary number that represents the serial number on the device label. The assigned serial numbers in SERIAL_NUM are lot specific. Table 17. LOT_ID1, LOT_ID2 Bit Descriptions Bits [15:0] Description Lot identification, binary code Table 18. SERIAL_NUM Bit Descriptions Bits [15:14] [13:0] Description Reserved Serial number, 1 to 9999 (0x270F) Table 19. PROD_ID Bit Descriptions Table 15. GLOB_CMD Bit Descriptions Bits [15:8] [7] [6:4] [3] [2] [1] [0] Table 16. SLP_CTRL Bit Descriptions Bits [15:0] Description (Default = 0x0000) Not used Software reset Not used Flash update Auxiliary DAC data latch Factory calibration restore Automatic bias correction Description (Default = 0x4001) Product identification = 0x4001 MEMORY MANAGEMENT The FLASH_CNT register in Table 20 provides a 16-bit counter that helps track the number of write cycles to the nonvolatile flash memory. The flash is updated every time a manual flash update occurs. A manual flash update is initiated by the GLOB_CMD[3] bit and is also performed at the completion of the GLOB_CMD[1:0] functions (see Table 15). POWER MANAGEMENT The SLP_CTRL register, in Table 16, provides two different sleep modes for system-level management: normal and timed. Set SLP_CTRL[8] = 1 (DIN = 0xBB01) to start normal sleep mode. When the device is in sleep mode, the following events can cause it to wake up: assert CS from high to low, assert RST from high to low, or cycle the power. Use SLP_CTRL[7:0] to put the device into sleep mode for a specified period. For example, SLP_CNT[7:0] = 0x64 (DIN = 0xBA64) puts the ADIS16385 to sleep for 50 seconds. Table 20. FLASH_CNT Bit Descriptions Bits [15:0] Rev. B | Page 12 of 20 Description Binary counter Data Sheet ADIS16385 Checksum Test Set MSC_CTRL[11] = 1 (DIN = 0xB508) to perform a checksum test of the internal program memory. This takes a summation of the internal program memory and compares it with the original summation value for the same locations (from factory configuration). Check the results in the DIAG_STAT register, which is in Table 22. DIAG_STAT[6] equals 0 if the sum matches the correct value and 1 if it does not. Make sure that the power supply is within specification for the entire 20 ms that this function takes to complete. SELF-TEST FUNCTION The MSC_CTRL register in Table 21 provides a self-test function for all six MEMS inertial sensors. This function allows the user to verify the mechanical integrity of each MEMS sensor. When enabled, the self-test applies an electrostatic force to each internal sensor element, which causes them to move. The movement in each element simulates its response to actual rotation/acceleration and generates a predictable electrical response in the sensor outputs. Table 1 provides the expected response for both gyroscopes and accelerometers that can help establish pass/fail limits during system-level diagnostic testing. Table 21. MSC_CTRL Bit Descriptions Bits [15:12] [11] [10] [9] [8] [7] [6] [5:3] [2] [1] [0] 1 Description (Default = 0x0006) Not used Checksum memory test (cleared upon completion)1 (1 = enabled, 0 = disabled) Internal self-test (cleared upon completion)1 (1 = enabled, 0 = disabled) Not used Manual self-test (1 = enabled, 0 = disabled) Linear acceleration bias compensation for gyroscopes (1 = enabled, 0 = disabled) Point of percussion, per Figure 6 (1 = enabled, 0 = disabled) Not used Data-ready enable (1 = enabled, 0 = disabled) Data-ready polarity (1 = active high, 0 = active low) Data-ready line select (1 = DIO2, 0 = DIO1) The bit is automatically reset to 0 after finishing the test. There are two self-test options in the MSC-CTRL register: internal and manual. Set MSC_CTRL[10] = 1 (DIN = 0xB504) to run the internal self-test routine, which exercises all inertial sensors, measures each response, computes the response to the self-test stimulus, makes pass/fail decisions, and reports them to the error flags in DIAG_STAT[5] and DIAG_STAT[15:10]. DIAG_STAT[15:10] provide individual error flags for each inertial sensor; DIAG_STAT[5] provides a single bit for indicating a failure in any of the inertial sensors. MSC_CTRL[10] resets itself to 0 after completing the routine. Set MSC_CTRL[8] = 1 (DIN = 0xB501) to manually activate the self-test function on all six sensors. Set MSC_CTRL[8] = 0 (DIN = 0xB500) to manually deactivate the self-test function on all six sensors. Measure the output bias for each MSC_CTRL[8] setting (0 and 1), take the difference between them, and compare this difference with the expected self-test response in Table 1. STATUS The DIAG_STAT register in Table 22 provides error flags for a number of functions. Each flag uses 1 to indicate an error condition and 0 to indicate a normal condition. Reading this register provides access to each flag's status and resets all of the bits to 0 for monitoring future operation. If the error condition remains, the error flag will return to 1 at the conclusion of the next sample cycle. DIAG_STAT[0] does not require a read of this register to return to 0. If the power supply voltage goes back into range, this flag clears automatically. The SPI communication error flag in DIAG_STAT[3] indicates that the number of SCLKs in a SPI sequence did not equal a multiple of 16 SCLKs. Table 22. DIAG_STAT Bit Descriptions Bits [15] [14] [13] [12] [11] [10] [9] [8] [7] [6] [5] [4] [3] [2] [1] [0] Rev. B | Page 13 of 20 Description (Default = 0x0000) Z-axis accelerometer self-test failure (1 = fail, 0 = pass) Y-axis accelerometer self-test failure (1 = fail, 0 = pass) X-axis accelerometer self-test failure (1 = fail, 0 = pass) Z-axis gyroscope self-test failure (1 = fail, 0 = pass) Y-axis gyroscope self-test failure (1 = fail, 0 = pass) X-axis gyroscope self-test failure (1 = fail, 0 = pass) Alarm 2 status (1 = active, 0 = inactive) Alarm 1 status (1 = active, 0 = inactive) Not used Flash test, checksum flag (1 = fail, 0 = pass) Self-test diagnostic error flag (1 = fail, 0 = pass) Sensor overrange (1 = overrange, 0 = normal) SPI communication failure (1 = fail, 0 = pass) Flash update failure (1 = fail, 0 = pass) Not used Power supply low (1 = VDD < 4.85 V, 0 = VDD 4.85 V) ADIS16385 Data Sheet INPUT/OUTPUT CONFIGURATION Table 23 provides a summary of registers that provide input/output configuration and control. Table 23. Input/Output Registers Register Name AUX_DAC GPIO_CTRL MSC_CTRL Address 0x30 0x32 0x34 Description Output voltage control, AUX_DAC General-purpose I/O control Self-test, calibration, data-ready Example I/O Configuration For example, set GPIO_CTRL[3:0] = 0100 (DIN = 0xB204) to set DIO3 as an output signal pin and DIO1, DIO2, and DIO4 as input signal pins. Set the output on DIO3 to 1 by setting GPIO_CTRL[10] = 1 (DIN = 0xB304). Then, read GPIO_CTRL[7:0] (DIN = 0x3200) and mask off GPIO_CTRL[9:8] and GPIO_CTRL[11] to monitor the digital signal levels on DIO4, DIO2, and DIO1. DATA-READY I/O INDICATOR AUXILIARY DAC The factory-default setting of MSC_CTRL[2:0] (110) establishes DIO1 as a positive polarity data-ready signal. See Table 21 for additional data-ready configuration options. For example, set MSC_CTRL[2:0] = 100 (DIN = 0xB404) to change the polarity of the data-ready signal on DIO1 for interrupt inputs that require negative logic inputs for activation. The pulse width is typically between 40 s and 80 s. The AUX_DAC register in Table 25 provides user controls for setting the output voltage on the AUX_DAC pin. The 12-bit AUX_DAC line can drive its output to within 5 mV of the ground reference when it is not sinking current. As the output approaches 0 V, the linearity begins to degrade (~100 LSB starting point). As the sink current increases, the nonlinear range increases. The DAC latch command in GLOB_CMD[2] (see Table 15) moves the values of the AUX_DAC register into the DAC input register, enabling both bytes to take effect at the same time. This prevents undesirable output levels, which reflect single-byte changes of the AUX_DAC register. GENERAL-PURPOSE I/O DIO1, DIO2, DIO3, and DIO4 are configurable, general-purpose I/O lines that serve multiple purposes. The data-ready controls in MSC_CTRL[2:0] have the highest priority for configuring DIO1 and DIO2. The alarm indicator controls in ALM_CTRL[2:0] have the second-highest priority for configuring DIO1 and DIO2. The external clock control associated with SMPL_PRD[7:0] has the highest priority for DIO4 configuration (see Table 28). GPIO_CTRL in Table 24 has the lowest priority for configuring DIO1, DIO2, and DIO4 and has absolute control over DIO3. [2] [1] [0] Bits [15:12] [11:0] Description (Default = 0x0000) Not used Data bits, scale factor = 0.8059 mV/LSB Offset binary format, 0 V = 0 LSB Table 26. Setting AUX_DAC = 1 V Table 24. GPIO_CTRL Bit Descriptions Bits [15:12] [11] [10] [9] [8] [7:4] [3] Table 25. AUX_DAC Bit Descriptions Description (Default = 0x0000) Not used General-Purpose I/O Line 4 (DIO4) data level General-Purpose I/O Line 3 (DIO3) data level General-Purpose I/O Line 2 (DIO2) data level General-Purpose I/O Line 1 (DIO1) data level Not used General-Purpose I/O Line 4 (DIO4) direction control (1 = output, 0 = input) General-Purpose I/O Line 3 (DIO3) direction control (1 = output, 0 = input) General-Purpose I/O Line 2 (DIO2) direction control (1 = output, 0 = input) General-Purpose I/O Line 1 (DIO1) direction control (1 = output, 0 = input) DIN 0xB0D9 0xB104 0xBE04 Rev. B | Page 14 of 20 Description AUX_DAC[7:0] = 0xD9 (217 LSB) AUX_DAC[15:8] = 0x04 (1024 LSB) GLOB_CMD[2] = 1; move values into the DAC input register, resulting in a 1 V output level Data Sheet ADIS16385 DIGITAL PROCESSING CONFIGURATION 0 Table 27. Digital Processing Registers Description Sample rate control Digital filtering and range control -20 -40 SAMPLE RATE The internal sampling system produces new data in the output data registers at a rate of 1024 SPS. The SMPL_PRD register in Table 28 provides two functional controls that affect sampling and register update rates. SMPL_PRD[12:8] provides a control for reducing the update rate, using an averaging filter with a decimated output. These bits provide a binomial control that divides the data rate by a factor of 2 every time this number increases by 1. For example, set SMPL_PRD[12:8] = 00100 (DIN = 0xB704) to set the decimation factor to 16. This reduces the update rate to 64 SPS and the bandwidth to 31 Hz. -60 -80 -100 N=2 N=4 N = 16 N = 64 -120 -140 0.001 0.01 0.1 1 FREQUENCY (f/fS) 08562-017 Address 0x36 0x38 MAGNITUDE (dB) Register Name SMPL_PRD SENS_AVG Figure 17. Bartlett Window, FIR Filter Frequency Response (Phase Delay = N Samples) DYNAMIC RANGE Table 28. SMPL_PRD Bit Descriptions The SENS_AVG[10:8] bits provide three dynamic range settings for this gyroscope. The lower dynamic range settings (75/sec and 150/sec) limit the minimum filter tap sizes to maintain resolution. For example, set SENS_AVG[10:8] = 010 (DIN = 0xB902) for a measurement range of 150/sec. Because this setting can influence the filter settings, program SENS_AVG[10:8] before programming SENS_AVG[2:0] if more filtering is required. Description (Default = 0x0001) Not used Average/decimation rate setting, binomial Not used Clock: 1 = internal (1024 SPS), 0 = external INPUT CLOCK CONFIGURATION SMPL_PRD[0] provides a control for synchronizing the internal sampling to an external clock source. Set SMPL_PRD[0] = 0 (DIN = 0xB600) to enable the external clock. See Table 2 and Figure 4 for timing information. Table 29. SENS_AVG Bit Descriptions Bits [15:11] [10:8] DIGITAL FILTERING The SENS_AVG register in Table 29 provides user controls for the low-pass filter. This filter contains two cascaded averaging filters that provide a Bartlett window, FIR filter response (see Figure 18). For example, set SENS_AVG[2:0] = 100 (DIN = 0xB804) to set each stage to 16 taps. When used with the default sample rate of 1024 SPS and zero decimation (SMPL_PRD[12:8] = 00000), this value reduces the sensor bandwidth to approximately 20 Hz. Description (Default = 0x0402) Not used Measurement range (sensitivity) selection 100 = 300/sec (default condition) 010 = 150/sec, filter taps 4 (Bits[2:0] 0x02) 001 = 75/sec, filter taps 16 (Bits[2:0] 0x04) Not used Number of taps in each stage; value of B in NB = 2B [7:3] [2:0] BARTLETT WINDOW FIR FILTER MEMS SENSOR LOW-PASS FILTER 330Hz 1 NB ADC GYROSCOPES LOW-PASS, TWO-POLE (404Hz, 757Hz) ACCELEROMETERS CLOCK 1024SPS NB x(n) n=1 1 NB NB x(n) n=1 B = SENS_AVG[2:0] NB = 2B NB = NUMBER OF TAPS (PER STAGE) AVERAGE/ DECIMATION FILTER 1 ND ND /ND x(n) n=1 D = SMPL_PRD[12:8] ND = 2D ND = NUMBER OF TAPS LOW-PASS, SINGLE-POLE (330Hz) EXTERNAL CLOCK ENABLED BY SMPL_PRD[0] = 0 Figure 18. Sampling and Frequency Response Block Diagram Rev. B | Page 15 of 20 08562-018 Bits [15:13] [12:8] [7:1] [0] ADIS16385 Data Sheet CALIBRATION The mechanical structure and assembly process of the ADIS16385 provide excellent position and alignment stability for each sensor, even after subjected to temperature cycles, shock, vibration, and other environmental conditions. The factory calibration includes a dynamic characterization of each sensor's behavior over temperature and generates sensor-specific correction formulas. The bias correction registers in Table 30 provide users with the ability to address bias shifts that can result from mechanical stress. Figure 19 illustrates the summing function of each sensor's offset correction register. Table 30. Registers for User Calibration X-AXIS MEMS GYRO Address 0x1A 0x1C 0x1E 0x20 0x22 0x24 0x3E ADC Description Gyroscope bias, x-axis Gyroscope bias, y-axis Gyroscope bias, z-axis Accelerometer bias, x-axis Accelerometer bias, y-axis Accelerometer bias, z-axis Automatic calibration FACTORY CALIBRATION AND FILTERING The manual bias correction (MBC) function requires the user to collect the desired number of samples, calculate the averages to develop bias estimates for each gyroscope channel, and then write them into the bias offset registers, located in Table 31 for the gyroscopes. For example, set XGYRO_OFF = 0x1FF6 (DIN = 0x9B1F, 0x9AF6) to adjust the XGYRO_OUT offset by -0.03125/sec (-10 LSBs). Table 32 provides a manual adjustment function for the accelerometer channels as well. Bits [15:0] XGYRO_OUT XGYRO_OFF Figure 19. User Calibration, XGYRO_OFF Example There are two options for optimizing gyroscope bias accuracy prior to system deployment: automatic bias correction (ABC) and manual bias correction (MBC). AUTOMATIC BIAS CORRECTION (ABC) The ABC function provides a simple measure-and-adjust function for the three gyroscope sensors. Set GLOB_CMD[0] = 1 (DIN = 0xBE01) to start the ABC function, which automatically performs the following steps to correct the bias on each gyroscope: 1. 2. 3. 4. 5. MANUAL BIAS CORRECTION Table 31. XGYRO_OFF, YGYRO_OFF, and ZGYRO_OFF Bit Descriptions 08562-019 Register XGYRO_OFF YGYRO_OFF ZGYRO_OFF XACCL_OFF YACCL_OFF ZACCL_OFF GLOB_CMD The accuracy of the bias correction depends on the internal averaging time used for the data sample, which depends on the decimation setting. For example, set SMPL_PRD[15:8] = 0x10 (DIN = 0xB710) to establish a decimation rate of 216, or 65536. This establishes an averaging time of 80 seconds at a sample rate of 819.2 SPS, which results in an Allan Variance of 0.006/sec on the x-axis and y-axis gyroscopes and 0.0016/sec on the z-axis gyroscope. Waits for the next output register update. Reads the output register of the gyroscope. Multiplies the measurement by -1 to change its polarity. Writes the final value into the offset register. Performs a manual flash backup function to store the correction factor in nonvolatile flash memory. Description (Default = 0x0000) Twos complement, 0.003125/sec per LSB. Typical adjustment range = 102/sec. Table 32. XACCL_OFF, YACCL_OFF, and ZACCL_OFF Bit Descriptions Bits [15:0] Description (Default = 0x0000) Data bits. Twos complement, 0.25 mg/LSB. Typical adjustment range = 8 g. RESTORING FACTORY CALIBRATION Set GLOB_CMD[1] = 1 (DIN = 0xBE02) to execute the factory calibration restore function. This is a single-command function, which resets each user calibration register to 0x0000 and all sensor data to 0. Then, it automatically updates the flash memory within 50 ms. See Table 15 for more information on GLOB_CMD. POINT-OF-PERCUSSION/LINEAR-g COMPENSATION Set MSC_CTRL[6] = 1 (DIN = 0xB446) to enable this feature and maintain the factory-default settings for DIO1. This feature performs a point-of-percussion translation to the point identified in Figure 6. See Table 21 for more information on MSC_CTRL. Set MSC_CTRL[7] = 1 to enable internal compensation for linear-g on the gyroscope bias. Rev. B | Page 16 of 20 Data Sheet ADIS16385 ALARMS The ADIS16385 provides two independent alarms, Alarm 1 and Alarm 2, which have a number of programmable settings. Table 33 provides a list of registers for these user settings. Table 33. Registers for Alarm Configuration Register ALM_MAG1 ALM_MAG2 ALM_SMPL1 ALM_SMPL2 ALM_CTRL Address 0x26 0X28 0x2A 0x2C 0x2E Description Alarm 1 trigger setting Alarm 2 trigger setting Alarm 1 sample period Alarm 2 sample period Alarm configuration ALARM REPORTING The DIAG_STAT[9:8] bits provide error flags that indicate an alarm condition. The ALM_CTRL[2:0] bits provide controls for a hardware indicator using DIO1 or DIO2. Table 37. ALM_CTRL Bit Descriptions Bits [15:12] The ALM_CTRL register in Table 37 provides data source selection (Bits[15:8]), static/dynamic setting for each alarm (Bits[7:6]), trigger polarity (Bits[5:4]), data source filtering (Bit[3]), and alarm indicator signal (Bits[2:0]). STATIC ALARM USE The static alarms setting compares the data source selection (ALM_CTRL[15:8]) with the values in the ALM_MAGx registers in Table 34 and Table 35. The data format in these registers matches the format of the data selection in ALM_CTRL[15:8]. The ALM_CTRL[5:4] bits provide polarity settings. See Table 38, Alarm 1, for a static alarm configuration example. Table 34. ALM_MAG1 Bit Descriptions Bits [15:0] Description (Default = 0x0000) Threshold setting; matches for format of ALM_CTRL[11:8] output register selection Alarm Example Table 35. ALM_MAG2 Bit Descriptions Bits [15:0] Description (Default = 0x0000) Threshold setting; matches for format of ALM_CTRL[15:12] output register selection DYNAMIC ALARM USE The dynamic alarm setting monitors the data selection for a rate-of-change comparison. The rate-of-change comparison is represented by the magnitude in the ALM_MAGx registers over the time represented by the number-of-samples setting in the ALM_SMPLx registers, located in Table 36. See Table 38, Alarm 2, for a dynamic alarm configuration example. Table 36. ALM_SMPL1 and ALM_SMPL2 Bit Descriptions Bits [15:8] [7:0] [11:8] [7] [6] [5] [4] [3] [2] [1] [0] Description (Default = 0x0000) Alarm 2 data source selection 0000 = disable 0001 = x-axis gyroscope output 0010 = y-axis gyroscope output 0011 = z-axis gyroscope output 0100 = x-axis accelerometer output 0101 = y-axis accelerometer output 0110 = z-axis accelerometer output 0111 = internal temperature output 1000 = auxiliary ADC input 1001 = DIAG_STAT > 0x0000 Alarm 1 data source selection (same as Alarm 2) Alarm 2, dynamic/static (1 = dynamic, 0 = static) Alarm 1, dynamic/static (1 = dynamic, 0 = static) Alarm 2 polarity (1 = greater than, 0 = less than) Alarm 1 polarity (1 = greater than, 0 = less than) Data source filtering (1 = filtered, 0 = unfiltered) Alarm indicator (1 = enabled, 0 = disabled) Alarm indicator active polarity (1 = high, 0 = low) Alarm output line select (1 = DIO2, 0 = DIO1) Description (Default = 0x0000) Not used Binary, number of samples (both 0x00 and 0x01 = 1) Table 38 offers an example that configures Alarm 1 to trigger when filtered ZACCL_OUT data drops below 0.7 g, and Alarm 2 to trigger when filtered ZGYRO_OUT data changes by more than 50/sec over a 100 ms period, or 500/sec2. The filter setting helps reduce false triggers from noise and refine the accuracy of the trigger points. The ALM_SMPL2 setting of 102 samples provides a comparison period that is 99.6 ms for an internal sample rate of 1024 SPS. Because Alarm 1 is a static alarm in this example, there is no need to program ALM_SMPL1. Table 38. Alarm Configuration Example 1 DIN 0xAF36, 0xAEAF 0xA90F, 0xA8A0 0xA70A, 0xA6F0 0xAC66 Rev. B | Page 17 of 20 Description ALM_CTRL = 0x36AF. Alarm 2: dynamic, -ZGYRO_OUT (-time, ALM_SMPL2) > ALM_MAG2. Alarm 1: static, ZACCL_OUT < ALM_MAG1. Use filtered data source for comparison. DIO2 output indicator, positive polarity. ALM_MAG2 = 0x0FA0 (+50/sec). ALM_MAG1 = 0x0AF0 (0.7 g). ALM_SMPL2[7:0] = 0x66 (102 samples). ADIS16385 Data Sheet APPLICATIONS INFORMATION PROTOTYPE INTERFACE BOARD INSTALLATION TIPS The ADIS16385/PCBZ includes one ADIS16385BMLZ, one interface printed circuit board (PCB), and four M2x18 machine screws. The interface PCB provides larger connectors than the ADIS16385BMLZ for simpler prototyping, four tapped M2 holes for attachment of the ADIS16385BMLZ, and four holes (machine screw size M2.5 or #4) for mounting the interface PCB to a solid structure. J1 and J2 are dual-row, 2 mm (pitch) connectors that work with a number of ribbon cable systems, including 3M Part Number 152212-0100-GB (ribbon crimp connector) and 3M Part Number 3625/12 (ribbon cable). Figure 22 and Figure 23 provide the mechanical design information used for the ADIS16385/PCBZ. Use Figure 22 and Figure 23 when implementing a connector-down approach, where the mating connector and the ADIS16385BMLZ are on the same surface. When designing a connector-up system, use the mounting holes shown in Figure 22 as a guide in designing the bulkhead mounting system and use Figure 23 as a guide in developing the mating connector interface on a flexible circuit or other connector system. Figure 20 provides the top-level view of the interface board. Install the ADIS16385BMLZ onto this board using the silk pattern as an orientation guide. Align the pins on the ADIS16385BMLZ to the mating connector on the interface PCB with care. Misalignment or wrong orientation can cause permanent damage. Figure 21 provides the pin assignments for J1 and J2. The pin descriptions match those listed in Table 5. The ADIS16385 does not require external capacitors for normal operation; therefore, the interface PCB does not use the C1/C2 pads. 31.200 BSC 15.600 BSC C L C L 2x O 0.560 BSC ALIGNMENT HOLES FOR MATING SOCKET 39.60 BSC 19.800 BSC 17.520 4x O 2.500 BSC 08562-022 2.280 5.00 BSC 5.00 BSC Figure 22. Suggested Mounting Hole Locations, Connector Down 0.4334 [11.0] 0.019685 [0.5000] (TYP) 0.0240 [0.610] 0.054 [1.37] 08562-020 0.022 MIN/ 0.025 MAX DIA 2x NONPLATED THRU HOLE 2x 2 SCLK DNC 1 2 GND CS 3 4 DOUT DNC 3 4 DNC DNC 5 6 DIN GND 5 6 CLKIN GND 7 8 GND DNC 7 8 DNC GND 9 10 VCC DNC 9 10 DNC VCC 11 12 VCC DIO2 11 12 DIO1 08562-021 J2 J1 1 0.0394 [1.00] 0.022 DIA THRU HOLE (TYP) NONPLATED THRU HOLE Figure 23. Suggested Layout and Mechanical Design for the Mating Connector Figure 20. Physical Diagram for the ADIS16385/PCBZ RST 0.0394 [1.00] 0.1800 [4.57] 08562-023 C L Figure 21. J1/J2 Pin Assignments Rev. B | Page 18 of 20 Data Sheet ADIS16385 OUTLINE DIMENSIONS 35.90 35.60 35.30 15.80 15.60 15.40 31.40 31.20 31.00 5.50 20.00 19.80 19.60 17.70 17.50 17.30 44.30 44.00 43.70 47.50 47.20 46.90 2.40 THRU HOLE (4x) 2.200 (4x) BOTTOM VIEW 39.30 39.00 38.70 FRONT VIEW 39.30 38.90 38.50 20.70 3.10 2.80 2.50 0.30 SQ BSC (24x) SIDE VIEW 1.00 BSC LEAD PITCH 07-23-2010-B 15.50 Figure 24. 24-Lead Module with Connector Interface (ML-24-5) Dimensions shown in millimeters ORDERING GUIDE Model 1 ADIS16385BMLZ ADIS16385/PCBZ 1 Temperature Range -40C to +105C Package Description 24-Lead Module with Connector Interface Interface PCB Z = RoHS Compliant Part. Rev. B | Page 19 of 20 Package Option ML-24-5 ADIS16385 Data Sheet NOTES (c)2010-2011 Analog Devices, Inc. All rights reserved. Trademarks and registered trademarks are the property of their respective owners. D08562-0-12/11(B) Rev. B | Page 20 of 20