0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
ADCMXL3021BMLZ

ADCMXL3021BMLZ

  • 厂商:

    AD(亚德诺)

  • 封装:

    ML14

  • 描述:

    ADCMXL3021BMLZ

  • 数据手册
  • 价格&库存
ADCMXL3021BMLZ 数据手册
Wide Bandwidth, Low Noise, Triaxial Vibration Sensor ADcmXL3021 Data Sheet FUNCTIONAL BLOCK DIAGRAM APPLICATIONS Vibration analysis CBM systems Machine health Instrumentation and diagnostics Safety shutoff sensing Rev. A GND OUT_VDDM POWER MANAGEMENT ADC MEMS ACCELEROMETER Y ADC MEMS ACCELEROMETER Z ADC RST CS ADcmXL3021 SCLK DIN DOUT SYNC/RTS BUSY ALM1 ALM2 16806-001 MEMS ACCELEROMETER X INTERFACE Triaxial, digital output MEMS vibration sensing module ±50 g measurement range Ultralow output noise density, 26 μg/√Hz (MTC mode) Wide bandwidth: dc to 10 kHz within 3 dB flatness (RTS mode) Embedded fast data sampling: 220 kSPS per axis 6 digital FIR filters, 32 taps (coefficients), default options: High-pass filter cutoff frequencies: 1 kHz, 5 kHz, 10 kHz Low-pass filter cutoff frequencies: 1 kHz, 5 kHz, 10 kHz User configurable digital filter option (32 coefficients) Spectral analysis through internal FFT Extended record length: 2048 bins per axis with user configurable bin sizes from 0.42 Hz to 53.7 Hz Manual or timer-based (automatic) triggering Windowing options: rectangular, Hanning, flat top FFT record averaging, configurable up to 255 records Spectral defined alarm monitoring, 6 alarms per axis Time domain capture with statistical metrics Extended record length: 4096 samples per axis Mean, standard deviation, peak, crest factor, skewness, and kurtosis Configurable alarm monitoring Real-time data streaming 220 kSPS on each axis by default User programmable sample rates Burst mode communication with CRC-16 error checking Storage: 10 data records for each axis On demand self test with status flags Sleep mode with external and timer driven wakeup Digital temperature and power supply measurements SPI-compatible serial interface Identification registers: factory preprogrammed serial number, device ID, user programmable ID Single-supply operation: 3.0 V to 3.6 V Operating temperature range: −40°C to +105°C Automatic shutdown at 125°C (junction temperature) 23.7 mm × 27.0 mm × 12.4 mm aluminum package 36 mm flexible, 14-pin connector interface Mass: 13 g VDD EMBEDDED PROCESSING FEATURES Figure 1. GENERAL DESCRIPTION The ADcmXL3021 is a complete vibration sensing system that combines high performance vibration sensing (using microelectromechanical systems (MEMS) accelerometers) with a variety of signal processing functions to simplify the development of smart sensor nodes in condition-based monitoring (CBM) systems. The typical ultralow noise density (26 μg/√Hz) in the MEMS accelerometers supports excellent resolution. The wide bandwidth (dc to 10 kHz within 3 dB flatness) enables tracking of key vibration signatures on many machine platforms. The signal processing includes high speed data sampling (220 kSPS), 4096 time sample record lengths, filtering, windowing, fast Fourier transform (FFT), user configurable spectral or time statistic alarms, and error flags. The serial peripheral interface (SPI) provides access to a register structure that contains the vibration data and a wide range of user configurable functions. The ADcmXL3021 is available in a 23.7 mm × 27.0 mm × 12.4 mm aluminum package with four mounting flanges to support installation with standard machine screws. This package provides consistent mechanical coupling to the core sensors over a broad frequency range. The electrical interface is through a 14-pin connector on a 36 mm flexible cable, which enables a wide range of location and orientation options for system mating connectors. The ADcmXL3021 requires only a single, 3.3 V power supply and supports an operating temperature range of −40°C to +105°C. Document Feedback 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 ©2019–2021 Analog Devices, Inc. All rights reserved. Technical Support www.analog.com ADcmXL3021 Data Sheet TABLE OF CONTENTS Features .............................................................................................. 1  Z_BUF/RSS_BUF, Buffer Access Register, Z-Axis ..................... 35  Applications ....................................................................................... 1  X_ANULL, X-AXIS Bias Calibration Register ....................... 36  Functional Block Diagram .............................................................. 1  Y_ANULL, Y-AXIS Bias Calibration Register ....................... 36  General Description ......................................................................... 1  Z_ANULL, Z-AXIS Bias Calibration Register ....................... 36  Revision History ............................................................................... 3  REC_CTRL, Recording Control .............................................. 36  Specifications..................................................................................... 4  RT_CTRL, Real TIme Streaming Control .............................. 38  Timing Specifications .................................................................. 5  REC_PRD, Record Period ......................................................... 38  Absolute Maximum Ratings............................................................ 7  ALM_F_LOW, Alarm Frequency Band .................................. 38  Thermal Resistance ...................................................................... 7  ALM_F_HIGH, Alarm Frequency Band ................................ 38  ESD Caution .................................................................................. 7  ALM_X_MAG1, Alarm Level 1 X-Axis .................................. 39  Pin Configuration and Function Descriptions ............................. 8  ALM_Y_MAG1, Alarm Level 1 Y-Axis .................................. 39  Typical Performance Characteristics ............................................. 9  ALM_Z_MAG1, Alarm Level 1 Z-Axis .................................. 39  Theory of Operation ...................................................................... 14  ALM_X_MAG2, Alarm Level 2 X-Axis .................................. 39  Core Sensors................................................................................ 14  ALM_Y_MAG2, Alarm Level 2 Y-Axis .................................. 40  Signal Processsing ...................................................................... 14  ALM_Z_MAG2, Alarm Level 2 Z-Axis .................................. 40  Modes of Operation ................................................................... 15  ALM_PNTR, Alarm Pointer..................................................... 40  Data Recording Options ............................................................ 16  ALM_S_MAG Alarm Level ...................................................... 40  User Interface .............................................................................. 19  ALM_CTRL, Alarm Conrol ..................................................... 40  Basic Operation............................................................................... 22  FILT_CTRL, Filter Control ....................................................... 41  Device Configuration ................................................................ 22  AVG_CNT, Decimation Control.............................................. 41  Dual Memory Structure ............................................................ 22  DIAG_STAT, Status, and Error Flags....................................... 42  Power-Up Sequence ................................................................... 22  GLOB_CMD, Global Commands ............................................ 42  Trigger .......................................................................................... 22  ALM_X_STAT, Alarm Status X-Axis ...................................... 42  Sample Rate ................................................................................. 23  ALM_Y_STAT, Alarm Status Y-Axis....................................... 43  Datapath Processing ................................................................... 23  ALM_Z_STAT, Alarm Status Z-axis ........................................ 43  Spectral Alarms........................................................................... 25  ALM_X_PEAK, Alarm Peak Level X-Axis ............................. 43  Mechanical Mounting Recommendations .............................. 25  ALM_Y_PEAK, Alarm Peak LeveL Y-AXIS .......................... 43  User Register Memory Map .......................................................... 26  ALM_Z_PEAK, Alarm Peak Level Z-AXIS............................ 43  User Register Details ...................................................................... 32  PAGE_ID (Page Number) ......................................................... 32  TIME_STAMP_L and TIME_STAMP_H, Data Record Timestamp................................................................................... 44  TEMP_OUT (Internal Temperature) ...................................... 32  DAY_REV, Day and Revision ................................................... 44  SUPPLY_OUT (Power Supply Voltage) .................................. 32  YEAR_MON, Year and Month................................................. 44  FFT_AVG1, Spectral Averaging ............................................... 32  PROD_ID, Product Identification ........................................... 44  FFT_AVG2, Spectral Averaging ............................................... 33  SERIAL_NUM, Serial Number ................................................ 44  BUF_PNTR, Buffer Pointer ...................................................... 33  USER_SCRATCH ...................................................................... 44  REC_PNTR, Record Pointer ..................................................... 34  REC_FLASH_CNT, Record Flash Endurance ....................... 44  X_BUF, Buffer Access Register, X-Axis ................................... 34  MISC_CTRL, Miscellaneous Control ..................................... 45  Y_BUF, Buffer Access Register, Y-Axis ................................... 35  REC_INFO1, Record Information........................................... 45  Rev. A | Page 2 of 50 Data Sheet ADcmXL3021 Record Information, REC_INFO2 ...........................................45  FUND_FREQ, Fundamental Frequency ................................. 47  REC_CNTR, Record Counter ...................................................45  FLASH_CNT_l, Flash Memory Endurance ............................ 47  ALM_X_FREQ, Severe Alarm Frequency ...............................45  FLASH_CNT_U, Flash Memory Endurance .......................... 48  ALM_Y_FREQ, Severe Alarm Frequency ...............................45  FIR Filter Registers ..................................................................... 48  ALM_Z_FREQ, Severe Alarm Frequency ...............................46  Applications Information ............................................................... 49  STAT_PNTR, Statistic Result Pointer ......................................46  Mechanical Interface .................................................................. 49  X_STAT, Statistic Result X-Axis ................................................46  Outline Dimensions ........................................................................ 50  Y_STAT, Statistic Result Y-Axis ................................................47  Ordering Guide ........................................................................... 50  Z_STAT, Statistic Result Z-Axis ................................................47  REVISION HISTORY 3/2021—Rev. 0 to Rev. A Changes to Features Section ............................................................ 1 Changed Error Parameter to Error Over Temperature Parameter, Table 1 ............................................................................. 3 Changes to Table 2 ............................................................................ 5 Changes to Figure 5 Caption ........................................................... 6 Deleted Figure 19; Renumbered Sequentially .............................11 Changes to Figure 19 ......................................................................11 Changes to MTC Data Format Section ........................................17 Changes to Table 9 and RTS Data Format Section .....................18 Delete Table 10; Renumbered Sequentially .................................18 Changes to Table 20 ........................................................................26 Changes to Table 21 ........................................................................32 Changes to REC_PNTR, Record Pointer Section and Table 40 ..... 34 Changes to X_BUF, Buffer Access Register, X-Axis Section, Table 44, and Table 46 .....................................................................35 Deleted Table 44 ..............................................................................35 Changes to Real-Time Burst Mode Timeout Enabled Section .37 Added RT_CTRL, Real-Time Streaming Control Section, Table 56, and Table 57 .....................................................................38 Changes to Table 77 and Table 79 ................................................. 40 Deleted DIO_CTRL, Digital Input/Output Line Control Section, Table 83, and Table 84 ..................................................... 40 Changes to Table 84 ........................................................................ 41 Changes to Table 88, Table 90, and Table 92 ............................... 42 Changes to Table 94, Table 96, and Table 102 ............................. 43 Changes to Table 104, Table 106, Table 108 to Table 112, Table 114, and Table 118 ................................................................ 44 Changed DATE_REV, Day and Revision Section to DAY_REV, Day and Revision Section .............................................................. 44 Added USER_SCRATCH Section, Table 116, and Table 117 ... 44 Changes to Table 120, Table 122, Table 124, Table 126, Table 128, and Table 130 ................................................................ 45 Changes to Table 132, Table 134, and Table 136 ......................... 46 Changes to Table 141, Table 143, and Table 147 ......................... 47 Changes to Table 148 and FIR Filter Design Guidelines ........... 48 3/2019—Revision 0: Initial Version Rev. A | Page 3 of 50 ADcmXL3021 Data Sheet SPECIFICATIONS TA = 25°C, VDD = 3.3 V, unless otherwise noted. Table 1. Parameter ACCELEROMETERS Measurement Range1 Sensitivity FFT Time Domain Error Over Temperature Nonlinearity Cross Axis Sensitivity Alignment Error Offset Error over Temperature Offset Temperature Coefficient Output Noise Output Noise Density Output Noise Density 3 dB Bandwidth Sensor Resonant Frequency CONVERSION RATE Clock Accuracy FUNCTIONAL TIMING Factory Reset Time Recovery Start Up Time Self Test Time LOGIC INPUTS Input High Voltage, VINH Input Low Voltage, VINL Logic 1 Input Current, IINH Logic 0 Input Current, IINL All Except RST Test Conditions/Comments Min Best fit, straight line, full scale (FS) = ±50 g With respect to package TA = −40°C to +105°C TA = −40°C to +105°C Real-time streaming (RTS) mode 100 Hz to 10 kHz, all axes, AVG_CNT = 0, MTC mode 1 Hz to 10 kHz, all axes, no filtering, RTS mode All axes Max g 0.9535 1.907 ±5 ±0.2 2 2 ±5 34 3.2 26 32 3 mg/LSB mg/LSB % % % Degrees g mg/°C mg rms μg/√Hz μg/√Hz Hz kHz kSPS % 130 220 ms ms 93 ms ±1.25 21 220 Time from supply voltage reaching 3.0 V from power-down until ready for command 2.5 VIH = 3.3 V VIL = 0 V 0.01 IOH = −1 mA IOL = 1 mA Unit ±50 10,000 RST Input Capacitance, CIN DIGITAL OUTPUTS Output Voltage High, VOH Low, VOL Output Current High, IOH Low, IOL FLASH MEMORY Endurance2 Data Retention3 THERMAL SHUTDOWN Thermal Shutdown Threshold Thermal Shutdown Hysteresis Typ 0.45 0.2 V V μA 100 μA 1 mA 10 pF 1.4 IOH = −1 mA IOL = 1 mA 10,000 0.4 V V 2 2 mA mA TJ = 85°C, see Figure 52 10 Cycles Years TJ rising 125 15 °C °C Rev. A | Page 4 of 50 Data Sheet ADcmXL3021 Parameter OUT_VDDM MONITOR OUTPUT Output Resistance Test Conditions/Comments Logic output; logic high indicates good condition Logic low when internal temperature exceed allowed range Operating voltage range, VDD Operating mode, VDD = 3.0 V Operating mode, VDD = 3.3 V Operating mode, VDD = 3.6 V Sleep mode, VDD = 3.0 V Sleep mode, VDD = 3.3 V Sleep mode, VDD = 3.6 V POWER SUPPLY VOLTAGE Power Supply Current Min Typ Max Unit 90 100 110 kΩ 3.0 3.3 30.2 30.6 31.6 1 1.5 2.3 3.6 V mA mA mA mA mA mA 1 The maximum range depends on the frequency of vibration. Endurance is qualified as per JEDEC Standard 22, Method A117 and measured at −40°C, +25°C, +85°C, and +125°C. 3 Retention lifetime equivalent at junction temperature (TJ) = 85°C as per JEDEC Standard 22, Method A117. Retention lifetime depends on junction temperature. 2 TIMING SPECIFICATIONS TC = 25°C, VDD = 3.3 V, unless otherwise noted. Table 2. Normal Mode Min Typ Max1 0.01 14 16 35.7 35.7 35.7 1 Parameter fSCLK tSTALL tCLS tCHS tCS Description SCLK frequency Stall period between data bytes SCLK low period SCLK high period CS to SCLK edge tDAV tDSU tDHD tDSOE DOUT valid after SCLK edge DIN setup time before SCLK rising edge DIN hold time after SCLK rising edge CS assertion to DOUT active tHD tSFS SCLK edge to DOUT invalid Last SCLK edge to CS deassertion tRTS_BUSY RTS mode only, data out valid burst readout period end before BUSY rising edge for next burst Min 12.52 RTS Mode Typ 20 N/A 20 ns ns ns ns 35.7 35.7 35.7 6 8 0 20 20 35.7 Unit MHz μs ns ns ns N/A3 20 6 8 Max1 14 35.7 20 ns ns 5 μs 1 Guaranteed by design and characterization, but not tested in production. Assuming a sample rate of 220 kSPS. If in RTS mode the sample rate is reduced by using the RT_CTRL register, fSCLK can be lower than 12.5 MHz. The minimum fSCLK is bound by the period of one RTS data frame read. If fSCLK is lowered further, and the entire RTS data frames are not read within a cycle, CRC errors may occur because SPI read out is not keeping up with the real-time data generation. 3 N/A means not applicable. When using RTS mode, the stall period is not applicable. 2 Timing Diagrams CS tCHS tCS 2 tDSOE DOUT MSB 3 4 tDAV DB14 R/W A6 tSFS 6 15 16 tHD DB13 tDSU DIN 5 DB12 DB11 DB10 A4 A3 A2 DB2 DB1 LSB tDHD A5 Figure 2. SPI Timing and Sequence Rev. A | Page 5 of 50 D2 D1 LSB 16806-002 SCLK 1 tCLS ADcmXL3021 Data Sheet tSTALL 16806-003 CS SCLK Figure 3. Stall Time (Does Not Apply to RTS Mode) 12ms DELAY TRIGGER CAPTURE START BY WRITING 0x0800 TO GLOB_CMD REAL TIME STREAMING FRAME (16x100 BITS) HEADER 0XAD00, X1:X32, Y1:Y32, Z1:Z32, TEMP, STATUS, CRC CS SCLK DON’T CARE DOUT 0x00, 0xAD DONT CARE X1[LSB,MSB] 16806-004 DIN BUSY Figure 4. RTS Mode Timing Diagram (Assumes REC_CTRL, Bits[1:0] = 0b11) NOT SHOWN ARE 95 16b WORDS: X2 TO X32 Y1 TO Y32 Z1 TO Z32 TEMPERATURE CS CRC STATUS X2 X1 0xAD04 CRC STATUS X2 X1 0xAD03 CRC STATUS X2 X1 0xAD02 CRC STATUS X2 X1 0xAD01 CRC STATUS X2 X1 DOUT 0xAD00 SCLK tRTS_BUSY Figure 5. RTS Read Function Sequence Diagram, First Five Segments Rev. A | Page 6 of 50 16806-005 BUSY Data Sheet ADcmXL3021 ABSOLUTE MAXIMUM RATINGS THERMAL RESISTANCE Table 3. Parameter Acceleration Any Axis, Unpowered Any Axis, Powered VDD to GND Digital Input Voltage to GND Digital Output Voltage to GND Temperature, TA Operating Range Storage Range Thermal performance is directly linked to printed circuit board (PCB) design and operating environment. Pay careful attention to PCB thermal design. Rating 2000 g 2000 g −0.3 V to +3.6 V −0.3 V to +3.6 V −0.3 V to +3.6 V θJA is the natural convection junction to ambient thermal resistance measured in a one cubic foot sealed enclosure. θJC is the junction to case thermal resistance. −40°C to +105°C −65°C to +150°C Stresses at or above those listed under Absolute Maximum Ratings may cause permanent damage to the product. This is a stress rating only; functional operation of the product at these or any other conditions above those indicated in the operational section of this specification is not implied. Operation beyond the maximum operating conditions for extended periods may affect product reliability. The ADcmXL3021 is a multichip module, which includes many active components. The values in Table 4 identify the thermal response of the hottest component inside of the ADcmXL3021, with respect to the overall power dissipation of the module. This approach enables a simple method for predicting the temperature of the hottest junction, based on either ambient or case temperature. For example, when TA = 70°C, under normal operation mode with a typical 34 mA current and 3.3 V supply voltage, the hottest junction temperature in the ADcmXL3021 is 77.3°C. TJ = θJA × VDD × IDD + 70°C TJ = 65.1°C/W × 3.3 V × 0.034 A + 70°C TJ ≈ 77.3°C where IDD is the current consumption of the device. Table 4. Thermal Resistance Package Type ML-14-71 1 θJA 65.1°C/W θJC 33.2°C/W Thermal impedance simulated values come from a case with four machine screws at a size of M2.5 × 0.4 mm (torque = 25 inch-pounds). Secure the ADcmXL3021 to the PCB. ESD CAUTION Rev. A | Page 7 of 50 ADcmXL3021 Data Sheet PIN CONFIGURATION AND FUNCTION DESCRIPTIONS 1 13 2 14 Z PIN 1 PIN 13 X 16806-007 Y PIN 14 Figure 6. Pin Configuration Table 5. Pin Function Descriptions Pin No. 1 2 Mnemonic GND ALM1 Type Supply Output 3 SYNC/RTS Input 4 ALM2 Output 5 BUSY Output 6 OUT_VDDM Output 7 RST Input 8 9 10 11 12 VDD GND GND DIN DOUT Supply Supply Supply Input Output 13 14 SCLK CS Input Input Description Ground. Digital Output Only, Alarm 1 Output. This pin is configured by the ALM_CTRL register and is not used in real-time streaming mode. Sync Function (SYNC)/RTS Burst Start/Stop (RTS). This pin is an digital input only, and is edge (not level) sensitive. This pin must be enabled in the MISC_CTRL register (Bit 12) before being used as an external trigger. The SYNC pulse width must be at least 50 ns. In MTC and MFFT modes, the SYNC pin acts as a manual trigger, this pin initiates a record capture event when a low to high transition is detected, equivalent to SPI Command 0x0800 to the GLOB_CMD register. In RTS and AFFT mode, when the logic level on this pin is high, conversion is active. When the logic level on this pin is low, conversion is stopped after the current data record is completed. Digital Output Only, Alarm 2 Output. This pin is configured by the ALM_CTRL register and is not used in real-time streaming mode. Busy or Data Ready Indicator, Digital Output Only. In RTS mode, this pin is a logical output to indicate that data is ready and available for download. The logical state resets to logic low when data is loading to the output buffers. The pin is set high when data is ready for download. In other capture modes, the busy indicator identifies the state of the module processor and if it is available for external commands. When a command is executing, SPI access is not allowed and the device is in a busy state. After this process completes, whether a command or a record, the SPI is released and the BUSY pin is set to logic high state. Note that there is one exception to SPI port access while in the busy state: a capture can be terminated by writing the unique 16-bit escape code, 0x00E8, to the GLOB_CMD register. Power Supply Monitor (Digital Output). This pin is logic low when temperature exceeds threshold and automatic shutdown occurs. Hardware Reset, Digital Input Only, Active Low. This pin enters the device in a known state by resetting the microcontroller. This pin also loads the user configurable parameters from flash memory. Power Supply. Ground. Ground. SPI, Data Input Line. SPI, Data Output. DOUT is an output when CS is low. When CS is high, DOUT is in a three-state, high impedance mode. SPI, Serial Clock. SPI, Chip Select. Rev. A | Page 8 of 50 Data Sheet ADcmXL3021 TYPICAL PERFORMANCE CHARACTERISTICS 25 1m X-AXIS DUT RESPONSE (db) X-AXIS NOISE DENSITY (g/√Hz) 20 0.1m 0.01m 15 10 5 0 1k 10k 100k 1M FREQUENCY (Hz) –10 100 16806-200 1µ 100 1k 10k FREQUENCY (Hz) Figure 7. X-Axis Noise Density, Wideband, MTC, AVG_CNT = 0 16806-203 –5 Figure 10. X-Axis Sine Sweep Response, RTS Mode 25 1m Y-AXIS DUT RESPONSE (db) Y-AXIS NOISE DENSITY (g/√Hz) 20 0.1m 0.01m 15 10 5 0 1k 10k 100k 1M FREQUENCY (Hz) –10 100 16806-201 1µ 100 1k 10k FREQUENCY (Hz) Figure 8. Y-Axis Noise Density, Wideband, MTC, AVG_CNT = 0 16806-204 –5 Figure 11. Y-Axis Sine Sweep Response, RTS Mode 25 1m Z-AXIS DUT RESPONSE (db) 0.1m 0.01m 15 10 5 0 1µ 100 1k 10k 100k 1M FREQUENCY (Hz) Figure 9. Z-Axis Noise Density, Wideband, MTC, AVG_CNT = 0 –10 100 1k 10k FREQUENCY (Hz) Figure 12. Z-Axis Sine Sweep Response, RTS Mode Rev. A | Page 9 of 50 16806-205 –5 16806-202 Z-AXIS NOISE DENSITY (g/√Hz) 20 ADcmXL3021 Data Sheet 1m X-AXIS NOISE DENSITY (g/√Hz) 0.01m 1µ 100 1k 10k 100k 1M FREQUENCY (Hz) 0.1m 0.01m 1 Figure 13. X-Axis Noise Density, Wideband, RTS Mode 1m Y-AXIS NOISE DENSITY (g/√Hz) 0.01m 1µ 100 1k 10k 100k 1M FREQUENCY (Hz) 0.1m 0.01m 1 10 100 FREQUENCY (Hz) Figure 14. Y-Axis Noise Density, Wideband, RTS Mode 16806-104 0.1m 16806-101 Figure 17. Y-Axis Noise Density, Low Frequency, RTS Mode 1m Z-AXIS NOISE DENSITY (g/√Hz) 1m 0.1m 1µ 100 1k 10k 100k FREQUENCY (Hz) 1M 16806-102 0.01m 0.1m 0.01m Figure 15. Z-Axis Noise Density, Wideband, RTS Mode 1 10 FREQUENCY (Hz) Figure 18. Z-Axis Noise Density, Low Frequency, RTS Mode Rev. A | Page 10 of 50 100 16806-105 Y-AXIS NOISE DENSITY (g/√Hz) 100 Figure 16. X-Axis Noise Density, Low Frequency, RTS Mode 1m Z-AXIS NOISE DENSITY (g/√Hz) 10 FREQUENCY (Hz) 16806-103 0.1m 16806-100 X-AXIS NOISE DENSITY (g/√Hz) 1m ADcmXL3021 30 25 FREQUENCY (%) µ 15 10 5 CURRENT (mA) Figure 19. Sensitivity Error vs. Ambient Temperature, Normalized at 25°C 16806-111 33.8 33.4 33.0 32.6 32.2 31.8 31.4 31.0 0 30.6 70 80 90 100 30.2 50 60 29.8 10 20 30 40 29.4 0 AMBIENT TEMPERATURE (°C) Figure 22. Operating Mode Current Distribution at 3.3 V Supply 15 40 µ µ+3σ µ – 3σ 10 30 5 FREQUENCY (%) NORMALIZED OFFSET (g) 20 29.0 10 9 8 7 6 5 4 3 2 1 0 –1 –2 –3 –4 –5 –6 –7 –8 –9 –10 –50 –40 –30 –20 –10 16806-107 SENSITIVITY ERROR (% of Full-Scale) Data Sheet 0 –5 20 10 –10 33.8 33.4 33.0 32.6 32.2 31.8 31.4 31.0 30.6 30.2 29.8 CURRENT (mA) Figure 20. Offset vs. Temperature Figure 23. Operating Mode Current Distribution at 3.6 V Supply 25 40 20 FREQUENCY (%) 50 30 20 10 15 10 CURRENT (mA) 0 16806-109 33.8 33.4 33.0 32.6 32.2 31.8 31.4 31.0 30.6 30.2 29.8 29.4 0 0.5 1.0 1.5 2.0 2.5 3.0 CURRENT (mA) Figure 21. Operating Mode Current Distribution at 3.0 V Supply Figure 24. Sleep Mode Current Distribution at 3.0 V Supply Rev. A | Page 11 of 50 16806-110 5 29.0 FREQUENCY (%) 16806-113 AMBIENT TEMPERATURE (°C) 29.4 15 25 35 45 55 65 75 85 29.0 0 5 16806-108 –15 –65 –55 –45 –35 –25 –15 –5 ADcmXL3021 Data Sheet 20 0 –10 –20 –30 MAGNITUDE (dB) FREQUENCY (%) 15 10 –40 –50 –60 –70 5 –80 0.5 1.0 1.5 2.0 2.5 3.0 CURRENT (mA) 16806-112 0 0 10 20 30 40 50 60 70 FREQUENCY (kHz) 80 90 100 110 16806-116 –90 –100 Figure 28. Digital Filter Frequency Response of the 5 kHz Low-Pass Filter Figure 25. Sleep Mode Current Distribution at 3.3 V Supply 0 20 –10 –20 –30 MAGNITUDE (dB) FREQUENCY (%) 15 10 –40 –50 –60 –70 5 –80 1.0 1.5 2.0 2.5 3.0 CURRENT (mA) 16806-114 0.5 0 10 20 30 40 50 60 70 80 90 100 110 FREQUENCY (kHz) 16806-117 –90 –100 Figure 29. Digital Filter Frequency Response of the 10 kHz Low-Pass Filter Figure 26. Sleep Mode Current Distribution at 3.6 V Supply 0 0 –10 –20 –10 MAGNITUDE (dB) MAGNITUDE (dB) –30 –40 –50 –60 –20 –30 –70 –80 –40 0 10 20 30 40 50 60 70 FREQUENCY (kHz) 80 90 100 110 –50 16806-115 –100 Figure 27. Digital Filter Frequency Response of the 1 kHz Low-Pass Filter 0 10 20 30 40 50 60 70 FREQUENCY (kHz) 80 90 100 110 16806-118 –90 Figure 30. Digital Filter Frequency Response of the 1 kHz High-Pass Filter Rev. A | Page 12 of 50 ADcmXL3021 0 0 –10 –10 MAGNITUDE (dB) –20 –30 –40 –30 –40 0 10 20 30 40 50 60 70 FREQUENCY (kHz) 80 90 100 110 –50 16806-119 –50 –20 Figure 31. Digital Filter Frequency Response of the 5 kHz High-Pass Filter 0 10 20 30 40 50 60 70 FREQUENCY (kHz) 80 90 100 110 16806-120 MAGNITUDE (dB) Data Sheet Figure 32. Digital Filter Frequency Response of the 10 kHz High-Pass Filter Rev. A | Page 13 of 50 ADcmXL3021 Data Sheet THEORY OF OPERATION The ADcmXL3021 is a triaxial, vibration monitoring subsystem that includes wide bandwidth, low noise MEMS accelerometers, an analog-to-digital converter (ADC), high performance signal processing, data buffers, record storage, and a user interface that easily interfaces with most embedded processors. See Figure 33 for a basic signal chain. The subsystem is housed in an aluminum module that is mounted using four screws (accepts screw size M2.5) and is designed to be mechanically stable beyond 40 kHz. The combination of this mechanical mounting and oversampling ensures that aliasing artifacts are minimized. USER INTERFACE BUFFER/RECORDS ANCHOR Figure 33. Basic Signal Chain The ADcmXL3021 has a high operating input range of ±50 g and is suitable for vibration measurements in high bandwidth applications, such as vibration analysis systems that monitor and diagnose machine or system health. User configurable internal processing supports both time domain and frequency domain calculations. The low noise and high frequency bandwidth enable the measurement of both repetitive vibration patterns and single shock events caused by small moving parts, such as internal bearings. The high g range provides the dynamic range to be used in high vibration environments, such as heating, ventilation, and air conditioning systems (HVAC), and heavy machine equipment. To achieve best performance, be aware of system noise, mounting, and signal conditioning for the particular application. Proper mounting is required to ensure full mechanical transfer of vibration to accurately measure the desired vibration. A common technique for high frequency mechanical coupling is to use a combination of a threaded screw mount system and adhesive where possible. For lower frequencies (below the full capable bandwidth of the sensor), it is possible to use magnetic or adhesive mounting. Proper mounting techniques ensure accurate and repeatable results that are not influenced by measurement system mechanical resonances and/or damping at the desired frequencies, and represents an efficient and proper mechanical transfer to the system being monitored. CORE SENSORS The ADcmXL3021 uses three ADXL1002 MEMS accelerometers, with sensing axes configured to be mutually orthogonal to each other. Figure 34 is a simple mechanical diagram that shows how MEMS accelerometers translate linear acceleration to representative output signals. MOVABLE FRAME PLATE CAPACITORS FIXED PLATES UNIT SENSING CELL UNIT FORCING CELL MOVING PLATE ANCHOR 16806-010 SIGNAL PROCESSING ACCELERATION ADC Deflection of the structure is measured using differential capacitors that consist of independent fixed plates and plates attached to the moving mass. Acceleration deflects the structure and unbalances the differential capacitor, resulting in a sensor output with an amplitude proportional to acceleration. Phase sensitive demodulation determines the magnitude and polarity of the acceleration. 16806-009 MEMS SENSOR The moving component of the sensor is a polysilicon surfacemicromachined structure built on top of a silicon wafer. Polysilicon springs suspend the structure over the surface of the wafer and provide a resistance against acceleration forces. Figure 34. MEMS Sensor Diagram SIGNAL PROCESSSING The signal chain of the ADcmXL3021 includes wideband accelerometers to monitor three axes, a low-pass analog filter with a 13.5 kHz cutoff frequency, an oversampling ADC (sampling at 220 kSPS per axis), a microcontroller, and discrete components to provide a flexible vibration monitor subsystem that supports multiple processed output modes. There are four modes of operation. One mode of operation is the full rate real-time streaming (RTS) output. The three other modes include system level signal processing: manual FFT mode (MFFT), automatic FFT mode (AFFT), and manual time capture (MTC) mode MTC mode supports 4096 consecutive time domain samples to which averaging, finite impulse response (FIR), and windowing signal processing can be enabled, along with the calculation of statistics, alarm configuring, and monitoring. In MTC mode, the raw time domain data is made available in register buffers for all three axes for the user to access and externally process. In both FFT modes, manual fast Fourier transform (MFFT) and AFFT modes support the process of calculating an FFT of the current time domain record. Finally, a continuous RTS mode bypasses all device digital computations and alarm monitoring, outputting real-time data over the SPI in burst data output format (see Figure 5). Rev. A | Page 14 of 50 Data Sheet ADcmXL3021 The ADcmXL3021 supports four different modes of operation: RTS mode, MTC mode, MFFT mode, and AFFT mode. Users can select the mode of operation by writing the corresponding code to the REC_CTRL register, Bits[1:0] (see Table 55). In three of these modes (MFFT, AFFT, and MTC), the ADcmXL3021 captures, analyzes, and stores vibration data in discrete events, known as capture events, and generates a record. Each capture event concludes with storing the data as configured in REC_CTRL register in the user data buffers, which are accessible through the BUF_PNTR register (see Table 36). The two different FFT modes that produce vibration data in spectral terms are MFFT and AFFT. The difference between these two modes is the manner in which data capture and analysis starts. In MFFT mode, users trigger a capture event by an external digital signal or through a software command using the GLOB_CMD register, Bit 11 (see Table 91). In AFFT mode, an internal timer automatically triggers additional spectral record captures without the need for an external trigger. Up to four different sample rate profiles can be selected for the modes to cycle through. The REC_PRD register (see Table 59) contains the user configuration settings for the time that elapses between each capture event when operating in the AFFT mode. Manual Time Capture (MTC) Mode When operating in MTC mode, the ADcmXL3021 captures 4096 consecutive time domain samples. An offset null signal can be calculated and applied to the data using the command register option. Signal processing functions such as low-pass and high-pass FIR filtering and averaging can be applied. After digital processing is complete, the 4096 time domain sample data (per axis) record of vibration data is stored into the user data buffers, using the signal flow diagram shown in Figure 36. A/D fS = 220kSPS DECIMATION FILTER fS ÷ D FIR FILTER 32 TAPS REGISTER: AVG_CNT NULL REGISTERS: FILT_CTRL FIR_COEFF_xxx checked. The decimation filter reduces the effective rate of stored data capture in the time record by averaging the sequential samples together and filtering out of band signal and noise. This filter has eight decimation rate settings (1, 2, 4, 8, 16, 32, 64, and 128) and can support up to four different settings. These time data records are time continuous captures with decimation filter acting on real time data from the ADC to produce 4096 samples (to produce the 4096 time domain samples requires 2N samples to be processed internally, where N is the average count value, AVG_CNT). When more than one user configured sample record setting is in use, the ADcmXL3021 applies a single filter for each data record and cycles through all desired options, one for each data capture. Time statistic alarms can be configured for three levels of reporting: normal, critical, and warning. A record mode option allows all enabled time domain statistics to be stored, depending on user preference, and is configured by setting the record mode in Register REC_CTRL, Bits[3:2] (Register 0x1A, 0x1B) = 0b10. The output data can be configured to provide the root sum of squares (RSS) of all three axes or convert accelerometer data to equivalent velocity. DECIMATION FILTER TIME RECORD N = 4096 CALCULATE STATUS/ CHECK ALARMS DATA BUFFER Figure 35. Signal Processing Diagram for Manual Time Capture (MTC) Mode USER DATA BUFFER N = 4096 REGISTERS: X_BUF Y_BUF Z_BUF/RSS_BUF REGISTERS: X_ANULL Y_ANNUL Z_ANNUL GLOB_CMD STATISTICAL ANALYSIS/ STATS ALARM CHECK STAT HEADER REGISTERS: X_STATISTIC Y_STATISTIC Z_STATISTIC STAT_PNTR 16806-025 MEMS SENSOR Capturing is triggered by either a SPI write to the GLOB_CMD register or by an external trigger. The ADcmXL3021 toggles the output BUSY when the data record is stored and the alarms are 16806-028 MODES OF OPERATION Figure 36. MTC Signal Flow Diagram Rev. A | Page 15 of 50 ADcmXL3021 Data Sheet MFFT Mode RTS Mode MFFT mode can be used to manually trigger a capture to create a single FFT record with 2048 bins and allows various configuration options. The ADcmXL3021 has configurable high-pass and low-pass filters, decimation filtering, FFT averaging and spectral alarms. The ADcmXL3021 also has options to calculate velocity, apply windowing, and apply offset compensations. MFFT mode is configured by setting the record mode in Register REC_CTRL, Bits[1:0] (Register 0x1A, 0x1B) = 0b00. RTS mode is configured by setting the record mode in Register REC_CTRL, Bits[1:0] (Register 0x1A, 0x1B) = 0b11. Processing steps collect 4096 consecutive time domain samples and filters the data similar to the MTC case. Additional windowing and FFT averaging can be enabled and configured using the 4096 sample burst captures. The ADcmXL3021 provides three different mathematical filtering options to processes the time record data, prior to performing an FFT, the filter options are rectangular, Hanning, or flat. See the REC_CTRL register in Table 55 for more information on selecting the window option. When a capture event is triggered by the user, the event follows the process flow diagram shown in Figure 37. The FIR filter has 32 coefficients and processes at the full internal ADC sample rate of 220 kSPS per axis. Users can select from one of six FIR filter bank options. Three of these filter banks have preset coefficients that provide low-pass responses to support half power bandwidths of 1 kHz, 5 kHz, and 10 kHz, respectively. The other three filter banks have preset coefficients that provide high-pass responses to support half power bandwidths of 1 kHz, 5 kHz, and 10 kHz filter. All six filter banks can be overwritten through user programming and stored to flash memory. FIR DECIMATION FILTER TIME RECORD N = 4096 FFT AND AVERAGING DATA BUFFER 16806-029 After the FIR filter is applied to the time domain data, if enabled, the data is decimated according to the AVG_CNT setting until a full 4096 time sample capture fills the data buffer. This decimation produces a time record that is converted to a spectral record and averaged, depending on the FFT_AVG1 or FFT_ AVG2 setting, as appropriate (see Figure 49 for the FFT capture datapath and appropriate registers). Figure 37. Signal Processing Diagram for FFT Modes AFFT Mode AFFT mode is configured by setting the record mode in Register REC_CTRL, Bits[1:0] (Register 0x1A, 0x1B) = 0b01. AFFT mode supports the same functionality as MFFT mode, except AFFT mode automatically advances and independently controls new capture events. New capture events are triggered periodically and are configured in the register map using REC_PRD. When operating in the RTS mode, the ADcmXL3021 samples each axis at a rate of 220 kSPS and makes this data available through a burst pattern via the SPI. DATA RECORDING OPTIONS The ADcmXL3021 creates data records in FFT and MTC modes and supports three methods of data storage for each data record: immediate only mode, alarm triggered mode, and all mode. In MTC mode, the time domain statistics are stored and are not the time records. When immediate only mode is selected, only the most recent capture data record is retained and accessible. In alarm triggered mode, only data that triggered an alarm is stored. When an alarm event is triggered, the ADcmXL3021 stores the header registers and the FFT data to flash memory. Alarm triggered mode is helpful for continuous operation while minimally impacting the limited endurance of the flash memory. In the case of any alarm event, even on a single axis, all available axes are saved. In all mode, each data record is stored. The data stored includes FFT header information and FFT data for all available axes. Up to 10 FFT records can be stored and retrieved. The ADcmXL3021 samples, processes, and stores vibration data from three axes (x, y, and z) to the FFT or MTC data. In MTC mode, the record for each axis contains 4096 samples. In MFFT mode and AFFT mode, each record contains the 2048 bin FFT result for each accelerometer axis. Table 6 describes the registers that provide access to processed sensor data. Table 6. Output Data Registers Register TEMP_OUT SUPPLY_OUT BUF_PNTR REC_PNTR X_BUF Y_BUF Z_BUF GLOB_CMD TIME_STAMP_L TIME_STAMP_H REC_INFO1 REC_INFO2 To save power for long off time durations, the device can be configured to sleep between auto captures using Bit 7 in the REC_CTRL register. Rev. A | Page 16 of 50 Address 0x02 0x04 0x0A 0x0C 0x0E 0x10 0x12 0x3E 0x4C 0x4E 0x66 0x68 Description Internal temperature measurement Internal power supply measurement Data buffer index pointer FFT record index pointer X-axis accelerometer buffer Y-axis accelerometer buffer Z-axis accelerometer buffer Global command register Timestamp, lower word Timestamp, upper word FFT record header information FFT record header information Data Sheet ADcmXL3021 4. Reading Data from the Data Buffer After completing a spectral record and updating each data buffer, the ADcmXL3021 loads the first data sample from each data buffer to the x_BUF registers (see Table 10, Table 11, and Table 12) and sets the buffer index pointer in the BUF_PNTR register (see Table 7) to 0x0000. The index pointer determines which data samples load to the x_BUF registers. For example, writing 0x009F to the BUF_PNTR register (DIN = 0x8A9F, DIN = 0x8B00) causes the 160th sample in each data buffer location to load to the x_BUF registers. The index pointer automatically increments with each x_BUF read command, which causes the next set of capture data to load to each capture buffer register. This enables an efficient method for reading all 4096 time samples or 2048 FFT points in a record, using sequential read commands, without needing to manipulate the BUF_PNTR register. 5. 6. 7. After the number of FFT averages is reached, all FFT records in memory are averaged and stored. Alarms are checked, flags are set, and the data record is stored as per configuration In either manual or automatic mode, the next sample rate option is set. Finally, the BUSY signal is set. Note that an FFT record is an FFT stored in flash, and an FFT capture is an FFT stored in RAM. Table 8. REC_PNTR (Base Address = 0x0C), Read/Write Bits [12:8] [3:0] DATA IN BUFFERS LOAD INTO USER OUTPUT REGISTERS Description (Default = 0x0000) Time statistic record pointer address FFT record number pointer address FFT RECORD 0 FFT RECORD 1 FFT RECORD m FFT RECORD 9 X X X Y Z Y Z Y Z X Y Z Y Z SPI REGISTERS Y_BUF m = REC_PNTR GLOB_CMD[13] = 1 Z_BUF X 0 BUF_PNTR FFT BUFFER Figure 39. FFT Record Access Z-AXIS Y-AXIS X-AXIS ACCELEROMETER ACCELEROMETER ACCELEROMETER TIME/FFT TIME/FFT TIME/FFT BUFFER BUFFER BUFFER MTC Data Format 4096/2048 TIME/FFT ANALYSIS TEMP_OUT INTERNAL SAMPLING SYSTEM SAMPLES, PROCESSES, AND STORES DATA IN FFT BUFFERS 16806-031 SUPPLY_OUT Figure 38. Data Buffer Structure and Operation Table 7. BUF_PNTR (Base Address = 0x0A), Read/Write Bits [15:12] [11:0] Description (Default = 0x0000) Not used Data bits; range = 0 to 2047 (FFT), 0 to 4095 (time) Accessing FFT Record Data Up to 10 FFT records can be stored in flash memory. The REC_PNTR register (see Table 8) and GLOB_CMD bit (Bit 13, see Figure 39) provide access to the FFT records. The process when FFT averaging is enabled is as follows: 1. 2. 3. 16806-032 X_BUF Initiate a capture. Time domain samples are captured and filtered according to AVG_CNT setting until 4096 time samples fill the buffer. The FFT is calculated from the time samples in the buffer and the record is stored. In MTC mode the X_BUF, Y_BUF, and Z_BUF registers each contain a single time domain sample for the noted axis. When reading X_BUF (as well as Y_BUF and Z_BUF), BUF_PNTR automatically advances from 0 to 4095. The time domain data is 16-bit, twos complement acceleration data by default with a resolution of 1 LSB = 1.907 mg. If velocity data is selected by setting REC_CTRL, Bit 5 = 1, velocity data is stored in the buffer registers instead. Velocity data is calculated by integrating the acceleration data, its resolution and scale factor depend on the sample rate and AVG_CNT value: Velocity 1 LSB = (2AVG_CNT/Sample Rate) × 18.70 mm/s For instance, if the default sample rate is 220 kSPS and AVG_CNT = 5, 1 LSB = 2.72 μm/sec. Table 10, Table 11, and Table 12 list the bit assignments for the X_BUF, Y_BUF, and Z_BUF registers. The acceleration data format depends on the record type setting in the REC_CTRL register. Table 42 shows data formatting examples for the 16-bit, twos complement format used in manual time mode. In MTC mode, time domain statistic can be calculated by enabling Bit 6 in the REC_CTRL register. The statistics value scales are calculated based on setting of accelerometer or velocity, and if RSS is enabled, all statistics are calculated based on the RSS values. The time domain statistics available are mean, standard deviation, peak, peak-to-peak, crest factor, kurtosis, and skewness. Rev. A | Page 17 of 50 ADcmXL3021 Data Sheet This formula is consistent for the y and z buffer values. Table 13 and Table 43 show the data formatting examples for FFT mode conversions from the X_BUF value to acceleration. The scale of all statistics are consistent with the data format selected (for example, 1 LSB = 1.907 mg for acceleration), except the crest factor, kurtosis, and skew, which require fractional numbers. When reading the X_BUF register (as well as Y_BUF and Z_BUF), BUF_PNTR automatically advances from 0 to 2047. The FFT data is unsigned 16-bit data. Table 9. MTC Mode, 50 g Range, Data Format Examples Acceleration (mg) (1.907 mg/LSB) +62486.7 +12498.5 +3.9 +1.9 0 −1.9 −3.8 −12498.5 −62488.6 LSB +32,767 +6554 +2 +1 0 −1 −2 −6554 −32,768 Hex 0x7FFF 0x199A 0x0002 0x0001 0x0000 0xFFFF 0xFFFE 0xE666 0x8000 Binary 0111 1111 1111 1111 0001 1001 1001 1010 0000 0000 0000 0010 0000 0000 0000 0001 0000 0000 0000 0000 1111 1111 1111 1111 1111 1111 1111 1110 1110 0110 0110 0110 1000 0000 0000 0000 If RSS calculation is enabled in MTC mode, the RSS of all three axes is placed in the Z_BUF registers. X and y time domain data is still available in the respective buffers, but the contents of Z_BUF are replaced with the RSS values. If RSS is enabled, the x-axis and y-axis alarms still apply to the respective axes, but the z-axis alarms apply to the RSS values. Table 13. FFT Magnitude Conversion from Register Value, Data Format Examples FFT Buffer Read Value (Bits) 0x0001 0x0002 0x00FF 0x7D00 0x0001 0x0002 0x00FF 0x0005 0x05FF 0x7530 0x00FF 0x7D00 0x7D00 0xAFCE FFT Averages 1 1 1 1 2 2 2 4 4 4 8 8 16 128 Magnitude 0.953823 mg 0.954146 mg 1.039447 mg 48.18528 g 0.476911 mg 0.477073 mg 0.519724 mg 0.238779 mg 0.400762 mg 6.121809 g 0.129931 mg 6.02316 g 3.01158 g 30.65768 g Table 10. X_BUF (Base Address = 0x0E), Read Only Bits [15:0] Description (Default = 0x8000) X-axis acceleration data buffer register. Format = twos complement (time), unsigned integer (FFT). Table 11. Y_BUF (Base Address = 0x10), Read Only Bits [15:0] Description (Default = 0x8000) Y-axis acceleration data buffer register. Format = twos complement (time), unsigned integer (FFT). Table 12. Z_BUF (Base Address = 0x12), Read Only Bits [15:0] Description (Default = 0x8000) Z-acceleration or RSS data buffer register. Format = twos complement (time), unsigned integer (FFT). FFT Data Format (for AFFT and MFFT modes) In both AFFT and MFFT modes, the X_BUF, Y_BUF, and Z_BUF registers contain a calculated FFT bin magnitude. The values contained in buffer locations from 0 to 2047 represent the magnitude of frequency bins of size, depending on the AVG_CNT value as shown in Table 19. The magnitude (x) can be calculated from the value read by using the following equation: X BUF[1]     2 2048 x(1) =   × 0.9535 mg  Number of FFT Averages    RTS Data Format In RTS mode, continuous data is burst out of the SPI interface. Each data frame consists of 32 samples each of x-, y-, and z-axis accelerometer data plus a frame header, temperature reading, status bits, and a 16-bit cyclical redundancy check (CRC) code. To calculate CRC, the CCITT-16 bit algorithm with an initial seed of 0xFFFF is used. Each data sample is 16-bit, twos complement acceleration data by default with a resolution of 1 LSB = 1.907 mg. It is important that the external host device is able to retrieve the burst data in a sufficient time allotment, which is approximately 135 μs per data frame. No internal corrections are applied to this data. Therefore, the data may deviate from the results of other capture modes. Data is unsigned and must be offset (subtract) by 0x8000 to obtain ±g (signed data). When first entering RTS mode capture, the first eight samples are all 0s and the CRC for the first frame is invalid. Anytime a frame is skipped (not read), the subsequent frame CRC is invalid. It is recommended that the first frame be ignored and data for the second frame and all subsequent frames be used. In RTS mode, the default sample rate is 220 kSPS. Users can set the decimation ratio or select from preset sample rates using the RT_CTRL register according to Table 56 and Table 57. Rev. A | Page 18 of 50 Data Sheet ADcmXL3021 I/O LINES ARE COMPATIBLE WITH 3.3V LOGIC LEVEL Table 14 shows several examples of how to translate RTS data values, assuming nominal sensitivity and zero bias error. VDD Table 14. RTS Mode Data Format Examples LSB 65,535 58,967 32,770 32,769 32,768 32,767 32,766 6567 0 Hex. 0xFFFF 0xE657 0x8002 0x8001 0x8000 0x7FFF 0x7FFE 0x19A7 0x0000 8 SYSTEM PROCESSOR SPI MASTER Binary 1111 1111 1111 1111 1110 0110 0101 0111 1000 0000 0000 0010 1000 0000 0000 0001 1000 0000 0000 0000 0111 1111 1111 1111 0111 1111 1111 1110 0001 1001 1010 0111 0000 0000 0000 0000 SS 14 CS SCLK 13 SCLK MOSI 11 DIN MISO 12 DOUT IRQ2 2 ALM1 IRQ1 4 ALM2 3 SYNC/RTS 5 BUSY 7 RST GND GND GND 1 9 10 Figure 40. Electrical Hookup Diagram USER INTERFACE The user interface includes a number of important functions: a data communications port, a trigger input, a busy indicator, and two alarm indicator signals. Data communication between an embedded processor (master) and the ADcmXL3021 takes place through the SPI, which includes the chip select (CS), serial clock (SCLK), data input (DIN), and data output (DOUT) pins (see Table 5). The SYNC/RTS (see Table 5) pin provides user triggering options in manual triggering modes. The alarm pins, ALM1 and ALM2, are configurable to alert the user of an event that exceeds a user defined threshold of a parameter. The SYNC/RTS pin is used in RTS mode to support start and stop control over data capture and analysis operations. The BUSY pin (see Table 5) provides an indication of internal operation when the ADcmXL3021 is executing a command. This signal helps the master processor avoid SPI communication when the ADcmXL3021 cannot support a response and can trigger an external data acquisition after data capture and analysis events are complete. The ADcmXL3021 uses an SPI for communication, which enables simple connection with most embedded processor platforms, as shown in Figure 40. ADcmXL3021 16806-011 Acceleration (g) +62.532 +50 +0.003816 +0.001908 0 −0.001908 −0.003816 −50 −62.534 3.3V The register structure uses a paged addressing scheme that contains seven pages, with each page containing 64 register locations. Each register is 16 bits wide, with each 2-byte word having its own unique address within the memory map of that page. The SPI port has access to one page at a time. Select the page to activate for SPI access by writing the corresponding code to the PAGE_ID register. Read the PAGE_ID register to determine which page is currently active. Table 15 displays the PAGE_ID contents for each page and the basic functions. The PAGE_ID register is located at Address 0x00 on each page. Table 15. User Register Page Assignments Page No. 0 1 2 3 4 5 6 PAGE_ID 0x00 0x01 0x02 0x03 0x04 0X05 0x06 Function Configuration, data acquisition FIR Filter Bank A FIR Filter Bank B FIR Filter Bank C FIR Filter Bank D FIR Filter Bank E FIR Filter Bank F The factory default configuration for the BUSY pin provides a busy indicator signal that transitions high when an event completes and data is available for user access and remains low during processing. Table 16. Generic Master Processor Pin Names and Functions Pin Name SS Function Slave select SCLK MOSI MISO IRQ1, IRQ2 Serial clock Master output, slave input Master input, slave output Interrupt request inputs (optional) The ADcmXL3021 SPI supports full duplex serial communication (simultaneous transmit and receive) and uses the bit sequence shown in Figure 44. Table 17 shows a list of the most common settings that control the operation of SPI-compatible ports in most embedded processor platforms. Rev. A | Page 19 of 50 ADcmXL3021 Data Sheet Embedded processors typically use control registers to configure serial ports for communicating with SPI slave devices, such as the ADcmXL3021. Table 17 lists settings that describe the SPI protocol of the ADcmXL3021. The initialization routine of the master processor typically establishes these settings using firmware commands to write them into the serial control registers. SPI Write Commands User control registers govern many internal operations. The DIN bit sequence in Figure 44 provides a description to write to these registers. Each configuration register contains 16 bits (two bytes). Bits[7:0] contain the low byte, and Bits[15:8] contain the high byte of each register. Each byte has a unique address in the user register map (see Table 20). Updating the contents of a register requires writing both bytes in the following sequence: low byte first, high byte second. There are three parts to coding a SPI command (see Figure 44) that write a new byte of data to a register: the write bit (R/W = 1), the address of the byte [A6:A0], followed by the new data for that register address [D7:D0]. Table 17. Generic Master Processor SPI Settings Description ADcmXL3021operates as a slave. Bit rate setting. Clock polarity/phase (CPOL = 1, CPHA = 1). Bit sequence. Shift register/data length. Little Endian. Figure 42 provides a coding example for writing 0x2345 to the FFT_AVG1 register, the 0x8623 command writes 0x23 to Address 0x06 (lower byte) and the 0x8745 command writes 0x45 to Address 0x07 (upper byte). Table 20 lists user registers with lower byte addresses. Each register consists of two bytes. Each byte has a unique 7-bit address. Figure 41 relates the bits of each register to the upper and lower addresses. 12 11 10 9 8 7 6 UPPER BYTE 5 4 3 2 1 0 SCLK DIN LOWER BYTE 0x8623 0x8745 Figure 42. Single SPI Write Command Figure 41. Generic Register Bit Definitions SPI Read Commands Register Structure A single register read requires two 16-bit SPI cycles that use the bit assignments shown in Figure 44. The beginning sequence sets R/W = 0 and communicates the target address (Bits[A6:A0]). Bits[DC7:DC0] are don’t care bits for a read DIN sequence. DOUT clocks out the requested register contents during the second sequence. The second sequence can also use DIN to set up the next read. All communication with the ADcmXL3021 involves accessing the user registers. The register structure contains both output data and control registers. The output data registers include the latest sensor data, alarm information, error flags, and identification data. The control register contained in Page 0 includes configurable options, such as time domain averaging, FFT averaging, filtering, alarm parameters, diagnostics, and data collection mode settings. Each user accessible register has two bytes (upper and lower), and each byte has a unique address. See Table 20 for a detailed list of all user registers, along with the corresponding addresses. Figure 43 provides an example that includes two register reads in succession. This example starts with DIN = 0x0C00 to request the contents of the REC_PNTR register, and follows with 0x0E00, to request the contents of the X_BUF register. The sequence in Figure 43 also shows the full duplex mode of operation, which means that the ADcmXL3021 can receive requests on DIN while also transmitting data out on DOUT within the same 16-bit SPI cycle. All communication between the ADcmXL3021 and an external processor involves either reading or writing these 16 bit user registers. DIN 0x0C00 DOUT 0x0E00 NEXT ADDRESS REC_PNTR X_BUF Figure 43. SPI Mulitbyte Read Command Example CS SCLK DIN DOUT R/W D15 16806-022 13 A6 A5 A4 A3 A2 A1 A0 DC7 DC6 D14 D13 D12 D11 D10 D9 D8 D7 D6 DC5 DC4 DC3 DC2 DC1 DC0 D5 D4 D3 D2 D1 D0 R/W D15 A6 A5 D14 D13 NOTES 1. DOUT BITS ARE PRODUCED ONLY WHEN THE PREVIOUS 16-BIT DIN SEQUENCE STARTS WITH R/W = 0. 2. WHEN CS IS HIGH, DOUT IS IN A THREE-STATE, HIGH IMPEDANCE MODE, WHICH ALLOWS MULTIFUNCTIONAL USE OF THE LINE FOR OTHER DEVICES. Figure 44. SPI Communication, Multibyte Sequence Rev. A | Page 20 of 50 16806-015 14 16806-012 15 CS 16806-121 Processor Setting Master SCLK Rate ≤ 14 MHz SPI Mode 3 MSB First 16-Bit Mode Readout Formatting Data Sheet ADcmXL3021 Busy Signal The factory default configuration provides the user with a busy signal (BUSY), which pulses low when the output data registers are updating (see signal orientation of busy signal in Figure 45). In this configuration, connect BUSY to an interrupt service pin on the embedded processor, which triggers data collection, when this signal pulses high. BUSY AVAILABLE NOT AVAILABLE 16806-016 SPI COMMAND Figure 45. Busy Signal (BUSY) Orientation after SPI command During the start-up and reset recovery processes, the BUSY signal can exhibit some transient behavior before data production begins. Figure 45 provides an example of the BUSY behavior during command processing. A low signal indicates SPI access is not available with the exception of the escape code that can terminate a capture. Figure 46 shows the BUSY signal during The RTS burst contains 100 16 bits words (a header, including a incrementing counter, 32 x-axis samples, 32 y-axis samples, 32 zaxis samples, temperature, status, and CRC). The external SCLK rate must be between 12.5 MHz to 14 MHz to ensure the complete burst is read out before current data in the register buffer is overwritten. The maximum SCLK for RTS burst outputs is 14 MHz ± 1%. The minimum SCLK required to support the transfer is 12.5 MHz. The RTS burst response uses the sequencing diagrams shown in Figure 4 and Figure 5 and the data format shown in Table 18. When first entering RTS mode capture, the first eight samples are all 0s and the CRC for the first frame is invalid. It is recommended that the first frame be ignored and that the data for the second frame and all subsequent frames be used. Table 18. RTS Data Format Byte Location in Output Dataset 0 power up. TIME THAT VDD > 3V VDD MICROCONTROLLER IS BUSY WHEN BUSY IS LOW START-UP TIME ~200ms 16806-017 BUSY Figure 46. BUSY Response During Startup RTS The RTS function provides a method for reading data (time domain acceleration data for each axis, temperature, status, and CRC code) that does not require a stall time between each 16-bit segment and only requires one command on the DIN line to initiate. System processors can execute this mode by reading each segment of data in the response, while holding the CS line 2 4 6 … 64 66 68 … 128 130 132 134 … 192 194 196 198 in a low state, until after reading the last 16-bit segment of data. If the CS line goes high before the completion of all data acquisition, the data from that read request is lost. Rev. A | Page 21 of 50 2-Byte Value Represents Fixed header: 0xccAD; where cc is an incrementing counter value from 0x00 to 0xFF, which returns to 0x00 after 0xFF X-axis data (0) (oldest data from x-axis) X-axis data (1) X-axis data (2) … X-axis data (31) Y-axis data (0) (oldest data from y-axis) Y-axis data (1) … Y-axis data (31) Z-axis data (0) (oldest data from z-axis) Z-axis data (1) Z-axis data (2) … Z-axis data (31) Temperature Status CRC-16 ADcmXL3021 Data Sheet BASIC OPERATION DEVICE CONFIGURATION TRIGGER Each register contains 16 bits (two bytes). Bits[7:0] contain the low byte and Bits[15:8] contain the high byte. Each byte has a unique address in the user register map (see Table 20). Updating the contents of a register requires writing to the low byte first and the high byte second. There are three parts to coding a SPI command, which writes a new byte of data to a register: the write bit (R/W = 1), the 7-bit address code for the byte that this command is updating, and the 16 bits of new data for that location. All modes, including RTS mode, require a trigger to start. AFFT mode and RTS mode also require a trigger to stop recording. DUAL MEMORY STRUCTURE The ADcmXL3021 uses a dual memory structure (see Figure 47) with static random access memory (SRAM), supporting real-time operation and flash memory storing operational code and user configurable register settings. The manual flash update command (Bit 6 in the GLOB_CMD register) provides a single-command method for storing user configuration settings to flash memory for automatic recall during the next power-on or reset recovery process. During power-on or reset recovery, the ADcmXL3021 performs a CRC on the SRAM and compares this result to a CRC computation from the same memory locations in flash memory. If this memory test fails, the ADcmXL3021 resets and boots up from the other flash memory location. The ADcmXL3021 provides an error flag for detecting when the backup flash memory supported the last power-on or reset recovery. Table 20 shows a memory map for the user registers in the ADcmXL3021, which includes flash backup support (indicated by yes or no in the flash column). NONVOLATILE FLASH MEMORY VOLATILE SRAM (NO SPI ACCESS) SPI ACCESS START-UP RESET 16806-023 MANUAL FLASH BACKUP Figure 47. SRAM and Flash Memory Diagram POWER-UP SEQUENCE The ADcmXL3021 requires only a single 3.3 V supply voltage and supports communication with most 3 V compliant embedded processor platforms using an SPI protocol. Avoid applying voltage to the SYNC/RTS, CS, SCLK, and DIN input pins until the proper supply voltage is applied to the module. The power ramp from 0 V to 3.0 V must be monotonic. The module performs internal initialization, tests flash memory, and performs a sensor self test after powering on. No SPI access is allowed during this time. The module signals a completed initialization by setting the BUSY pin logic high. Start triggers arise either from using the SYNC/RTS digital input pin or by setting Bit 11 in the GLOB_CMD register (see Table 91). If using the SYNC/RTS pin as a trigger, the user must set Bit 12 in the MISC_CTRL register = 1 to enable this feature. While in RTS mode, during a valid capture period, normal SPI access is disabled until a valid stop is received. The user can stop a capture in RTS mode in two ways: via a hardware pin or using software. The hardware pin method uses the RTS pin, which is enabled in Bit 12 of the MISC_CTRL register. The software method requires the user to set Bit 15 in the REC_CTRL register to 1, which enables timeout mode which must be configured prior to initating a capture. In this case, RTS mode stops after 35 ms with no user supplied external readback clocks with CS low. To restart RTS mode, use the normal start trigger options described in this data sheet. To stop a capture in AFFT mode, the user must issue a stop command during a period when BUSY is high (BUSY is low when the device is configured for power saving mode and sleeps between captures) or by write an escape code to the device at any time. All other SPI writes are ignored. When the ADcmXL3021 is in between active collecting periods (as configured in the REC_PRD register), setting Bit 11 in the GLOB_CMD register (see Table 91) to 1 (DIN = 0xBF08) interrupts the operation and the ADcmXL3021 returns to operating in the idle state. The REC_PRD counter starts at the beginning of the capture and must be set to a period greater than the longest capture time if multiple rate options (Sample Rate 0 to Sample Rate 3) are enabled. When operating in MFFT or MTC mode, the ADcmXL3021 operates in an idle state until it receives a command to start collecting data. When the ADcmXL3021 is in this idle state, setting Bit 11 in the GLOB_CMD register (see Table 91) to 1 starts a data collection and processing event. An interruption of data collection and processing causes a loss of all data from the interrupted process. A positive pulse on the SYNC/RTS pin provides the same start function as raising Bit 11 in the GLOB_CMD register when operating in MFFT mode. In cases with many averages, a capture event can last an extended period with access to the SPI port (for example, when a device stays in a busy state). In this case, an escape code is used to terminate the active capture. The escape code is 0x00E8 and is written to the GLOB_CMD register, using the two 16-bit sequence 0xBEE8, followed by 0xBF00 and repeat until BUSY returns to a high logic state. An valid escape is also indicated in Bit 4 of the DIAG_STAT register. After an escape is issued, any Rev. A | Page 22 of 50 Data Sheet ADcmXL3021 data collected during the last capture is no longer valid. To continue capturing data, refer to the normal start trigger options. SAMPLE RATE RTS mode has a fixed sample rate of 220 kSPS. The output is streamed out in a burst data packet over the SPI communications port. After the device is configured for RTS mode, conversion starts and stops are controlled by the SYNC/RTS pin or by stopping SPI activity for a period of time (see Bit 15 of the REC_CTRL register). RTS mode is unique in that, when configured, no additional processing is preformed and samples are output directly from the ADC without null, filter, or digital signal processing and alarms are not checked. A low-pass analog filter with a 13.5 kHz cutoff frequency is always in the datapath and, along with the high ADC sample rate, prevents aliasing. For MTC mode, the sampling rate is always 220 kSPS and captures 4096 samples. The module can be configured to perform internal digital averaging. For the null function (see Figure 36), the user can write offset correction values into the X_ANULL register (see Table 49), the Y_ANULL register (see Table 51), and the Z_ANULL register (see Table 53). The user can also initiate the autonull command via Bit 0 in the GLOB_CMD register (see Table 91), which automatically estimates the offset errors for each axis and writes correction values to the X_ANULL register, Y_ANULL register, and Z_ANULL register. The autonull feature uses settings of SR3 to capture and calculate a correction value and requires time to complete. The AVG_CNT register allows the selection of the number of averages used in each capture for up to four sample rate options. The REC_CTRL register selects which sample rate options are enabled. The number of averages determines the sample rate for each sample rate option by the following equation: Sample Rate = 220 kHz/2AVG_CNT[3:0] Table 19. FFT Bin Sizes, Frequency Limits (Hz) AVG_CNT Setting (Averages) 0 (1) 1 (2) 2 (4) 3 (8) 4 (16) 5 (32) 6 (64) 7 (128) Effective Sample Rate, fS (SPS) 220000 110000 55000 27500 13750 6875 3437.5 1718.75 Effective FFT Bin Size, f_MIN (Hz) 53.71094 26.85547 13.42773 6.713867 3.356934 1.678467 0.839233 0.419617 Effective Maximum FFT Frequency, f_MAX (Hz) 110000 55000 27500 13750 6875 3437.5 1718.75 859.375 In MFFT mode and AFFT mode, each FFT data record starts with a capture of 4096 time domain samples (after decimation, if enabled), as with MTC mode. The data is processed with the null function and FIR filter after the decimation filter, as with MTC mode. An FFT calculation is performed on the data. This data is stored in user accessible buffer, in place of the time domain values, and spectral alarms are checked. An important note is that the execution of the retrieve record with many FFT averages and a low sample rate may take minutes to hours to complete. Because the device turns off SPI interrupts during a recording the user cannot send a stop command. Instead, the device monitors the SPI receive buffer for the escape code, a SPI write of 0x00E8 to the GLOB_CMD register, during the data capture portion of the recording. Therefore, the user can escape from a recording by writing 0x00E8 to the GLOB_CMD register. It is recommended to write only 0x00E8 to the device, provide a small delay, and then monitor the busy indicator or poll the status register. Repeatedly send the 0x00E8 code and check the status register until the status register shows the escape flag and busy indicator/data ready flag. DATAPATH PROCESSING For RTS mode, there is no digital processing of data internal to the ADcmXL3021. Data is buffered internally to 32 sample packets that are burst output over the SPI interface. For MTC mode, AFFT mode, and MFFT mode, the initial capture and processing procedure is the same, and is as follows: 1. 2. 3. 4. Capture 4096 consecutive time domain samples at 220 kSPS. If AVG_CNT is enabled, apply the appropriate decimation filter. Continue to collect data until 4096 time sample buffer is filled. Null data, if enabled. Apply the FIR filter, if enabled. If MTC mode is enabled, the remaining steps are required: Calculate the statistic values enabled. Check the statistics against alarm settings. Write the statistic values to the data buffer. If the RSS option is selected, the RSS of the axes is calculated on a time sample basis and replace the z-axis buffer values. 9. Calculate time domain statistics. 10. Check time domain alarms and set the alarm bit if appropriate. 11. Record statistic data according to the storage option selected. 12. Perform signal completion by setting the BUSY pin. 5. 6. 7. 8. If AFFT or MFFT mode is enabled, the remaining steps occur after the initial capture and processing: 5. 6. 7. 8. Rev. A | Page 23 of 50 Calculate the FFT based on the AVG_CNT setting. Record data according to the storage option selected. Check frequency domain alarms, set the alarm bit if appropriate. Signal completion by setting the BUSY pin. ADcmXL3021 Data Sheet MEMS SENSOR DECIMATION FILTER fS ÷ D ADC fS = 220kSPS USER DATA BUFFER 1 N = 4096 FIR FILTER 32 TAPS REGISTERS: FILT_CTRL FIR_COEFF_xxx REGISTER: AVG_CNT NULL STATISTICAL ANALYSIS/ ALARM CHECK REGISTERS: X_BUFF Y_BUFF Z_BUFF REGISTERS: X_STAT Y_STAT Z_STAT STAT_PNTR 16806-027 REGISTERS: X_ANULL Y_ANNUL Z_ANNUL GLOB_CMD 1 OPTIONAL STAT HEADER RSS OR VELOCITY CALCULATIONS APPLIED PRIOR TO USER BUFFER. Figure 48. MTC Mode Datapath Processing ADC fS = 220kSPS DECIMATION FILTER fS ÷ D FIR FILTER 32 TAPS TIME RECORD CAPTURE N = 4096 REGISTERS: FILT_CTRL FIR_COEFF_xxx REGISTERS: AVG_CNT NULL WINDOW FUNCTION REGISTER: REC_CTRL REGISTERS: X_ANULL Y_ANNUL Z_ANNUL GLOB_CMD FAST FOURIER TRANSFORM REGISTERS: FFT_AVG1 FFT_AVG2 REC_INFO1 REC_INFO2 USER DATA BUFFERS REGISTERS: X_BUFF Y_BUFF Z_BUFF SPECTRAL ALARMS REGISTERS: ALM_CTRL ALM_PNTR ALM_F_LOW ALM_F_HIGH ALM_X_MAG1 ALM_Y_MAG1 ALM_Z_MAG1 ALM_X_MAG2 ALM_Y_MAG2 ALM_Z_MAG2 ALM_S_MAG FUND_FREQ ALM_X_STAT ALM_Y_STAT ALM_Z_STAT ALM_X_PEAK ALM_Y_PEAK ALM_Z_PEAK ALM_X_FREQ ALM_Y_FREQ ALM_Z_FREQ 16806-026 MEMS SENSOR Figure 49. AFFT Mode and MFFT Mode Datapath Processing After null corrections are applied, the data of each inertial sensor passes through an FIR filter (using the FILT_CTRL register), decimation filter (using the AVG_CNT register), and windowing filter (using the REC_CTRL register), all of which have user configurable attributes. The FIR filter includes six banks of coefficients with 32 taps each. The FILT_CTRL register (see Table 83) provides the configuration options for the use of the FIR filters of each inertial sensor. Each FIR filter bank includes a preconfigured filter, but the user can design filters and write over these values using the register of each coefficient. Default filter configuration options are either low-pass or high-pass filters with cutoff frequencies of either 1 kHz, 5 kHz, or 10 kHz. Page 1 through Page 6 define the six sets of FIR filter coefficients. Each page is dedicated to a single filter. For example, Page 1 in the register map provides the details for the 1 kHz low-pass FIR filter. These filters represent typical cutoff frequencies for machine vibration monitoring applications. FIR Filter Six FIR filters are preprogrammed by default in memory and available for use. The coefficients for these filters are stored in Page 1 to Page 6 and provide selectable filter options for the 1 kHz, 5 kHz, or 10 kHz low-pass filter, and the 1 kHz, 5 kHz, or 10 kHz high-pass filter. Users can write and store custom filter setting by overwriting existing filter coefficients and saving these values to flash memory. Decimation bandwidth while also reducing random noise impact on the signal to noise ratio. Decimation is set using the AVG_CNT register and enabled in REC_CTRL register. The decimation filter can be used when the module is configured for MTC, MFFT, or AFFT operation, but is not available in RTS mode. Table 87 shows selectable sample rates and resulting FFT bin width options. MTC mode, AFFT mode, and MFFT mode can be configured to cycle automatically through up to four different AVG_CNT settings (enabled in the REC_CTRL register): SR0, SR1, SR2, and SR3. When more than one sample rate option is enabled (REC_CTRL register, Bit 8 through Bit 11, see Table 55), the device cycles through each one. Windowing There are three windowing options that can be applied to the time domain recording before the FFT is computed. The typical window for vibration monitoring is the Hanning window. This window is provided as a default. A Hanning window is optimal because it offers good amplitude resolution of the peaks between frequency bins and minimal broadening of the peak. The rectangular and flat top windows are also available because they are common windowing options for vibration monitoring. The rectangular window is a window of magnitude 1 providing a flat time domain response. The flat top window is advantageous because it can provide very accurate amplitudes with the disadvantage of significant broadening of the peaks. This window is useful when the magnitude accuracy of the peak is important. Averaging options are available within the ADcmXL3021 and reduce the amount of data required to be transferred for a given Rev. A | Page 24 of 50 Data Sheet ADcmXL3021 The ALM_PNTR register cycles through up to six alarm band configurations per capture. A lower frequency register (ALM_F_LOW) and an upper frequency register (ALM_F_HIGH) are set to define a bandwidth of interest. ALM_X_MAG1 and ALM_X_MAG2 define two levels of magnitude within the band set for the x-axis on which to base two triggers. These levels allow two warning levels for a trigger. Setting ALM_CTRL allows the setting of enabling and disabling individual axes, two warning levels, the number of events required to trigger alarm, and the clearing options for the trigger alerts. The alarm status is reported in the ALM_X_STAT register, the ALM_Y_STAT register, and the ALM_Z_STAT register. These registers show which alarm and axis caused the last alarm event. If the alarm is serviced immediately, REC_INFO contains the last capture settings for additional information about the event. Based on the record mode (REC_CTRL, Bits[2:3]) setting, up to 10 FFT capture records can be stored in memory. When an alarm is triggered, the values in registers ALM_X_PEAK, ALM_Y_PEAK, and ALM_Z_PEAK represent the peak value. Only the values that triggered the alarm are stored when the measured value for the given conditions exceed the ALM_X_MAG1, ALM_Y_MAG1, ALM_Z_MAG1, ALM_X_MAG2, ALM_Y_MAG2, and ALM_Z_MAG2 threshold settings. The magnitude is in the resolution as configured by the FFT_AVG setting for the specific capture. The alarm frequency bin of the peak deviation point is reported in ALM_X_FREQ, ALM_Y_FREQ, and ALM_Z_FREQ. These results are in units of resolution (Hz), configured through the AVG_CNT setting for the specific capture. ALM_F_LOW ALM_x_MAG2 ALM_F_HIGH ALM_x_MAG1 1 2 3 4 5 6 FREQUENCY 16806-024 When using MFFT mode or AFFT mode, six flexible alarms can be configured with settings for individual axes. There are 144 possible alarm configurations considering there are six alarm bands (× 3 axes × 4 sample rate options × 2 magnitude alarm levels). ALM_X_MAG1, ALM_X_MAG2, ALM_X_STAT, ALM_X_PEAK, and ALM_X_FREQ apply to the x-axis settings, and similar registers are available for the y-axis (ALM_Y_MAG1, ALM_Y_MAG2, ALM_Y_STAT, ALM_Y_PEAK, and ALM_Y_FREQ) and the z-axis (ALM_Z_MAG1, ALM_Z_MAG2, ALM_Z_STAT, ALM_Z_PEAK, and ALM_Z_FREQ). MAGNITUDE SPECTRAL ALARMS Figure 50. Spectral Alarm Band Registers MECHANICAL MOUNTING RECOMMENDATIONS Mechanical mounting is critical to ensure the best transfer of vibration and avoiding resonances that may affect performance. The ADcmXL3021 module has four mounting holes integrated in the aluminum housing. The mounting holes accept M2.5 screws to hold the module in place. Stainless steel screws torqued to about 25 inch-pounds are used for many of the characterization curves shown in the data sheet. In some cases, when permanent mounting is an option, industrial epoxies or adhesives, such as cyanoacrylate adhesive, in addition to the mounting screws can be used to enhance mechanical coupling. Rev. A | Page 25 of 50 ADcmXL3021 Data Sheet USER REGISTER MEMORY MAP Table 20. User Register Memory Map1 Register Name PAGE_ID2 TEMP_OUT SUPPLY_OUT FFT_AVG1 FFT_AVG2 BUF_PNTR REC_PNTR X_BUF Y_BUF Z_BUF/RSS_BUF X_ANULL Y_ANULL Z_ANULL REC_CTRL RT_CTRL REC_PRD ALM_F_LOW ALM_F_HIGH ALM_X_MAG1 ALM_Y_MAG1 ALM_Z_MAG1/ ALM_RSS1 ALM_X_MAG2 ALM_Y_MAG2 ALM_Z_MAG2/ ALM_RSS2 ALM_PNTR ALM_S_MAG ALM_CTRL Reserved FILT_CTRL AVG_CNT DIAG_STAT GLOB_CMD ALM_X_STAT ALM_Y_STAT ALM_Z_STAT/ ALM_RSS_STAT ALM_X_PEAK ALM_Y_PEAK ALM_Z_PEAK/ ALM_RSS_PEAK TIME_STAMP_L TIME_STAMP_H Reserved DAY_REV YEAR_MON R/W R/W R R R/W R/W R/W R/W R R R R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Flash Backup No No No Yes Yes No No No No No Yes Yes Yes Yes Yes Yes Yes4 Yes4 Yes4 Yes4 Yes4 PAGE_ID 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 Address 0x00, 0x01 0x02, 0x03 0x04, 0x05 0x06, 0x07 0x08, 0x09 0x0A, 0x0B 0x0C, 0x0D 0x0E, 0x0F 0x10, 0x11 0x12, 0x13 0x14, 0x15 0x16, 0x17 0x18, 0x19 0x1A, 0x1B 0x1C, 0x1D 0x1E, 0x1F 0x20, 0x21 0x22, 0x23 0x24, 0x25 0x26, 0x27 0x28, 0x29 Default 0x0000 0x80003 0x80003 0x0108 0x0101 0x0000 0x0000 0x8000 0x8000 0x8000 0x0000 0x0000 0x0000 0x1102 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 R/W R/W R/W Yes4 Yes4 Yes4 0x00 0x00 0x00 0x2A, 0x2B 0x2C, 0x2D 0x2E, 0x2F 0x0000 0x0000 0x0000 R/W R/W R/W N/A R/W R/W R W R R R No No Yes N/A Yes Yes No No Yes5 Yes5 Yes5 0x00 0x00 0x00 N/A 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x30, 0x31 0x32, 0x33 0x34, 0x35 0x36, 0x37 0x38, 0x39 0x3A, 0x3B 0x3C, 0x3D 0x3E, 0x3F 0x40, 0x41 0x42, 0x43 0x44, 0x45 0x0000 0x0000 0x0080 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 Register Description Page identifier Internal temperature Power supply voltage (VDD) FFT average settings (SR0, SR1) FFT average settings (SR2, SR3) Buffer address pointer Data record pointer Buffer data, x-axis Buffer data, y-axis Buffer data, z-axis or root sum square (RSS) Bias correction value (from auto null), x-axis Bias correction value (from auto null), y-axis Bias correction value (from auto null), z-axis Record control register (mode of operation) Real-time streaming control register Record period setting Spectral alarm band, low frequency setting Spectral alarm band, high frequency setting Spectral alarm band, Alarm Magnitude 1, x-axis Spectral alarm band, Alarm Magnitude 1, y-axis Spectral alarm band, Alarm Magnitude 1, z-axis or RSS Magnitude 1 Spectral alarm band, Alarm Magnitude 2, x-axis Spectral alarm band, Alarm Magnitude 2, y-axis Spectral alarm band, Alarm Magnitude 2, z-axis or RSS Magnitude 2 Spectral alarm pointer System alarm threshold setting Alarm control settings Not used Filter control settings Sample rate settings (SR0, SR1, SR2, SR3) Diagnostic/status flags Global command triggers Alarm status register, x-axis Alarm status register, y-axis Alarm status register, z-axis or RSS instead, if enabled R R R Yes5 Yes5 Yes5 0x00 0x00 0x00 0x46, 0x47 0x48, 0x49 0x4A, 0x4B 0x0000 0x0000 0x0000 Alarm peak value, x-axis Alarm peak value, y-axis Alarm peak value, z-axis or RSS instead, if enabled R R N/A R R N/A N/A N/A N/A N/A 0x00 0x00 0x00 0x00 0x00 0x4C, 0x4D 0x4E, 0x4F 0x50, 0x51 0x52, 0x53 0x54, 0x55 0x0000 0x0000 N/A N/A N/A Time stamp, lower word Time stamp, upper word Reserved Firmware revision and firmware day code Firmware date (month, year) Rev. A | Page 26 of 50 Data Sheet ADcmXL3021 Register Name PROD_ID R/W R Flash Backup N/A PAGE_ID 0x00 Address 0x56, 0x57 Default 0x0BCD SERIAL_NUM USER_SCRATCH REC_FLASH_CNT Reserved MISC_CTRL REC_INFO1 REC_INFO2 REC_CNTR ALM_X_FREQ ALM_Y_FREQ ALM_Z_FREQ STAT_PNTR X_STAT Y_STAT Z_STAT FUND_FREQ FLASH_CNT_L FLASH_CNT_U PAGE_ID FIR_COEF_A00 FIR_COEF_A01 FIR_COEF_A02 FIR_COEF_A03 FIR_COEF_A04 FIR_COEF_A05 FIR_COEF_A06 FIR_COEF_A07 FIR_COEF_A08 FIR_COEF_A09 FIR_COEF_A10 FIR_COEF_A11 FIR_COEF_A12 FIR_COEF_A13 FIR_COEF_A14 FIR_COEF_A15 FIR_COEF_A16 FIR_COEF_A17 FIR_COEF_A18 FIR_COEF_A19 FIR_COEF_A20 FIR_COEF_A21 FIR_COEF_A22 FIR_COEF_A23 FIR_COEF_A24 FIR_COEF_A25 FIR_COEF_A26 FIR_COEF_A27 FIR_COEF_A28 R R/W R N/A R/W R R R R R R R/W R R R R/W R R 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 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 N/A Yes N/A N/A No Yes5 Yes5 Yes Yes5 Yes5 Yes5 N/A Yes5 Yes5 Yes5 Yes N/A N/A No Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x58, 0x59 0x5A, 0x5B 0x5C, 0x5D 0x5E to 0x63 0x64, 0x65 0x66, 0x67 0x68, 0x69 0x6A, 0x6B 0x6C, 0x6D 0x6E, 0x6F 0x70, 0x71 0x72, 0x73 0x74, 0x75 0x76, 0x77 0x78, 0x79 0x7A, 0x7B 0x7C, 0x7D 0x7E, 0X7F 0x00, 0x01 0x02, 0x03 0x04, 0x05 0x06, 0x07 0x08, 0x09 0x0A, 0x0B 0x0C, 0x0D 0x0E, 0x0F 0x10, 0x11 0x12, 0x13 0x14, 0x15 0x16, 0x17 0x18, 0x19 0x1A, 0x1B 0x1C, 0x1D 0x1E, 0x1F 0x20, 0x21 0x22, 0x23 0x24, 0x25 0x26, 0x27 0x28, 0x29 0x2A, 0x2B 0x2C, 0x2D 0x2E, 0x2F 0x30, 0x31 0x32, 0x33 0x34, 0x35 0x36, 0x37 0x38, 0x39 0x3A, 0x3B N/A N/A N/A N/A N/A 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 N/A 0x0000 0x0001 0x0006 0x0015 0x0035 0x006B 0x00C1 0x013C 0x01E0 0x02AE 0x03A2 0x04B3 0x05D2 0x06EE 0x07F2 0x08CB 0x0967 0x09B9 0x09B9 0x0967 0x08CB 0x07F2 0x06EE 0x05D2 0x04B3 0x03A2 0x02AE 0x01E0 0x013C 0x00C1 0x006B Rev. A | Page 27 of 50 Register Description Product identification for ADcmXL3021 models, equals decimal 3021 Serial number, lot-specific , unique per device Scratch register for user ID option Write counter for data record portion of flash memory Reserved Miscellaneous control Record Information 1 Record Information 2 Record counter Frequency bin of most severe alarm, x-axis Frequency bin of most severe alarm, y-axis Frequency bin of most severe alarm, z-axis Pointer for time domain statistics Selected statistical value, x-axis Selected statistical value, y-axis Selected statistical value, z-axis Fundamental frequency setting Flash access counter, lower 16 bits Flash access counter, upper 16 bits Page identifier FIR Filter Bank A, Coefficient 0 FIR Filter Bank A, Coefficient 1 FIR Filter Bank A, Coefficient 2 FIR Filter Bank A, Coefficient 3 FIR Filter Bank A, Coefficient 4 FIR Filter Bank A, Coefficient 5 FIR Filter Bank A, Coefficient 6 FIR Filter Bank A, Coefficient 7 FIR Filter Bank A, Coefficient 8 FIR Filter Bank A, Coefficient 9 FIR Filter Bank A, Coefficient 10 FIR Filter Bank A, Coefficient 11 FIR Filter Bank A, Coefficient 12 FIR Filter Bank A, Coefficient 13 FIR Filter Bank A, Coefficient 14 FIR Filter Bank A, Coefficient 15 FIR Filter Bank A, Coefficient 16 FIR Filter Bank A, Coefficient 17 FIR Filter Bank A, Coefficient 18 FIR Filter Bank A, Coefficient 19 FIR Filter Bank A, Coefficient 20 FIR Filter Bank A, Coefficient 21 FIR Filter Bank A, Coefficient 22 FIR Filter Bank A, Coefficient 23 FIR Filter Bank A, Coefficient 24 FIR Filter Bank A, Coefficient 25 FIR Filter Bank A, Coefficient 26 FIR Filter Bank A, Coefficient 27 FIR Filter Bank A, Coefficient 28 ADcmXL3021 Register Name FIR_COEF_A29 FIR_COEF_A30 FIR_COEF_A31 Reserved PAGE_ID FIR_COEF_B00 FIR_COEF_B01 FIR_COEF_B02 FIR_COEF_B03 FIR_COEF_B04 FIR_COEF_B05 FIR_COEF_B06 FIR_COEF_B07 FIR_COEF_B08 FIR_COEF_B09 FIR_COEF_B10 FIR_COEF_B11 FIR_COEF_B12 FIR_COEF_B13 FIR_COEF_B14 FIR_COEF_B15 FIR_COEF_B16 FIR_COEF_B17 FIR_COEF_B18 FIR_COEF_B19 FIR_COEF_B20 FIR_COEF_B21 FIR_COEF_B22 FIR_COEF_B23 FIR_COEF_B24 FIR_COEF_B25 FIR_COEF_B26 FIR_COEF_B27 FIR_COEF_B28 FIR_COEF_B29 FIR_COEF_B30 FIR_COEF_B31 Reserved PAGE_ID FIR_COEF_C00 FIR_COEF_C01 FIR_COEF_C02 FIR_COEF_C03 FIR_COEF_C04 FIR_COEF_C05 FIR_COEF_C06 FIR_COEF_C07 FIR_COEF_C08 FIR_COEF_C09 FIR_COEF_C10 R/W R/W R/W R/W 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 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 R/W 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 Data Sheet Flash Backup Yes Yes Yes N/A No Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes N/A No Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes PAGE_ID 0x01 0x01 0x01 0x01 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x02 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 Address 0x3C, 0x3D 0x3E, 0x3F 0x40, 0x41 0x42 to 0x7F 0x00, 0x01 0x02, 0x03 0x04, 0x05 0x06, 0x07 0x08, 0x09 0x0A, 0x0B 0x0C, 0x0D 0x0E, 0x0F 0x10, 0x11 0x12, 0x13 0x14, 0x15 0x16, 0x17 0x18, 0x19 0x1A, 0x1B 0x1C, 0x1D 0x1E, 0x1F 0x20, 0x21 0x22, 0x23 0x24, 0x25 0x26, 0x27 0x28, 0x29 0x2A, 0x2B 0x2C, 0x2D 0x2E, 0x2F 0x30, 0x31 0x32, 0x33 0x34, 0x35 0x36, 0x37 0x38, 0x39 0x3A, 0x3B 0x3C, 0x3D 0x3E, 0x3F 0x40, 0x41 0x42 to 0x7F 0x00, 0x01 0x02, 0x03 0x04, 0x05 0x06, 0x07 0x08, 0x09 0x0A, 0x0B 0x0C, 0x0D 0x0E, 0x0F 0x10, 0x11 0x12, 0x13 0x14, 0x15 0x16, 0x17 Default 0x0035 0x0015 0x0006 N/A 0x0002 0x0004 0x0001 0xFFEC 0xFFB9 0xFF62 0xFEF1 0xFE8C 0xFE76 0xFEFE 0x006B 0x02E1 0x0645 0x0A34 0x0E13 0x1130 0x12EC 0x12EC 0x1130 0x0E13 0x0A34 0x0645 0x02E1 0x006B 0XFEFE 0xFE76 0XFE8C 0xFEF1 0xFF62 0xFFB9 0xFFEC 0x0001 0x0004 N/A 0x0003 0x0025 0x005A 0x008F 0x009A 0x004D 0xFF8D 0xFE74 0xFD5D 0xFCDD 0xFD97 0x0003 Rev. A | Page 28 of 50 Register Description FIR Filter Bank A, Coefficient 29 FIR Filter Bank A, Coefficient 30 FIR Filter Bank A, Coefficient 31 Reserved Page identifier FIR Filter Bank B, Coefficient 0 FIR Filter Bank B, Coefficient 1 FIR Filter Bank B, Coefficient 2 FIR Filter Bank B, Coefficient 3 FIR Filter Bank B, Coefficient 4 FIR Filter Bank B, Coefficient 5 FIR Filter Bank B, Coefficient 6 FIR Filter Bank B, Coefficient 7 FIR Filter Bank B, Coefficient 8 FIR Filter Bank B, Coefficient 9 FIR Filter Bank B, Coefficient 10 FIR Filter Bank B, Coefficient 11 FIR Filter Bank B, Coefficient 12 FIR Filter Bank B, Coefficient 13 FIR Filter Bank B, Coefficient 14 FIR Filter Bank B, Coefficient 15 FIR Filter Bank B, Coefficient 16 FIR Filter Bank B, Coefficient 17 FIR Filter Bank B, Coefficient 18 FIR Filter Bank B, Coefficient 19 FIR Filter Bank B, Coefficient 20 FIR Filter Bank B, Coefficient 21 FIR Filter Bank B, Coefficient 22 FIR Filter Bank B, Coefficient 23 FIR Filter Bank B, Coefficient 24 FIR Filter Bank B, Coefficient 25 FIR Filter Bank B, Coefficient 26 FIR Filter Bank B, Coefficient 27 FIR Filter Bank B, Coefficient 28 FIR Filter Bank B, Coefficient 29 FIR Filter Bank B, Coefficient 30 FIR Filter Bank B, Coefficient 31 Reserved Page identifier FIR Filter Bank C, Coefficient 0 FIR Filter Bank C, Coefficient 1 FIR Filter Bank C, Coefficient 2 FIR Filter Bank C, Coefficient 3 FIR Filter Bank C, Coefficient 4 FIR Filter Bank C, Coefficient 5 FIR Filter Bank C, Coefficient 6 FIR Filter Bank C, Coefficient 7 FIR Filter Bank C, Coefficient 8 FIR Filter Bank C, Coefficient 9 FIR Filter Bank C, Coefficient 10 Data Sheet Register Name FIR_COEF_C11 FIR_COEF_C12 FIR_COEF_C13 FIR_COEF_C14 FIR_COEF_C15 FIR_COEF_C16 FIR_COEF_C17 FIR_COEF_C18 FIR_COEF_C19 FIR_COEF_C20 FIR_COEF_C21 FIR_COEF_C22 FIR_COEF_C23 FIR_COEF_C24 FIR_COEF_C25 FIR_COEF_C26 FIR_COEF_C27 FIR_COEF_C28 FIR_COEF_C29 FIR_COEF_C30 FIR_COEF_C31 Reserved PAGE_ID FIR_COEF_D00 FIR_COEF_D01 FIR_COEF_D02 FIR_COEF_D03 FIR_COEF_D04 FIR_COEF_D05 FIR_COEF_D06 FIR_COEF_D07 FIR_COEF_D08 FIR_COEF_D09 FIR_COEF_D10 FIR_COEF_D11 FIR_COEF_D12 FIR_COEF_D13 FIR_COEF_D14 FIR_COEF_D15 FIR_COEF_D16 FIR_COEF_D17 FIR_COEF_D18 FIR_COEF_D19 FIR_COEF_D20 FIR_COEF_D21 FIR_COEF_D22 FIR_COEF_D23 FIR_COEF_D24 FIR_COEF_D25 FIR_COEF_D26 ADcmXL3021 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 R/W R/W R/W R/W R/W R/W 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 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Flash Backup Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes N/A No Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes PAGE_ID 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x04 Address 0x18, 0x19 0x1A, 0x1B 0x1C, 0x1D 0x1E, 0x1F 0x20, 0x21 0x22, 0x23 0x24, 0x25 0x26, 0x27 0x28, 0x29 0x2A, 0x2B 0x2C, 0x2D 0x2E, 0x2F 0x30, 0x31 0x32, 0x33 0x34, 0x35 0x36, 0x37 0x38, 0x39 0x3A, 0x3B 0x3C, 0x3D 0x3E, 0x3F 0x40, 0x41 0x42 to 0x7F 0x00, 0x01 0x02, 0x03 0x04, 0x05 0x06, 0x07 0x08, 0x09 0x0A, 0x0B 0x0C, 0x0D 0x0E, 0x0F 0x10, 0x11 0x12, 0x13 0x14, 0x15 0x16, 0x17 0x18, 0x19 0x1A, 0x1B 0x1C, 0x1D 0x1E, 0x1F 0x20, 0x21 0x22, 0x23 0x24, 0x25 0x26, 0x27 0x28, 0x29 0x2A, 0x2B 0x2C, 0x2D 0x2E, 0x2F 0x30, 0x31 0x32, 0x33 0x34, 0x35 0x36, 0x37 Default 0x0430 0x09A2 0x0F5F 0x142C 0x16E8 0x16E8 0x142C 0x0F5F 0x09A2 0x0430 0x0003 0xFD97 0xFCDD 0xFD5D 0xFE74 0xFF8D 0x004D 0x009A 0x008F 0x005A 0x0025 N/A 0x0004 0xFD94 0xFD62 0xFD2A 0xFCE8 0xFC9C 0xFC43 0xFBD7 0xFB52 0xFAAB 0xF9D2 0xF8AB 0xF702 0xF468 0xEFBC 0xE4DC 0xAE85 0x517B 0x1B24 0x1044 0x0B98 0x08FE 0x0755 0x062E 0x0555 0x04AE 0x0429 0x03BD Rev. A | Page 29 of 50 Register Description FIR Filter Bank C, Coefficient 11 FIR Filter Bank C, Coefficient 12 FIR Filter Bank C, Coefficient 13 FIR Filter Bank C, Coefficient 14 FIR Filter Bank C, Coefficient 15 FIR Filter Bank C, Coefficient 16 FIR Filter Bank C, Coefficient 17 FIR Filter Bank C, Coefficient 18 FIR Filter Bank C, Coefficient 19 FIR Filter Bank C, Coefficient 20 FIR Filter Bank C, Coefficient 21 FIR Filter Bank C, Coefficient 22 FIR Filter Bank C, Coefficient 23 FIR Filter Bank C, Coefficient 24 FIR Filter Bank C, Coefficient 25 FIR Filter Bank C, Coefficient 26 FIR Filter Bank C, Coefficient 27 FIR Filter Bank C, Coefficient 28 FIR Filter Bank C, Coefficient 29 FIR Filter Bank C, Coefficient 30 FIR Filter Bank C, Coefficient 31 Reserved Page identifier FIR Filter Bank D, Coefficient 0 FIR Filter Bank D, Coefficient 1 FIR Filter Bank D, Coefficient 2 FIR Filter Bank D, Coefficient 3 FIR Filter Bank D, Coefficient 4 FIR Filter Bank D, Coefficient 5 FIR Filter Bank D, Coefficient 6 FIR Filter Bank D, Coefficient 7 FIR Filter Bank D, Coefficient 8 FIR Filter Bank D, Coefficient 9 FIR Filter Bank D, Coefficient 10 FIR Filter Bank D, Coefficient 11 FIR Filter Bank D, Coefficient 12 FIR Filter Bank D, Coefficient 13 FIR Filter Bank D, Coefficient 14 FIR Filter Bank D, Coefficient 15 FIR Filter Bank D, Coefficient 16 FIR Filter Bank D, Coefficient 17 FIR Filter Bank D, Coefficient 18 FIR Filter Bank D, Coefficient 19 FIR Filter Bank D, Coefficient 20 FIR Filter Bank D, Coefficient 21 FIR Filter Bank D, Coefficient 22 FIR Filter Bank D, Coefficient 23 FIR Filter Bank D, Coefficient 24 FIR Filter Bank D, Coefficient 25 FIR Filter Bank D, Coefficient 26 ADcmXL3021 Register Name FIR_COEF_D27 FIR_COEF_D28 FIR_COEF_D29 FIR_COEF_D30 FIR_COEF_D31 Reserved PAGE_ID FIR_COEF_E00 FIR_COEF_E01 FIR_COEF_E02 FIR_COEF_E03 FIR_COEF_E04 FIR_COEF_E05 FIR_COEF_E06 FIR_COEF_E07 FIR_COEF_E08 FIR_COEF_E09 FIR_COEF_E10 FIR_COEF_E11 FIR_COEF_E12 FIR_COEF_E13 FIR_COEF_E14 FIR_COEF_E15 FIR_COEF_E16 FIR_COEF_E17 FIR_COEF_E18 FIR_COEF_E19 FIR_COEF_E20 FIR_COEF_E21 FIR_COEF_E22 FIR_COEF_E23 FIR_COEF_E24 FIR_COEF_E25 FIR_COEF_E26 FIR_COEF_E27 FIR_COEF_E28 FIR_COEF_E29 FIR_COEF_E30 FIR_COEF_E31 Reserved PAGE_ID FIR_COEF_F00 FIR_COEF_F01 FIR_COEF_F02 FIR_COEF_F03 FIR_COEF_F04 FIR_COEF_F05 FIR_COEF_F06 FIR_COEF_F07 FIR_COEF_F08 R/W R/W R/W R/W R/W R/W 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 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 R/W N/A R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Data Sheet Flash Backup Yes Yes Yes Yes Yes N/A No Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes N/A No Yes Yes Yes Yes Yes Yes Yes Yes Yes PAGE_ID 0x04 0x04 0x04 0x04 0x04 0x04 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 Address 0x38, 0x39 0x3A, 0x3B 0x3C, 0x3D 0x3E, 0x3F 0x40, 0x41 0x42 to 0x7F 0x00, 0x01 0x02, 0x03 0x04, 0x05 0x06, 0x07 0x08, 0x09 0x0A, 0x0B 0x0C, 0x0D 0x0E, 0x0F 0x10, 0x11 0x12, 0x13 0x14, 0x15 0x16, 0x17 0x18, 0x19 0x1A, 0x1B 0x1C, 0x1D 0x1E, 0x1F 0x20, 0x21 0x22, 0x23 0x24, 0x25 0x26, 0x27 0x28, 0x29 0x2A, 0x2B 0x2C, 0x2D 0x2E, 0x2F 0x30, 0x31 0x32, 0x33 0x34, 0x35 0x36, 0x37 0x38, 0x39 0x3A, 0x3B 0x3C, 0x3D 0x3E, 0x3F 0x40, 0x41 0x42 to 0x7F 0x00, 0x01 0x02, 0x03 0x04, 0x05 0x06, 0x07 0x08, 0x09 0x0A, 0x0B 0x0C, 0x0D 0x0E, 0x0F 0x10, 0x11 0x12, 0x13 Default 0x0364 0x0318 0x02D6 0x029E 0x026C N/A 0x0005 0xFF2B 0xFEF0 0xFEAA 0xFE59 0xFDFB 0xFD8C 0xFD09 0xFC6B 0xFBA8 0xFAB1 0xF96B 0xF7A1 0xF4E5 0xF017 0xE512 0xAE97 0x5169 0x1AEE 0x0FE9 0x0B1B 0x085F 0x0695 0x054F 0x0458 0x0395 0x02F7 0x0274 0x0205 0x01A7 0x0156 0x0110 0x00D5 N/A 0x0006 0xFFD9 0xFFB9 0xFF8C 0xFF50 0xFF02 0xFE9E 0xFE1F 0xFD7D 0xFCB0 Rev. A | Page 30 of 50 Register Description FIR Filter Bank D, Coefficient 27 FIR Filter Bank D, Coefficient 28 FIR Filter Bank D, Coefficient 29 FIR Filter Bank D, Coefficient 30 FIR Filter Bank D, Coefficient 31 Reserved Page identifier FIR Filter Bank E, Coefficient 0 FIR Filter Bank E, Coefficient 1 FIR Filter Bank E, Coefficient 2 FIR Filter Bank E, Coefficient 3 FIR Filter Bank E, Coefficient 4 FIR Filter Bank E, Coefficient 5 FIR Filter Bank E, Coefficient 6 FIR Filter Bank E, Coefficient 7 FIR Filter Bank E, Coefficient 8 FIR Filter Bank E, Coefficient 9 FIR Filter Bank E, Coefficient 10 FIR Filter Bank E, Coefficient 11 FIR Filter Bank E, Coefficient 12 FIR Filter Bank E, Coefficient 13 FIR Filter Bank E, Coefficient 14 FIR Filter Bank E, Coefficient 15 FIR Filter Bank E, Coefficient 16 FIR Filter Bank E, Coefficient 17 FIR Filter Bank E, Coefficient 18 FIR Filter Bank E, Coefficient 19 FIR Filter Bank E, Coefficient 20 FIR Filter Bank E, Coefficient 21 FIR Filter Bank E, Coefficient 22 FIR Filter Bank E, Coefficient 23 FIR Filter Bank E, Coefficient 24 FIR Filter Bank E, Coefficient 25 FIR Filter Bank E, Coefficient 26 FIR Filter Bank E, Coefficient 27 FIR Filter Bank E, Coefficient 28 FIR Filter Bank E, Coefficient 29 FIR Filter Bank E, Coefficient 30 FIR Filter Bank E, Coefficient 31 Reserved Page identifier FIR Filter Bank F, Coefficient 0 FIR Filter Bank F, Coefficient 1 FIR Filter Bank F, Coefficient 2 FIR Filter Bank F, Coefficient 3 FIR Filter Bank F, Coefficient 4 FIR Filter Bank F, Coefficient 5 FIR Filter Bank F, Coefficient 6 FIR Filter Bank F, Coefficient 7 FIR Filter Bank F, Coefficient 8 Data Sheet Register Name FIR_COEF_F09 FIR_COEF_F10 FIR_COEF_F11 FIR_COEF_F12 FIR_COEF_F13 FIR_COEF_F14 FIR_COEF_F15 FIR_COEF_F16 FIR_COEF_F17 FIR_COEF_F18 FIR_COEF_F19 FIR_COEF_F20 FIR_COEF_F21 FIR_COEF_F22 FIR_COEF_F23 FIR_COEF_F24 FIR_COEF_F25 FIR_COEF_F26 FIR_COEF_F27 FIR_COEF_F28 FIR_COEF_F29 FIR_COEF_F30 FIR_COEF_F31 Reserved ADcmXL3021 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 R/W R/W R/W R/W R/W R/W R/W R/W N/A Flash Backup Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes N/A PAGE_ID 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 0x06 Address 0x14, 0x15 0x16, 0x17 0x18, 0x19 0x1A, 0x1B 0x1C, 0x1D 0x1E, 0x1F 0x20, 0x21 0x22, 0x23 0x24, 0x25 0x26, 0x27 0x28, 0x29 0x2A, 0x2B 0x2C, 0x2D 0x2E, 0x2F 0x30, 0x31 0x32, 0x33 0x34, 0x35 0x36, 0x37 0x38, 0x39 0x3A, 0x3B 0x3C, 0x3D 0x3E, 0x3F 0x40, 0x41 0x42 to 0x7F Default 0xFBA8 0xFA49 0xF861 0xF581 0xF089 0xE558 0xAEAF 0x5151 0x1AA8 0x0F77 0x0A7F 0x079F 0x05B7 0x0458 0x0350 0x0283 0x01E1 0x0162 0x00FE 0x00B0 0x0074 0x0047 0x0027 N/A 1 Register Description FIR Filter Bank F, Coefficient 9 FIR Filter Bank F, Coefficient 10 FIR Filter Bank F, Coefficient 11 FIR Filter Bank F, Coefficient 12 FIR Filter Bank F, Coefficient 13 FIR Filter Bank F, Coefficient 14 FIR Filter Bank F, Coefficient 15 FIR Filter Bank F, Coefficient 16 FIR Filter Bank F, Coefficient 17 FIR Filter Bank F, Coefficient 18 FIR Filter Bank F, Coefficient 19 FIR Filter Bank F, Coefficient 20 FIR Filter Bank F, Coefficient 21 FIR Filter Bank F, Coefficient 22 FIR Filter Bank F, Coefficient 23 FIR Filter Bank F, Coefficient 24 FIR Filter Bank F, Coefficient 25 FIR Filter Bank F, Coefficient 26 FIR Filter Bank F, Coefficient 27 FIR Filter Bank F, Coefficient 28 FIR Filter Bank F, Coefficient 29 FIR Filter Bank F, Coefficient 30 FIR Filter Bank F, Coefficient 31 Reserved N/A means not applicable. The PAGE_ID register can be written to change the target register location, but does not change values on the defined page in the PAGE_ID register. 3 The default value is valid until the first capture event, when the measurement data replaces the default value. 4 For registers that begin with ALM_, values can be stored in flash but are not available for readback until ALM_PNTR is set. 5 Register values can be retrieved from records stored in flash by using record retrieve commands. 2 Rev. A | Page 31 of 50 ADcmXL3021 Data Sheet USER REGISTER DETAILS PAGE_ID (PAGE NUMBER) Table 25. TEMP_OUT Data Format Examples The contents in the PAGE_ID register (see Table 21 and Table 22) contain the current page setting. The ADcmXL3021 has output and control registers split over seven pages, numbered from zero to six. Page 1 to Page 6 are the configurable filter coefficients. Page 0 contains user registers for various configuration options and outputs. As an example, write 0x8002 to select Page 2 for SPI-based user access. After the register map is pointed to Page 2, any register writes are used to configure the Filter Bank B coefficients. The ADcmXL3021 user register map (see Table 20) provides a functional summary of each page and the page assignments associated with each user accessible register. Table 21. PAGE_ID Register Definition Page1 0x0000 1 Addresses 0x00, 0x01 Default 0x0000 Access R/W Flash Backup No Decimal 772 870 957 1000 1087 Hex 0x0303 0x0365 0x03BC 0x03E8 0x043F Binary 0000 0011 0000 0011 0000 0011 0110 0101 0000 0011 1011 1100 0000 0011 1110 1000 0000 0100 0011 1111 SUPPLY_OUT (POWER SUPPLY VOLTAGE) The SUPPLY_OUT register (see Table 26 and Table 27) provides a measurement (uncalibrated) of the voltage between the VDD and GND pins at the start of a data capture event, when the ADcmXL3021 is operating in the MFFT, AFFT, or MTC mode of operation (see Table 55). Table 28 shows several examples of the data format for the SUPPLY_OUT register. Table 26. SUPPLY_OUT Register Definition Page 0x00 This register is located at Address 0x00 and Address 0x01 of each page. Table 22. PAGE_ID Bit Descriptions Bits [15:0] Temperature +105°C +60°C +20°C +0°C −40°C 1 Description Page number, binary numerical format Addresses 0x04, 0x05 Default 0x80001 Access R Flash Backup No Default value is valid until the first capture event, when the measurement data replaces the default value Table 27. SUPPLY_OUT Bit Descriptions TEMP_OUT (INTERNAL TEMPERATURE) The TEMP_OUT register (see Table 23 and Table 24) provides a measurement (uncalibrated) of the temperature inside of the unit at the conclusion of a data capture or analysis event, when the ADcmXL3021 is operating in the MFFT, AFFT, or MTC mode of operation (see Table 55). Table 25 shows several examples of the data format for the TEMP_OUT register. The TEMP_OUT value is related to the sensed temperature by the following relationship: TEMP_OUT = (Temperature − 460°C)/( −0.46°C/LSB) Table 23. TEMP_OUT Register Definition Page 0x00 1 Addresses 0x02, 0x03 Default 0x80001 Access R Flash Backup No The default value is valid until the first capture event, when the measurement data replaces the default value. Table 24. TEMP_OUT Bit Definitions Bits [15:0] Description Internal temperature data. Offset binary format is twos complement, 1 LSB = - 0.46°C and there is an offset of 460°C, except in RTC mode. Bits [15:12] [11:0] Description Do not use Voltage between VDD and GND pins. 0x0000 = 0 V, 1 LSB = 3.22 mV. Table 28. Power Supply Data Format Examples Supply Level (V) 3.6 3.3 + 0.003226 3.3 3.3 − 0.003226 3.0 LSB 1117 1025 1024 1023 930 Hex 0x45D 0x401 0x400 0x3FF 0x3A2 Binary 0100 0101 1101 0100 0000 0001 0100 0000 0000 0011 1111 1111 0011 1010 0010 FFT_AVG1, SPECTRAL AVERAGING The FFT_AVG1 register (see Table 29 and Table 30) contains the user-configurable, spectral averaging settings for the SR0 and SR1 sample rate settings (see the AVG_CNT register in Table 86). These settings determine the number of FFT records that the ADcmXL3021 averages when generating the final FFT result. When using the factory default value for the FFT_AVG1 register, the FFT result for the sample rate, SR0, contains an average of eight separate FFT records. The FFT result for the SR1 sample rate contains a single FFT record (no spectral averaging). Rev. A | Page 32 of 50 Data Sheet ADcmXL3021 Increasing the number of FFT averages increases the overall time for a record to be generated. The FFT averaging sequence is as follows: 4096 samples are measured, FFT on 4096 samples, Accumulate FFT result, repeat until the number of FFTs specified in FFT_AVG1 or FFT_AVG2 is reached. Then compute the average FFT, average power supply, and average temperature. The power supply and temperature are measured after the 4096 samples are captured each time and accumulated. Table 29. FFT_AVG1 Register Definition Addresses 0x06, 0x07 Default 0x0108 [7:0] Flash Backup Yes Description Number of records, SR1, 8 bit unsigned format, range: 1 to 255 Number of records, SR0, 8 bit unsigned format, range: 1 to 255 To eliminate averaging on both SR0 and SR1 settings, set FFT_AVG1 = 0x0101 by using the following codes (in order) for the DIN serial string: 0x8601 and 0x8701. Table 31 shows three more examples of FFT_AVG1 settings, along with the number of records that each setting corresponds to, that produces each FFT_AVG1 value. Table 31. FFT_AVG1 Formatting Examples Number of FFT Records FFT_AVG1 Value 0x040C 0x0E1A 0xFF42 SR0 12 26 66 SR1 4 14 255 The FFT_AVG2 register (see Table 32 and Table 33) contains the user-configurable, spectral averaging settings for the SR2 and SR3 sample rate settings (see the AVG_CNT register in Table 86). These settings determine the number of FFT records that the ADcmXL3021 averages when generating the final FFT result. When using the factory default value for the FFT_AVG2 register, the FFT result for the SR2 and SR3 sample rates contains a single FFT record (no spectral averaging). Table 32. FFT_AVG2 Register Definition Default 0x0101 Access R/W Flash Backup Yes Table 33. FFT_AVG2 Bit Descriptions Bits [15:8] [7:0] FFT_AVG2 Value 0x0407 0x0D50 0x2FFA SR2 7 80 250 SR3 4 13 47 BUF_PNTR, BUFFER POINTER The BUF_PNTR (see Table 35 and Table 36) controls the data sample that loads to the X_BUF register (see Table 40), the Y_BUF register (see Table 44), and the Z_BUF/RSS_BUF register (see Table 46), from the user data buffers. The BUF_PNTR register contains 0x0000 at the conclusion of each capture event and increments with each read of the X_BUF, Y_BUF, or Z_BUF/RSS_BUF register. When BUF_PNTR contains the maximum value (2047 or 4095, see Table 36), the next increment (caused by a read request of either X_BUF, Y_BUF, or Z_RSS_BUF) causes the value in the BUF_PNTR register to wrap around to 0x0000. The depth of the user data buffer and, therefore, the range of numbers that BUF_PNTR supports, depends on the mode of operation, according to the setting in the REC_CTRL register, Bit0 and Bit 1 (see Table 55). Table 35. BUF_PNTR Register Definition FFT_AVG2, SPECTRAL AVERAGING Addresses 0x08, 0x09 Table 34. FFT_AVG2 Formatting Examples Number of FFT Records Access R/W Table 30. FFT_AVG1 Bit Descriptions Bits [15:8] To configure the ADcmXL3021 to average two FFT records for both SR2 and SR3 settings, set FFT_AVG2 = 0x0202 by using the following codes (in order) for the DIN serial string: 0x8802 and 0x8702. Table 34 shows three more examples of FFT_AVG2 settings, along with the number of records that each setting correspond to, along with the DIN code sequence that produces each FFT_AVG2 value. Description Number of records, SR3, 8 bit unsigned format, range: 1 to 255 Number of records, SR2, 8 bit unsigned format, range: 1 to 255 Addresses 0x0A, 0x0B Default 0x0000 Access R/W Flash Backup No Table 36. BUF_PNTR Bit Descriptions Bits [15:12] [11:0] Description Set these bits to 0, when writing to this register Buffer pointer value. Range = 0 to 2047 (in MFFT mode or AFFT mode. Range = 0 to 4095 (in MTC mode) Writing a number to the BUF_PNTR register causes that sample number for each user data buffer (x, y, and z) to load to the X_BUF register, Y_BUF register, and Z_BUF/RSS_BUF register. For example, using the following code sequence on DIN writes 0x031C to the BUF_PNTR register: 0x8A1C and 0x8B03. This write causes sample pointer to x (796), y (796) and z (796) from each user data buffer to load to X_BUF, Y_BUF, and Z_BUF/RSS_BUF (see Figure 51). Rev. A | Page 33 of 50 ADcmXL3021 Data Sheet X-AXIS Y-AXIS Z-AXIS 0 0 0 X_BUF 2047 796 Y_BUF 796 2047 2047 USER DATA BUFFERS Figure 51. Register Activity, BUF_PNTR = 0x031C (MFFT Mode or AFFT Mode) REC_PNTR, RECORD POINTER The REC_PNTR register (see Table 37 and Table 38) provides access to the statistical metrics from MTC capture events and spectral records from MFFT or AFFT capture events in the data storage bank. Each spectral analysis record in the data storage bank has a number from 0 to 9 that identifies the number to write to the REC_PNTR register, Bits[3:0]. This write loads that spectral record to the user data buffers. After the data from the spectral record is in the user data buffers, the BUF_PNTR register (see Table 36), X_BUF register (see Table 41), Y_BUF register (see Table 45), and Z_RSS_BUF register (see Table 47) provide access to the data in the specified data record through the SPI. For example, using the following DIN codes to set REC_PNTR = 0x0007 causes Spectral Record 7 to load to the user data buffers. See Table 39 for additional examples. Each statistical record in the data storage bank has a number from 0 through 31 that identifies the number to write to the REC_PNTR register, Bits[12:8]. This write loads that statistical record to the user statistical buffers. After the data from a statistical record is in the user statistical buffers, the STAT_PNTR register (see Table 135), X_STAT register (see Table 137), Y_STAT register (see Table 140), and Z_STAT register (see Table 142) provides access to this data through the SPI. For example, using the following DIN codes to set REC_PNTR = 0x0B00 causes Statistical Record 11 to load to the user statistical buffers: 0x8C00 and 0x8D0B. See Table 39 for additional examples. Table 37. REC_PNTR Register Definition Addresses 0x0C, 0x0D Default 0x0000 Access R/W Flash Backup No Table 38. REC_PNTR Bit Descriptions Bits [15:12] [12:8] [7:4] [3:0] DIN Codes 0x8C05 REC_PNTR Value 0x0005 0x8D0C 0x0C00 0x8C03, 0x8D15 0x1503 Description Spectral Record 5 loads to user data buffers. Statistical Record 12 loads to the user statistics buffer Spectral Record 3 loads to user data buffers and Statistical Record 21 loads to the user statistics buffer. Z_BUF 16806-034 796 Table 39. REC_PNTR Example Use Cases Description Set these bits to 0 when writing to this register Record number, statistics (from MTC mode only), range = 0 to 31 Set these bits to 0 when writing to this register Record number, spectral records, range = 0 to 9 (from MFFT mode and AFFT mode only) X_BUF, BUFFER ACCESS REGISTER, X-AXIS The X_BUF register (see Table 40 and Table 41) provides access to x-axis vibration data. When operating in MTC, MFFT, or AFFT mode, X_BUF contains the x-axis data sample from the user data buffer, which the BUF_PNTR register (see Table 36) commands. In RTS mode, data is streamed out from the SPI interface and registers data buffers are not used. In modes other than RTS when data is stored, after a read of the upper byte and lower byte, the buffer automatically updates with the next data sample in the internal buffer, the BUF_PNTR is autoincremented. For MTC mode, the buffer can support 4096 time domain samples and BUF_PNTR can advance from 0 to 4095. For AFFT and MFFT mode, the buffer supports 2048 FFT bin values and BUF_PNTR can advance from 0 to 2047. Table 40. X_BUF Register Definition Addresses 0x0E, 0x0F 1 Default1 Not applicable Access R Flash Backup No The default value changes to 0x8000 when entering the first capture event and is only valid until completion of the first capture event or commencement of RTS mode. Table 41. X_BUF Bit Descriptions Bits [15:0] Description X-axis data The numerical format of the data in X_BUF depends on the mode of operation (see the REC_CTRL register, Bits[1:0] in Table 55). When operating in MTC mode (REC_CTRL, Bits[1:0] = 10), the data in the X_BUF register uses a 16-bit, offset binary format, where 1 LSB represents ~0.001907 g. This format provides enough numerical range to support the measurement range (±50 g) and the maximum bias/offset from the core sensor. Table 42 shows several examples of how to translate these codes to the acceleration magnitude that they represent for MTC mode, assuming nominal sensitivity and zero bias error. Rev. A | Page 34 of 50 Data Sheet ADcmXL3021 MTC mode data in the X_BUF register uses a 16-bit, twos complement format, where 1 LSB represents ~0.001907 g. This format provides enough numerical range to support the measurement range (±50 g) and the maximum bias and offset from the core sensor. Table 42 shows several examples of how to translate these codes into the acceleration magnitude that they represent, assuming nominal sensitivity and zero bias error. Y_BUF, BUFFER ACCESS REGISTER, Y-AXIS If velocity calculations are enabled using Bit 5 in the REC_CTRL register, calculated velocity data is stored in place of default acceleration value. Table 44. Y_BUF Register Definition LSB +32,767 +26,219 +2 +1 0 −1 −2 −26,220 −32,768 Hex 0x7FFF 0x666B 0x0002 0x0001 0x0000 0xFFFF 0xFFFE 0x9995 0x8000 Binary 0111 1111 1111 1111 0110 0110 0110 1011 0000 0000 0000 0010 0000 0000 0000 0001 0000 0000 0000 0000 1111 1111 1111 1111 1111 1111 1111 1110 1001 1001 1001 0101 1000 0000 0000 0000 When operating in the FFT modes, either MFFT mode (REC_ CTRL1, Bits[1:0] = 00) or AFFT mode (REC_CTRL, Bits[1:0] = 01), the X_BUF register uses a 16-bit, unsigned binary format. Due to the increased resolution capability of FFT values because of averaging, converting the X_BUF value to acceleration is accomplished using the following equation: Access R Flash Backup No Default value is only valid until completion of the first capture event or commencement of RTS mode. Table 45. Y_BUF Bit Descriptions Bits [15:0] Description Y-axis data Z_BUF/RSS_BUF, BUFFER ACCESS REGISTER, Z-AXIS The Z_BUF register is similar to the X_BUF and Y_BUF registers and provides a data storage location for z-axis data values. Optionally, this data can be replaced with an RSS value of all three axes in place of the z-axis data. To enable RSS calculations, set REC_CTRL, Bit 4 to 1. Otherwise, the Z_BUF register (see Table 37 and Table 38) provides access to z-axis vibration data. When Bit 4 in the REC_CTRL register = 1, the register provides access to vibration data that represents the RSS combination of all three axes. When the RSS value is reported, the number format is the same as the original data. Addresses 0x12, 0x13 1 Table 43 shows the conversion from X_BUF value to acceleration. Default1 0x0000 Access R Flash Backup No Default value is only valid until completion of the first capture event or commencement of RTS mode. Table 47. Z_BUF/RSS_BUF Bit Descriptions Table 43. Spectral Analysis Data Format Examples X_BUF Value 32767 26200 200 1 39000 30000 8 2048 2048 Default1 0x0000 Table 46. Z_RSS_BUF Register Definition X_BUF   2   2048 X (mg) =   × 0.9535 mg  Number of FFT Averages    Acceleration (mg) 62467.43 6766.87 1.02 0.95 64377.71 3060.90 0.12 0.95 1.91 Addresses 0x10, 0x11 1 Table 42. MTC Mode Data Format Examples Acceleration (g) +62.4867 +50 +0.003814 +0.001907 0 −0.001907 −0.003814 −50 −62.4886 The Y_BUF register (see Table 44 and Table 45) provides access to y-axis vibration data. The numerical format of the data in Y_BUF is the same as the format in the X_BUF register, which depends on the mode of operation (see the REC_CTRL register, Bits[1:0], in Table 55). Number of FFT Averages 1 1 1 1 8 8 8 2 1 Bits [15:0] Description Z-axis data or RSS data for all three axes The numerical format of the data in Z_BUF/RSS_BUF is the same as the format in the X_BUF register, which depends on the mode of operation (see the REC_CTRL register, Bits[1:0], in Table 55). Rev. A | Page 35 of 50 ADcmXL3021 Data Sheet X_ANULL, X-AXIS BIAS CALIBRATION REGISTER Z_ANULL, Z-AXIS BIAS CALIBRATION REGISTER The X_ANULL register (see Table 48 and Table 49) contains the bias correction value for the x-axis accelerometer, which the auto-null command (see the GLOB_CMD register, Bit 0, in Table 91) generates. The X_ANULL register also supports write access, which enables users to write their own correction factors to the x-axis signal chain. The numerical format examples from Table 42 also apply to the X_ANULL register. For example, writing the following codes to DIN sets X_ANULL = 0x0064, which adjusts the offset of the x-axis signal chain by 100 LSB (~0.1907 g = 1 g ÷ 524 LSBs × 100 LSBs): 0x9464 and 0x9500. The Z_ANULL register (see Table 52 and Table 53) contains the bias correction value for the z-axis accelerometer, which the auto-null command (see the GLOB_CMD register, Bit 0, in Table 91) generates. The Z_ANULL register also supports write access, which enables users to write their own correction factors to the z-axis signal chain. The numerical format examples from Table 42 also apply to the Z_ANULL register. For example, writing the following codes to DIN sets Z_ANULL = 0xFDDE, which adjusts the offset of the z-axis signal chain by −546 LSB (~1.042 g = 1 g ÷ 524 LSBs × 546 LSBs): 0x98DE and 0x99FD. Table 48. X_ANULL Register Definition Table 52. Z_ANULL Register Definition Addresses 0x14, 0x15 Default 0x0000 Access R/W Flash Backup Yes Addresses 0x18, 0x19 Default 0x0000 Access R/W Flash Backup Yes Table 53. Z_ANULL Bit Descriptions Table 49. X_ANULL Bit Descriptions Bits [15:0] Bits [15:0] Description Bias correction factor, x-axis. Twos complement, 1 LSB = 0.001907 g. The register is set to 0 at power-up, unless backed up in flash memory, which then loads the value saved in the flash memory. When an autonull command is issued, the null value for each axis is calculated from data collected from 4096 samples at the full internal data rate of 220 kSPS. The autonull command takes approximately 16 ms for all three axes, including data capture, calculations, and register setting. Y_ANULL, Y-AXIS BIAS CALIBRATION REGISTER The Y_ANULL register (see Table 50 and Table 51) contains the bias correction value for the y-axis accelerometer, which the autonull command (see the GLOB_CMD register, Bit 0, in Table 91) generates. The Y_ANULL register also supports write access, which enables users to write their own correction factors to the y-axis signal chain. The numerical format examples from Table 42 also apply to the Y_ANULL register. For example, writing the following codes to DIN sets Y_ANULL = 0xFF9C, which adjusts the offset of the y-axis signal chain by −100 LSB (~0.1907 g = 1g ÷ 524 LSBs × 100 LSBs): 0x969C and 0x97FF. Addresses 0x16, 0x17 Default 0x0000 Access R/W Flash Backup Yes Table 51. Y_ANULL Bit Descriptions Bits [15:0] REC_CTRL, RECORDING CONTROL The REC_CTRL register (see Table 54 and Table 55) contains the configuration bits for a number of operational settings in the ADcmXL3021: mode of operation, record storage, power management, sample rates, and windowing. Table 54. REC_CTRL Register Definitions Addresses 0x1A, 0x1B Description Bias correction factor, y-axis. Twos complement, 1 LSB = 0.001908 g. Default 0x1102 Access R/W Flash Backup Yes Table 55. REC_CTRL Bit Descriptions Bits 15 14 [13:12] 11 Table 50. Y_ANULL Register Definition Description Bias correction factor, z-axis. Twos complement, 1 LSB = 0.001907 g. 10 9 8 Rev. A | Page 36 of 50 Description Real-time streaming timeout enable. Not used. Window setting (MFFT mode and AFFT modes only). 00 = rectangular. 01 = Hanning (default). 10 = flat top. 11 = not applicable. SR3, Sample rate option 3 enable = 1, disable = 0. Sample rate = 220 kSPS ÷ 2AVG_CNT[15:12] (see Table 86). SR2, Sample rate option 2 enable = 1, disable = 0. Sample rate = 220kSPS ÷ 2AVG_CNT[11:8] (see Table 86). SR1, Sample rate option 1 enable = 1, disable = 0. Sample rate = 220kSPS ÷ 2AVG_CNT[7:4] (see Table 86). SR0, Sample rate option 0 enable = 1, disable = 0. Sample rate = 220kSPS ÷ 2AVG_CNT[3:0] (see Table 86). Data Sheet Bits 7 6 5 4 [3:2] [1:0] ADcmXL3021 Description Automatic power-down between recordings (MFFT, AFFT, and MTC mode only). Requires a CS toggle to wake up. 0 = no power-down. 1 = power-down after data collection/processing. Enable compute statistics in MTC mode. Enable velocity calculations. 0 = acceleration. 1 = calculated velocity. Calculate root sum square (MFFT, AFFT, and MTC modes only). The z-axis portion of the user data buffers contains a root sum square combination of all axes. 0 = disabled. The z-axis portion of the user data buffers contains only z-axis data. 1 = enabled. Flash memory record storage method (MFFT, AFFT, MTC modes only). 00 = none. No record storage to flash memory, current data is available in SRAM until the next recording event is stored. 01 = alarm triggered. Record storage occurs when the vibration exceeds one of the configurable alarm settings. 10 = all. Record storage happens at the conclusion of each data collection and processing event. 11 = reserved. Recording mode. 00 = MFFT mode. 01 = AFFT mode. 10 = MTC mode. 11 = RTS mode. Real-Time Burst Mode Timeout Enabled Bit 15 in the REC_CTRL register (see Table 55) contains the settings that independently disable RTS mode if the available data is not read. By default, RTS mode is enabled and disabled via the digital pin, RTS. If this bit is enabled, RTS mode is halted after failure to receive SCLK for more than 30 ms. Windowing Bits[13:12] in the REC_CTRL register (see Table 55) contain the settings for the window function that the ADcmXL3021 uses on the time domain data, prior to performing the FFT. The factory default setting for these bits (01) selects the Hanning window function. The other window options available are rectangular (setting 0b00), or flat top (setting 0b10). Spectral Record Selection Bits[11:8] in the REC_CTRL register (see Table 55) contain on and off settings for the four different sample rate options that are set using the AVG_CNT register. The sample rate selector bits (SR0, SR1, SR2, and SR3) are used when operating in MFFT, AFFT, or MTC mode. When only one of these bits is set to 1, every data capture event uses that sample rate setting. When two of the bits are set to 1, the ADcmXL3021 uses one of the sample rates for one data capture event, then switches to the other for the next capture event. When all four bits are set to 1, the ADcmXL3021 uses the sample rates in the following order, switching to a new sample rate for each new capture event: SR0, SR1, SR2, SR3, SR0, SR1, and so on. Automatic Power-Down Bit 7 in the REC_CTRL register (see Table 55) contains the setting for the automated power-down function when the ADcmXL3021 is operating in MFFT, AFFT, or MTC mode. When this bit is set to one, the ADcmXL3021 automatically powers down after completing data collection and processing. When this bit is set to zero, the ADcmXL3021 does not power down after completing data collection and processing functions. After the device is in sleep mode, a CS toggle is required to wake up before the next measurement can be used. If the device is powered down between records in AFFT mode, wake up occurs on its own before the next capture. Calculate MTC Statistics Bit 6 in the REC_CTRL register (see Table 55) contains the setting to enable statistic calculation on MTC records. Calculate Velocity Bit 5 in the REC_CTRL register (see Table 55) contains the setting to convert accelerometer data values to velocity values. When this bit is set to zero, the user data buffers contain linear acceleration data. When this bit is set to one, the user data buffers contain linear velocity data, which comes from integrating the acceleration data, with respect to time. Root Sum Square (RSS) Combination Bit 4 in the REC_CTRL register (see Table 55) contains the setting for the RSS function. When this bit is set to zero, the ADcmXL3021 processes data for each axis independently. When this bit is set to one, the ADcmXL3021 processes data as an RSS combination of all axes. Record Storage Bits[3:2] in the REC_CTRL register (see Table 55) contain the settings that determine when the ADcmXL3021 stores the result of an FFT capture event to a record location. The MISC_CTRL register is used for storing time domain statistics. Recording Mode Bits[1:0] in the REC_CTRL register (see Table 55) establish the mode of operation. When operating in MTC mode, the ADcmXL3021 uses the signal flow diagram and user-accessible registers shown in Figure 35. When operating in AFFT and MFFT mode, the ADcmXL3021 uses the signal flow diagram and user-accessible registers shown in Figure 37. Rev. A | Page 37 of 50 ADcmXL3021 Data Sheet RT_CTRL, REAL TIME STREAMING CONTROL Table 60. REC_PRD Example Use Cases The RT_CTRL register (see Table 56 and Table 57) contains the configuration bits for the optional decimation setting for RTS mode. RT_CTRL is also used to control sample rate options. The decimation or sample rate options are in effect only if Bit 7 is enabled. REC_PRD Value 0x0022 0x010F 0x0218 Table 56. RT_CTRL Register Definitions Up to six individual spectral alarm bands can be specified with two magnitude alarm levels. The ALM_PNTR register setting identifies which alarm is currently addressed and being configured. Spectral alarms apply when the ADcmXL3021 is operating in MFFT or AFFT mode and when the ALM_F_LOW register (see Table 61 and Table 62) contains the number of the lowest FFT bin, which is included in the spectral alarm setting that the ALM_PNTR register (see Table 78) contains. Addresses 0x1C, 0x1D Default 0x0000 Access R/W Flash Backup Yes Table 57. RT_CTRL Bit Descriptions Bits [15:8] 7 [6:4] Description Not used. Sample rate change enabled. N: sets the decimation setting. The number of averages used for decimation can be calculated by 2N. Not used. Sample rates include the following: 000 = 20 kSPS. 001 = 40 kSPS. 010 = 60 kSPS. 011 = 80 kSPS. 100 = 100 kSPS. 101 =120 kSPS. 110 = 140 kSPS. 111 = 160 kSPS. 3 [2:0] REC_PRD, RECORD PERIOD Timer Value 34 sec 15 minutes 24 hours ALM_F_LOW, ALARM FREQUENCY BAND The value of ALR_F_LOW applies to the FFT spectral record. The exact frequency depends on AVG_CNT register because this register setting reduces the full FFT bandwidth. Table 61. ALM_F_LOW Register Definition Addresses 0x20, 0x21 Default 0x0000 Access R/W Flash Backup Yes Table 62. ALM_F_LOW Bit Descriptions Bits [15:12] [11:0] Description Don’t care Lower frequency, bin number; range = 0 to 2047 The REC_PRD register (see Table 58 and Table 59) contains the settings for the timer function that the ADcmXL3021 uses when operating in AFFT mode. For example, when setting ALR_F_LOW = 0x0064, the lower frequency of the alarm band starts at bin 100. For example, if AVG_CNT = 8, the lower frequency is set to 600 Hz (600 Hz = (100 LSB × 220 kHz/8)/4096). Table 58. REC_PRD Register Definition If AVG_CNT = 2, the lower frequency is 2400 Hz if ALR_F_LOW = 0x0064. Addresses 0x1E, 0x1F Default 0x0000 Access R/W Flash Backup Yes Table 59. REC_PRD Bit Descriptions Bits [15:10] [9:8] [7:0] Description Don’t care Scale for data bits: 00 = 1 second/LSB, 01 = 1 minute/LSB, 10 = 1 hour/LSB Data bits, binary format; range = 0 to 255 Setting REC_PRD is 0x0005, establishes a 5 sec setting for the time that elapses between the completion of one capture event and the beginning of the next capture event. Table 60 shows several more examples of configuration codes for the REC_PRD register. ALM_F_HIGH, ALARM FREQUENCY BAND When the ADcmXL3021 is operating in MFFT or AFFT mode, the ALM_F_HIGH register (see Table 63 and Table 64) contains the number of the highest FFT bin included in the spectral alarm setting. The ALM_PNTR register (see Table 78) contains the information regarding which of the six alarms is being set. Table 63. ALM_F_HIGH Register Definition Addresses 0x22, 0x23 Default 0x0000 Access R/W Flash Backup Yes Table 64. ALM_F_HIGH Bit Descriptions Bits [15:12] [11:0] Rev. A | Page 38 of 50 Description Don’t care Upper frequency, bin number; range = 0 to 2047 Data Sheet ADcmXL3021 The value of ALR_F_LOW applies to the FFT spectral record. The exact frequency depends on the AVG_CNT register because this setting reduces the full FFT bandwidth. Table 68. ALM_Y_MAG1 Bit Descriptions For example, when setting ALR_F_LOW = 0x0064, the lower frequency of the alarm band starts at Bin 200. For example, if AVG_CNT = 8, the lower frequency is set to 1200 Hz (1200 Hz = (200 LSB × 220 kHz/8)/4096). The data format in the ALM_Y_MAG1 register is the same as the data format in the Y_BUF register. If AVG_CNT = 2, the lower frequency is 4800 Hz if ALR_F_LOW = 0x0064. ALM_X_MAG1, ALARM LEVEL 1 X-AXIS The ALM_X_MAG1 register sets a magnitude limit for the x-axis in which to trigger an alarm warning. A second, higher trigger magnitude can be set in the ALM_X_MAG2 register and can be used to distinguish between a warning condition vs. a more critical condition. When the ADcmXL3021 is operating in MFFT or AFFT mode, the ALM_X_MAG1 register (see Table 65 and Table 66) contains the magnitude of the vibration on the x-axis, which triggers Alarm 1 for the spectral alarm setting contained in the ALM_PNTR register (see Table 78). In this mode, the FFT band that is compared to the trigger magnitude limit is between ALM_L_LOW and ALM_F_HIGH. When in MTC mode, this limit applies to the statistics of the time domain capture. ALM_X_MAG1 can be used as a warning indicator and ALM_X_MAG2 as a critical alarm indicator. Set ALM_X_MAG2 to a greater or equal value as ALM_X_MAG1. Table 65. ALM_X_MAG1 Register Definition Addresses 0x24, 0x25 Default 0x0000 Access R/W Flash Backup Yes Table 66. ALM_X_MAG1 Bit Descriptions Bits [15:0] Description X-Axis Alarm Trigger Level 1 Bits [15:0] ALM_Z_MAG1, ALARM LEVEL 1 Z-AXIS When the ADcmXL3021 is operating in MFFT or AFFT mode, the ALM_Z_MAG1 register (see Table 69 and Table 70) contains the magnitude of the vibration on the z-axis, which triggers Alarm 1 for the spectral alarm setting that the ALM_PNTR register (see Table 78) contains. When in MTC mode, this limit applies to the statistics of the time domain capture for the z-axis or the RSS value if RSS is enabled in the REC_CTRL register. Table 69. ALM_Z_MAG1 Register Definition Addresses 0x28, 0x29 ALM_Y_MAG1, ALARM LEVEL 1 Y-AXIS The setting for the ALM_Y_MAG1 register is similar to the ALM_X_MAG1 setting, except that the ALM_Y_MAG1 limit applies to the y-axis. When the ADcmXL3021 operates in the MFFT or the AFFT mode, the ALM_Y_MAG12 (see Table 67 and Table 68) register contains the magnitude of the vibration on the y-axis, which triggers Alarm 1 for the spectral alarm setting that the ALM_PNTR register (see Table 78) contains. Access R/W Access R/W Flash Backup Yes Table 70. ALM_Z_MAG1 Bit Descriptions Bits [15:0] Description Z-Axis Alarm Trigger Level 1 The data format in the ALM_Z_MAG1 register is the same as the data format in the X_BUF register. ALM_X_MAG2, ALARM LEVEL 2 X-AXIS When the ADcmXL3021 is operating in MFFT or AFFT mode, the ALM_X_MAG2 register (see Table 71 and Table 72) contains the magnitude of the vibration on the x-axis, which triggers Alarm 2 for the spectral alarm setting that the ALM_PNTR register (see Table 78) contains. When in MTC mode, this limit applies to the statistics of the time domain capture. Addresses 0x2A, 0x2B Default 0x0000 Access R/W Flash Backup Yes Table 72. ALM_X_MAG2 Bit Descriptions Bits [15:0] Description X-Axis Alarm Trigger Level 2 The data format in the ALM_X_MAG2 register is the same as the data format in the X_BUF register. See Table 43 for several examples of this data format. The Alarm 2 magnitudes must be greater than or equal to Alarm 1. Table 67. ALM_Y_MAG1 Register Definition Default 0x0000 Default 0x0000 Table 71. ALM_X_MAG2 Register Definition The data format in the ALM_X_MAG1 register is the same as the data format in the X_BUF register. See Table 43 for several examples of this data format. Addresses 0x26, 0x27 Description Y-axis Alarm Trigger Level 1 Flash Backup Yes Rev. A | Page 39 of 50 ADcmXL3021 Data Sheet ALM_Y_MAG2, ALARM LEVEL 2 Y-AXIS Table 78. ALM_PNTR Bit Descriptions When the ADcmXL3021 is operating in MFFT or AFFT mode, the ALM_Y_MAG2 register (see Table 73 and Table 74) contains the magnitude of the vibration on the y-axis, which triggers Alarm 2 for the spectral alarm setting that the ALM_PNTR register (see Table 78) contains. Bits [15:10] [9:8] Table 73. ALM_Y_MAG2 Register Definition Addresses 0x2C, 0x2D Default 0x0000 Access R/W Flash Backup Yes Table 74. ALM_Y_MAG2 Bit Descriptions Bits [15:0] Description Y-Axis Alarm Trigger Level 2 The data format in the ALM_Y_MAG2 register is the same as the data format in the Y_BUF register. See Table 43 for several examples of this data format. ALM_Z_MAG2, ALARM LEVEL 2 Z-AXIS When the ADcmXL3021 is operating in MFFT or AFFT mode, the ALM_Z_MAG2 register (see Table 75 and Table 76) contains the magnitude of the vibration on the z-axis, which triggers Alarm 2 for the spectral alarm setting that the ALM_PNTR register (see Table 78) contains. Table 75. ALM_Z_MAG2 Register Definition Addresses 0x2E, 0x2F Default 0x0000 Access R/W Flash Backup Yes Table 76. ALM_Z_MAG2 Bit Descriptions Bits [15:0] Description Z-Axis Alarm Trigger Level 2 When in MTC mode, this limit applies to the statistics of the time domain capture for the z-axis or the RSS value if RSS is enabled in the REC_CTRL register. ALM_PNTR, ALARM POINTER When the ADcmXL3021 is operating in MFFT or AFFT mode, the ALM_PNTR register (see Table 77 and Table 78) contains an alarm pointer that identifies a specific spectral alarm by sample rate (in Bits[9:8]) and spectral band number (in Bits[2:0]). Up to six alarms can be configured per sample rate setting. Access R/W ALM_S_MAG ALARM LEVEL The ALM_S_MAG register (see Table 79 and Table 80) contains the magnitude of the system alarm, which can monitor the temperature or power supply level according to Bits[5:4] in the ALM_CTRL register (see Table 82). Table 79. ALM_S_MAG Register Definition Addresses 0x32, 0x33 Bits [15:0] Default 0x0000 Access R/W Flash Backup No Description System alarm setting When Bit 4 in the ALM_CTRL register is equal to zero, the ALM_S_MAG register uses the same data format as the SUPPLY_OUT register (see Table 27 and Table 28). When Bit 4 in the ALM_CTRL register is equal to one, the ALM_S_MAG register uses the same data format as the TEMP_OUT register (see Table 24 and Table 25). ALM_CTRL, ALARM CONROL The ALM_CTRL register (see Table 81 and Table 82) contains a number of configuration settings for the alarm function. Table 81. ALM_CTRL Register Definition Addresses 0x34, 0x35 Table 77. ALM_PNTR Register Definition Default 0x0000 Setting ALM_PNTR = 0x0203 provides access to the settings for the spectral alarm, which is associated with Sample Rate SR2 and Spectral Band 3. The current attributes from this spectral alarm load to the ALM_F_LOW, ALM_F_HIGH, ALM_X_MAG1, ALM_Y_MAG1, ALM_Z_MAG1, ALM_X_MAG2, ALM_Y_MAG2, and ALM_Z_MAG2 registers. Writing to these registers changes each setting for the spectral alarm, which is associated with Sample Rate SR2 and Spectral Band 3 as well. Table 80. ALM_S_MAG Bit Descriptions The data format in the ALM_Z_MAG2 register is the same as the data format in the X_BUF register See Table 43 for several examples of this data format. Addresses 0x30, 0x31 [7:3] [2:0] Description Don’t care Indicates the sample rate setting for which Alarm x is defined 00 = SR0 01 = SR1 02 = SR2 03 = SR3 Don’t care Spectral band number (1, 2, 3, 4, 5, or 6) Flash Backup No Rev. A | Page 40 of 50 Default 0x0080 Access R/W Flash Backup Yes Data Sheet ADcmXL3021 Table 82. ALM_CTRL Bit Descriptions Bits [15:13] [12] [11:8] 7 6 5 4 3 2 1 0 Description Don’t care. Disables automatic clearing of spectral alarm status bits upon a read of the status register. Response delay, range = 0 to 15. Represents the number of spectral records for each spectral alarm before a spectral alarm flag is set high. Latch DIAG_STAT error flags. Requires a clear status command (GLOB_CMD, Bit 4) to reset the flags to 0. 1 = enabled, 0 = disabled. Enable Alarm 1 and Alarm 2 on ALM1 and ALM2, respectively. System alarm polarity. 1 = trigger when less than ALM_S_MAG. 0 = trigger when greater than ALM_S_MAG. System alarm selection. 1 = temperature, 0 = power supply. System alarm: 1 = enabled, 0 = disabled. Z-axis alarm: 1 = enabled, 0 = disabled. Y-axis alarm: 1 = enabled, 0 = disabled. X-axis alarm: 1 = enabled, 0 = disabled. FILT_CTRL, FILTER CONTROL The FILT_CTRL register (see Table 83 and Table 84) provides configuration settings for the 32-tap, FIR filters. When the FILT_CTRL pin contains the factory default value, the ADcmXL3021 does not use any of the FIR filters on any of the axes. Each axis has its own unique selection for one of the FIR filter bank. For example, set DIN = 0xB871, then set DIN = 0xB901 to write 0x0171 to the FILT_CTRL register. This code (0x0171) selects Filter Bank 1 for the x-axis, Filter Bank 3 for the y-axis, and Filter Bank 5 for the z-axis. Table 83. FILT_CTRL Register Definition Addresses 0x38, 0x39 Default 0x0000 Access R/W 7 Description Y-axis FIR filter selection 110: FIR Filter Bank F (high-pass filter, 10 kHz) 101: FIR Filter Bank E (high-pass filter, 5 kHz) 100: FIR Filter Bank D (high-pass filter, 1 kHz) 011: FIR Filter Bank C (low-pass filter, 10 kHz) 010: FIR Filter Bank B (low-pass filter, 5 kHz) 001: FIR Filter Bank A (low-pass filter, 1 kHz) 000: no FIR selection Reserved X-axis FIR filter selection 110: FIR Filter Bank F (high-pass filter, 10 kHz) 101: FIR Filter Bank E (high-pass filter, 5 kHz) 100: FIR Filter Bank D (high-pass filter, 1 kHz) 011: FIR Filter Bank C (low-pass filter, 10 kHz) 010: FIR Filter Bank B (low-pass filter, 5 kHz) 001: FIR Filter Bank A (low-pass filter, 1 kHz) 000: no FIR selection 3 [2:0] AVG_CNT, DECIMATION CONTROL The AVG_CNT register (see Table 85 and Table 86) provides four different sample rate settings (SR0, SR1, SR2, and SR3) that users can enable using Bits[11:8] in the REC_CTRL register (see Table 55). These sample rate settings only apply to MFFT, AFFT, and MTC mode. Table 85. AVG_CNT Register Definition Addresses 0x3A, 0x3B Description Don’t care Z-axis FIR filter selection. 110: FIR Filter Bank F (high-pass filter, 10 kHz). 101: FIR Filter Bank E (high-pass filter, 5 kHz). 100: FIR Filter Bank D (high-pass filter, 1 kHz). 011: FIR Filter Bank C (low-pass filter, 10 kHz). 010: FIR Filter Bank B (low-pass filter, 5 kHz). 001: FIR Filter Bank A (low-pass filter, 1 kHz). 000: no FIR selection. Reserved Default 0x7421 Access R/W Flash Backup Yes Table 86. AVG_CNT Bit Descriptions Bits [15:12] [11:8] Flash Backup Yes Table 84. FILT_CTRL Bit Descriptions Bits [15:11] [10:8] Bits [6:4] [7:4] [3:0] Description SR3 sample rate scale factor (1 to 7), SR3 sample rate = 2200000 ÷ 2AVG_CNT[15:12] SR2 sample rate scale factor (1 to 7), SR2 sample rate = 2200000 ÷ 2AVG_CNT[11:8] SR1 sample rate scale factor (1 to 7), SR1 sample rate = 2200000 ÷ 2AVG_CNT[7:4] SR0 sample rate scale factor (1 to 7), SR0 sample rate = 2200000 ÷ 2AVG_CNT[3:0] Each nibble in the AVG_CNT register offers a setting for each sample rate setting: SR0, SR1, SR2, and SR3. The following formula demonstrates one of the sample rates (SR1) derived from the factory default value (0x7421) in the AVG_CNT register: SR1 = 220,000 ÷ 22 = 55,000 SPS To change one of the sample rate values, write the control value to the specific nibble in the AVG_CNT register. For example, set DIN = 0xBB35 for set the upper byte of the AVG_CNT register to 0x35, which causes the SR2 sample rate to be 27,500 SPS and the SR3 sample rate to be 6,875 SPS. Rev. A | Page 41 of 50 ADcmXL3021 Data Sheet In MMFT and AFFT mode, the sample rate settings in the AVG_CNT register influences the bin widths of each FFT result, which has an impact on the noise in each bin. Table 87 shows a list of SR0 sample rate settings (see the AVG_CNT register, Bits[3:0]), along with the bin widths and noise predictions that come with those settings. The information in Table 87 also applies to the SR1 (AVG_CNT register, Bits[7:4]), SR2 (AVG_CNT register, Bits[11:8]), and SR3 (AVG_CNT register, Bits[15:12]) settings as well. GLOB_CMD, GLOBAL COMMANDS Table 87. SR0 Sample Rate Settings and Bin Widths Table 91. GLOB_CMD Bit Descriptions AVG_CNT, Bits[3:0] 0 1 (Default) 2 3 4 5 6 7 Bits 15 14 Sample Rate (SPS) Not applicable 220000 110000 55000 27500 13750 6875 3438.5 Bin Width (Hz) Not applicable 53.8 26.9 13.4 6.71 3.35 1.68 0.839 DIAG_STAT, STATUS, AND ERROR FLAGS The DIAG_STAT (see Table 88 and Table 89) register contains a number of status flags. Table 88. DIAG_STAT Register Definition Addresses 0x3C, 0x3D Default 0x0000 Access R Flash Backup No Table 89. DIAG_STAT Bit Descriptions Bits 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Description Not used (don’t care). System alarm flag. The temperature or power supply exceeded the user configured alarm. Z-axis, Spectral Alarm 2 flag. Y-axis, Spectral Alarm 2 flag. X-axis, Spectral Alarm 2 flag. Z-axis, Spectral Alarm 1 flag. Y-axis, Spectral Alarm 1 flag. X-axis, Spectral Alarm 1 flag. Data ready/busy indicator (0 = busy, 1 = data ready). Flash test result, checksum flag (0 = no error, 1 = error). Self test diagnostic error flag. Recording escape flag. Indicates use of the SPI driven interruption command, 0x00E8. This flag is reset automatically after the first successful recording. SPI communication failure (SCLKs ≠ even multiple of 16). Flash update failure. Power supply > 3.625 V. Power supply < 2.975 V. The GLOB_CMD (see Table 90 and Table 91) register contains a number of global commands. To start any of these processes, set the corresponding bit to one. For example, set bit 0 to logic high to execute the autonull function and the bit self clears. Table 90. GLOB_CMD Register Definition Addresses 0x3E, 0x3F 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Default 0x0000 Access W Flash Backup No Description Clear autonull correction. Retrieve spectral alarm band information from the ALM_PNTR setting. Retrieve record data from flash memory. Save spectral alarm band registers to flash memory. Record start or stop. Set BUF_PNTR = 0x0000. Clear spectral alarm band registers from flash memory. Clear all records. Software reset. Save registers to flash memory. Flash test, compare sum of flash memory with factory value. Clear DIAG_STAT register once. Restore factory register settings and clear the capture buffers. Self test. Executes the automatic self test method. If test does not pass, then the self test diagnostic flag is set in the status register (Bit 5). Power-down (wake with CS toggle). Powers down sensor and puts embedded microcontroller in sleep mode. The device wakes up with a toggle of CS or if the automatic timer triggers a new capture (automatic mode). Autonull. ALM_X_STAT, ALARM STATUS X-AXIS The ALM_X_STAT (see Table 92 and Table 93) register contains status flags for each x-axis alarm. Table 92. ALM_X_STAT Register Definition Addresses 0x40, 0x41 Default 0x0000 Access R Flash Backup Yes Table 93. ALM_X_STAT Bit Descriptions Bits 15 14 13 12 11 10 9 Rev. A | Page 42 of 50 Description Alarm 2 on Band 6; 1 = alarm set, 0 = no alarm Alarm 1 on Band 6; 1 = alarm set, 0 = no alarm Alarm 2 on Band 5; 1 = alarm set, 0 = no alarm Alarm 1 on Band 5; 1 = alarm set, 0 = no alarm Alarm 2 on Band 4; 1 = alarm set, 0 = no alarm Alarm 1 on Band 4; 1 = alarm set, 0 = no alarm Alarm 2 on Band 3; 1 = alarm set, 0 = no alarm Data Sheet Bits 8 7 6 5 4 3 [2:0] ADcmXL3021 Description Alarm 1 on Band 3; 1 = alarm set, 0 = no alarm Alarm 2 on Band 2; 1 = alarm set, 0 = no alarm Alarm 1 on Band 2; 1 = alarm set, 0 = no alarm Alarm 2 on Band 1; 1 = alarm set, 0 = no alarm Alarm 1 on Band 1; 1 = alarm set, 0 = no alarm Not used Alarm band containing the largest alarm delta from the most critical alarm; range = 1 to 6 Bits 9 8 7 6 5 4 3 [2:0] Description Alarm 2 on Band 3; 1 = alarm set, 0 = no alarm Alarm 1 on Band 3; 1 = alarm set, 0 = no alarm Alarm 2 on Band 2; 1 = alarm set, 0 = no alarm Alarm 1 on Band 2; 1 = alarm set, 0 = no alarm Alarm 2 on Band 1; 1 = alarm set, 0 = no alarm Alarm 1 on Band 1; 1 = alarm set, 0 = no alarm Not used Most critical alarm condition, spectral band; range = 1 to 6 ALM_Y_STAT, ALARM STATUS Y-AXIS ALM_X_PEAK, ALARM PEAK LEVEL X-AXIS The ALM_Y_STAT (see Table 94 and Table 95) register contains status flags for each y-axis alarm. The ALM_X_PEAK (see Table 98 and Table 99) register contains the magnitude of the FFT bin, which contains the peak alarm value, for the x-axis. Table 94. ALM_Y_STAT Register Definition Addresses 0x42, 0x43 Default 0x0000 Access R Flash Backup Yes Table 98. ALM_X_PEAK Register Definition Addresses 0x46, 0x47 Default 0x0000 Access R Flash Backup Yes Table 95. ALM_Y_STAT Bit Descriptions Bits 15 14 13 12 11 10 9 8 7 6 5 4 3 [2:0] Description Alarm 2 on Band 6; 1 = alarm set, 0 = no alarm Alarm 1 on Band 6; 1 = alarm set, 0 = no alarm Alarm 2 on Band 5; 1 = alarm set, 0 = no alarm Alarm 1 on Band 5; 1 = alarm set, 0 = no alarm Alarm 2 on Band 4; 1 = alarm set, 0 = no alarm Alarm 1 on Band 4; 1 = alarm set, 0 = no alarm Alarm 2 on Band 3; 1 = alarm set, 0 = no alarm Alarm 1 on Band 3; 1 = alarm set, 0 = no alarm Alarm 2 on Band 2; 1 = alarm set, 0 = no alarm Alarm 1 on Band 2; 1 = alarm set, 0 = no alarm Alarm 2 on Band 1; 1 = alarm set, 0 = no alarm Alarm 1 on Band 1; 1 = alarm set, 0 = no alarm Not used Most critical alarm condition, spectral band; range = 1 to 6 ALM_Z_STAT, ALARM STATUS Z-AXIS The ALM_Z_STAT (see Table 96 and Table 97) register contains status flags for each z-axis alarm. Table 96. ALM_Z_STAT Register Definition Addresses 0x44, 0x45 Default 0x0000 Access R Flash Backup Yes Table 97. ALM_Z_STAT Bit Descriptions Bits 15 14 13 12 11 10 Description Alarm 2 on Band 6; 1 = alarm set, 0 = no alarm Alarm 1 on Band 6; 1 = alarm set, 0 = no alarm Alarm 2 on Band 5; 1 = alarm set, 0 = no alarm Alarm 1 on Band 5; 1 = alarm set, 0 = no alarm Alarm 2 on Band 4; 1 = alarm set, 0 = no alarm Alarm 1 on Band 4; 1 = alarm set, 0 = no alarm Table 99. ALM_X_PEAK Bit Descriptions Bits [15:0] Description Alarm peak, x-axis, accelerometer data format ALM_Y_PEAK, ALARM PEAK LEVEL Y-AXIS The ALM_Y_PEAK (see Table 100 and Table 101) register contains the magnitude of the FFT bin, which contains the peak alarm value, for the y-axis. Table 100. ALM_Y_PEAK Register Definition Addresses 0x48, 0x49 Default 0x0000 Access R Flash Backup Yes Table 101. ALM_Y_PEAK Bit Descriptions Bits [15:0] Description Alarm peak, y-axis, accelerometer data format ALM_Z_PEAK, ALARM PEAK LEVEL Z-AXIS The ALM_Z_PEAK (see Table 102 and Table 103) register contains the magnitude of the FFT bin, which contains the peak alarm value, for the z-axis. Table 102. ALM_Z_PEAK Register Definition Addresses 0x4A, 0x4B Default 0x0000 Access R Flash Backup Yes Table 103. ALM_Z_PEAK Bit Descriptions Bits [15:0] Rev. A | Page 43 of 50 Description Alarm peak, z-axis, accelerometer data format ADcmXL3021 Data Sheet TIME_STAMP_L AND TIME_STAMP_H, DATA RECORD TIMESTAMP PROD_ID, PRODUCT IDENTIFICATION The TIME_STAMP_L (see Table 104 and Table 105) and TIME_STAMP_H (see Table 106 and Table 107) registers contain a relative timestamp for the most recent data capture event. Table 104. TIME_STAMP_L Register Definition Addresses 0x4C, 0x4D Default 0x0000 Access R Flash Backup Not applicable Table 105. TIME_STAMP_L Bit Descriptions Bits [15:0] Description Timestamp, seconds, lower word Default 0x0000 Access R Flash Backup Not applicable Table 108. DAY_REV Register Definition Flash Backup Not applicable Description Day of the month, most significant digit Day of the month, least significant digit Firmware revision, most significant digit Firmware revision, least significant digit Table 114. SERIAL_NUM Register Definition Addresses 0x58, 0x59 Default Not applicable Access R Flash Backup Not applicable Description Lot specific serial number Table 116. USER_SCRATCH Register Definition Default Not applicable Access R/W Flash Backup Yes Description Optional user ID REC_FLASH_CNT, RECORD FLASH ENDURANCE Table 110. YEAR_MON Register Definition Access R The USER_SCRATCH register allows end users to store a device number to identify the sensor. The register is readable and writable. The last written value is nonvolatile, which allows data recovery upon reset. Bits [15:0] The YEAR_MON (see Table 110 and Table 111) contains the factory programming date (month and year). Default Not applicable Description Binary representation of the numerical portion of the model number: 0x0BCD = 3,021 Table 117. USER_SCRATCH Bit Descriptions YEAR_MON, YEAR AND MONTH Addresses 0x54, 0x55 Bits [15:0] Addresses 0x5A, 0x5B Table 109. DAY_REV Bit Descriptions Bits [15:12] [11:8] [7:4] [3:0] Flash Backup Not applicable USER_SCRATCH The DAY_REV (see Table 108 and Table 109) contains part of the factory programming date (day) and the revision of the firmware. Access R Access R Table 113. PROD_ID Bit Descriptions Bits [15:0] DAY_REV, DAY AND REVISION Default Not applicable Default 0x0BCD Table 115. SERIAL_NUM Bit Descriptions Description Timestamp, seconds, upper word Addresses 0x52, 0x53 Addresses 0x56, 0x57 The SERIAL_NUM (see Table 114 and Table 115) contains the serial number of the unit, within a particular manufacturing lot. Table 107. TIME_STAMP_H Bit Descriptions Bits [15:0] Table 112. PROD_ID Register Definition SERIAL_NUM, SERIAL NUMBER Table 106. TIME_STAMP_H Register Definition Addresses 0x4E, 0x4F The PROD_ID (see Table 112 and Table 113) register contains the numerical portion of the model number. Flash Backup Not applicable The REC_FLASH_CNT (see Table 118 and Table 119) provides a tool for tracking the endurance of the flash memory bank, which support the 10 record storage locations. The value in the REC_FLASH_CNT register increments after clearing the user record (GLOB_CMD) and each time the record storage fills up (tenth location contains event data) Table 118. REC_FLASH_CNT Register Definition Table 111. YEAR_MON Bit Descriptions Bits [15:12] [11:8] [7:4] [3:0] Description Year, most significant digit Year, least significant digit Month of the year, most significant digit Month of the year, least significant digit Addresses 0x5C, 0x5D Default Not applicable Access R Flash Backup Not applicable Table 119. REC_FLASH_CNT Bit Descriptions Bits [15:0] Rev. A | Page 44 of 50 Description Endurance counter for the record flash memory Data Sheet ADcmXL3021 MISC_CTRL, MISCELLANEOUS CONTROL RECORD INFORMATION, REC_INFO2 The MISC_CTRL register (see Table 120 and Table 121) enables the saving of MTC mode statistic values to memory, enable sensor self-test, and enable SYNC pin to external control. The REC_INFO2 (see Table 124 and Table 125) register contains the contents of the AVG_CNT register, which relate to the sample rate (SRx) in use for the spectral record in the user data buffer. The contents of this register are only relevant for results that come from MFFT and AFFT mode (see the REC_CTRL register in Table 55). Table 120. MISC_CTRL Register Definition Addresses 0x64, 0x65 Default 0x0000 Access R/W Flash Backup No Addresses 0x68, 0x69 Table 121. MISC_CTRL Bit Descriptions Bits [15:13] 12 11 10 9 8 [7:4] 3 2 [1:0] Description Unused. Enable sensitivity to SYNC pin to start a capture. Must be enabled for external trigger for manual capture modes. Unused. Transfers statistics record from flash memory to SRAM. REC_PNTR must point to the appropriate time domain statistic record. Transfer statistics from SRAM to flash record. Clear time domain statistics. Unused. Set self test on. Clear self test. Unused. REC_INFO1, RECORD INFORMATION The REC_INFO1 register (see Table 122 and Table 123) contains the sample rate (SRx), window function and FFT average settings associated with the spectral record in the user data buffer. The contents of this register are only relevant for results that come from MFFT and AFFT mode (see the REC_CTRL register in Table 55). Table 122. REC_INFO1 Register Definition Addresses 0x66, 0x67 Default 0x0000 Access R Table 123. REC_INFO1 Bit Descriptions Bits [15:14] [13:12] [11:8] [7:0] Description Sample rate option. 00 = SR0. 01 = SR1. 10 = SR2. 11 = SR3. Window setting. 00 = rectangular. 01 = Hanning. 10 = flat top. 11 = not applicable. Not used (don’t care). FFT averages; range = 1 to 2047. Table 124. REC_INFO2 Register Definition Flash Backup Yes Default 0x0000 Access R Flash Backup Yes Table 125. REC_INFO2 Bit Descriptions Bits [15:4] [3:0] Description Not used (don’t care) AVG_CNT setting REC_CNTR, RECORD COUNTER The REC_CNTR (see Table 126 and Table 127) register contains the record counter, which contains the number of records currently in use. Table 126. REC_CNTR Register Definition Addresses 0x6A, 0x6B Default 0x0000 Access R Flash Backup Yes Table 127. REC_CNTR Bit Descriptions Bits [15:4] [3:0] Description Not used Record counter range: 0 through 9 ALM_X_FREQ, SEVERE ALARM FREQUENCY The ALM_X_FREQ register (see Table 126 and Table 127) contains the frequency bin associated with the value in the ALM_X_PEAK (see Table 99) register. Table 128. ALM_X_FREQ Register Definition Addresses 0x6C, 0x6D Default 0x0000 Access R Flash Backup Yes Table 129. ALM_X_FREQ Bit Descriptions Bits [15:12] [11:0] Description Not used Alarm frequency for x-axis peak alarm level, FFT bin number; range = 0 to 2047 ALM_Y_FREQ, SEVERE ALARM FREQUENCY The ALM_Y_FREQ register (see Table 130 and Table 131) contains the frequency bin that is associated with the value in the ALM_Y_PEAK (see Table 101) register. Table 130. ALM_Y_FREQ Register Definition Addresses 0x6E, 0x6F Rev. A | Page 45 of 50 Default 0x0000 Access R Flash Backup Yes ADcmXL3021 Data Sheet Table 131. ALM_Y_FREQ Bit Descriptions X_STAT, STATISTIC RESULT X-AXIS Bits [15:12] [11:0] The X_STAT register (see Table 136 and Table 137) contains the x-axis statistical metric that represents the settings in the STAT_PNTR register (see Table 135). The data format for this register depends on the metric that it contains. When the lower byte of the STAT_PNTR register is equal to 0x00, 0x01, 0x02 or 0x03, the data format is the same as the X_BUF register (MTC mode). See Table 41 and Table 42 for a definition and some examples of this data format. When the lower byte of the STAT_PNTR register is equal to 0x01, 0x02, or 0x03, the X_STAT register uses the binary coded decimal (BCD) format shown in Table 137. Table 138 shows numerical examples of this format. Description Not used Alarm frequency for y-axis peak alarm level, FFT bin number; range = 0 to 2047 ALM_Z_FREQ, SEVERE ALARM FREQUENCY The ALM_Z_FREQ register (see Table 132 and Table 132) contains the frequency bin that is associated with the value in the ALM_X_PEAK (see Table 103) register. Table 132. ALM_Z_FREQ Register Definition Addresses 0x70, 0x71 Default 0x0000 Access R Flash Backup Yes Table 136. X_STAT Register Definition Table 133. ALM_Z_FREQ Bit Descriptions Bits [15:12] [11:0] Description Not used Alarm frequency for z-axis peak alarm level, FFT bin number; range = 0 to 2047 STAT_PNTR, STATISTIC RESULT POINTER The STAT_PNTR register (see Table 134 and Table 135) controls which statistic loads to the X_STAT register (see Table 137), Y_STAT register (see Table 140), and Z_STAT register (see Table 142). For example, set DIN = 0xF202 to write 0x02 to the lower byte of the STAT_PNTR, which causes the Kurtosis results to load to X_STAT, Y_STAT. and Z_STAT. Table 134. STAT_PNTR Register Definition Addresses 0x72, 0x73 Default 0x0000 Access R/W Table 135. STAT_PNTR Bit Descriptions Bits [15:3] [2:0] Description Don’t care 110 = skewness 101 = Kurtosis 100 = crest factor 011 = peak-to-peak 010 = peak 001 = standard deviation 000 = mean value Flash Backup Not applicable Addresses 0x74, 0x75 Default 0x0000 Access R Flash Backup Yes Table 137. X_STAT Bit Descriptions for Crest Factor, Kurtosis and Skewness results Bits [15:8] [7:0] Description Integer, offset binary format, 1 LSB = 1 Decimal, 1 LSB = 1/256 = 0.00390625 Table 138. Statistic Data Format Examples for Crest Factor, Kurtosis and Skewness results Hex. 0x0000 0x0001 0x0002 0x000A 0x00FE 0x00FF 0x0100 0x016A 0x020A 0x069A 0x1AF2 0xFFFF Rev. A | Page 46 of 50 Integer 0 0 0 0 0 0 1 1 2 6 26 255 Decimal 0 1/256 = 0.00390625 2/256 = 0.0078125 10/256 = 0.0390625 254/256 = 0.9921875 255/256 = 0.99609375 0 106/256 = 0.4140625 10/256 = 0.0390625 154/256 = 0.6015625 242/256 = 0.9453125 255/256 = 0.99609375 Result 0 0.00390625 0.0078125 0.0390625 0.9921875 0.99609375 1 1.4140625 2.0390625 6.6015625 26. 9453125 255.99609375 Data Sheet ADcmXL3021 Y_STAT, STATISTIC RESULT Y-AXIS FUND_FREQ, FUNDAMENTAL FREQUENCY The Y_STAT register (see Table 139 and Table 140) contains the y-axis statistical metric that represents the settings in the STAT_PNTR register (see Table 135). The data format for this register depends on the metric that it contains. When the lower byte of the STAT_PNTR register is equal to 0x00, 0x04, 0x05, or 0x06, the data format is the same as the Y_BUF register (MTC mode). See Table 45 and Table 42 for a definition and some examples of this data format. When the lower byte of the STAT_PNTR register is equal to 0x01, 0x02, or 0x03, the Y_STAT register uses the binary coded decimal (BCD) format shown in Table 140. Table 138 provides some numerical examples of this format. The FUND_FREQ register (see Table 143 and Table 144) provides a simple way to configure the spectral alarms to monitor the fundamental vibration frequency on a platform, along with the subsequent harmonic frequencies. Table 145 provides the start and stop frequency settings for each alarm band, which automatically loads after writing to the upper byte of the FUND_FREQ register, the units are Hz. Default is disabled. Default 0x0000 Access R Flash Backup Yes Table 140. Y_STAT Bit Descriptions for Crest Factor, Kurtosis and Skewness Results Bits [15:8] [7:0] Addresses 0x7A, 0x7B Default 0x0000 Access R/W Bits [15:0] Description Fundamental frequency setting, fF. Offset binary format, 1 LSB = 1 Hz. 0x0000 = no influence on alarm settings. Table 145. Statistic Data Format Examples Description Integer, offset binary format, 1 LSB = 1 Decimal, 1 LSB = 1/256 = 0.00390625 Z_STAT, STATISTIC RESULT Z-AXIS The Z_STAT register (see Table 141 and Table 142) contains the z-axis statistical metric that represents the settings in the STAT_PNTR register (see Table 135). The data format for this register depends on the metric that it contains. When the lower byte of the STAT_PNTR register is equal to 0x00, 0x04, 0x05, or 0x06, the data format is the same as the Z_BUF_RSS register (MTC mode). See Table 47 and Table 42 for a definition and some examples of this data format. When the lower byte of the STAT_PNTR register is equal to 0x01, 0x02, or 0x03, the Z_STAT register uses the binary coded decimal (BCD) format shown in Table 140. Table 138 provides some numerical examples of this format. Alarm Band 1 2 3 4 5 6 Start Frequency 0.2 × fF 0.8 × fF 1.8 × fF 2.8 × fF 3.8 × fF 10.2 × fF Stop Frequency 0.8 × fF 1.8 × fF 2.8 × fF 3.8 × fF 10.2 × fF fMAX Alarm 1 Level 20% × 0.5 g 90% × 0.5 g 30% × 0.5 g 25% × 0.5 g 20% × 0.5 g 15% × 0.5 g Default 0x0000 Access R Flash Backup Yes FLASH_CNT_L (see Table 146 and Table 147) contains the lower 16 bits of a 32-bit counter. This counter tracks the total number of update cycles that the flash memory bank experiences. Table 146. FLASH_CNT_L Register Definition Addresses 0x7C, 0x7D Bits [15:0] Table 142. Z_STAT Bit Descriptions for Crest Factor, Kurtosis and Skewness results Bits [15:8] [7:0] Alarm 2 Level 0.5 g 0.5 g 0.5 g 0.5 g 0.5 g 0.5 g FLASH_CNT_L, FLASH MEMORY ENDURANCE Default Not applicable Access R Table 147. FLASH_CNT_L Bit Descriptions Table 141. Z_STAT Register Definition Addresses 0x78, 0x79 Flash Backup Yes Table 144. FUND_FREQ Bit Descriptions Table 139. Y_STAT Register Definition Addresses 0x74, 0x75 Table 143. FUND_FREQ Register Definition Description Integer, offset binary format, 1 LSB = 1 Decimal, 1 LSB = 1/256 = 0.00390625 Rev. A | Page 47 of 50 Description Flash update counter, lower word Flash Backup Not applicable ADcmXL3021 Data Sheet FLASH_CNT_U, FLASH MEMORY ENDURANCE FIR FILTER REGISTERS The FLASH_CNT_U register (see Table 148 and Table 149) contains the upper 16 bits of a 32-bit counter. This counter tracks the total number of update cycles that the flash memory bank experiences. The ADcmXL3021 signal chain includes a 32-tap, FIR filter. Register Page 1 through Register Page 6 provide user configuration access to the coefficients for six different FIR filter banks. The FILT_CTRL (see Table 84) register controls the enabling of the FIR filters and allows the selection of the FIR filter banks. Each FIR filter bank features factory default filter designs, and each filter bank provides write access to support application specific filter designs. To access one of the FIR filter banks, write the corresponding page number to the PAGE_ID register. For example, set DIN = 0x8003 to set PAGE_ID = 0x0003, which provides access to FIR Filer Bank C. See Table 20 for a complete listing of the FIR coefficient addresses and pages. Table 148. FLASH_CNT_U Register Definition Addresses 0x7E, 0x7F Default 0x0000 Access R Flash Backup Not applicable Table 149. FLASH_CNT_U Bit Descriptions Bits [15:0] Description Flash update counter, upper word By default, the following filters are preconfigured in the respective filter bank registers:       450 300 0 Filter Band A is a 32 tap, low-pass filter at 1 kHz. Filter Band B is a 32 tap, low-pass filter at 5 kHz. Filter Band C is a 32 tap, low-pass filter at 10 kHz. Filter Band D is a 32 tap, high-pass filter at 1 kHz. Filter Band E is a 32 tap, high-pass filter at 5 kHz. Filter Band F is a 32 tap, high-pass filter at 10 kHz. FIR Filter Design Guidelines 150 30 40 55 70 85 100 125 135 JUNCTION TEMPERATURE (°C) Figure 52. Flash/EE Memory Data Retention 150 16806-036 RETENTION (Years) 600 User defined, 32 tap digital filtering can be programmed and stored. This filter uses 16-bit coefficients. Register Page 1 through Register Page 6 contain filter bank coefficients for Filter A to Filter F, respectively. Each of the 32 coefficients has a 16-bit register. User filters (as well as other register settings) can be stored internally in the ADcmXL3021. The numerical format for each coefficient is a 16-bit, twos complement signed value. The 32 taps of the filter must sum to 0 to have unity gain. If values are summed as unsigned binary values, the summed value of 32,767 represents unity gain. By default, the FIR filters are designed to have a linear phase response up to 10 kHz. Rev. A | Page 48 of 50 Data Sheet ADcmXL3021 APPLICATIONS INFORMATION MECHANICAL INTERFACE For the best performance, follow the guidelines described in this section when installing the ADcmXL3021 in a system. Eliminate potential translational forces by aligning the module in a well defined orientation. Use uniform mounting force on all four corners of the module. Use all four mounting holes and M2.5 screws at a torque of 5 inch-pounds. Additional mechanical adhesives (cyanoacrylate adhesive and epoxies such as Dymax 652A gel adhesive) can be used to, in some cases, improve mechanical coupling and frequency response. Application of these additional adhesives are mechanical design and processes dependent. Therefore, the application of these additional adhesives must be evaluated thoroughly during product development. A minimum bend radius of the flex tail of 1 mm is allowed. At a lower bend radius, delamination or conductor failure may occur. The connector at the end of the flex tail is the DF12(3.0)-14DS0.5V(86) from Hirose Electric Co. Ltd. The mating connector that must be used is the DF12(3.0)–14DP–0.5V(86) from Hirose Electric Co. Ltd. Rev. A | Page 49 of 50 ADcmXL3021 Data Sheet OUTLINE DIMENSIONS 27.10 27.00 26.90 21.75 21.70 21.65 BOTTOM VIEW TOP VIEW Ø 2.65 (for M2.5 SS316 screws) 12.55 12.50 12.45 23.80 23.70 23.60 36.00 35.80 35.60 Hirose 14 Pin (0.5 mm Pitch Connector) DF12(3.0)-14DS-05V (86) 3.80 3.60 3.40 4.55 BSC 9.20 9.10 8.90 5.80 5.60 5.40 3.50 BSC PIN 1 FRONT VIEW 12.50 12.40 12.30 02-14-2019-B 4.60 4.50 4.40 Figure 53. 14-Lead Module with Integrated Flex Connector [MODULE] (ML-14-7) Dimensions shown in millimeters ORDERING GUIDE Model1 ADcmXL3021BMLZ EVAL-ADCM ADCMXL_BRKOUT/PCBZ 1 Temperature Range −40°C to +105°C g Range ±50 g Package Description 14-Lead Module with Integrated Flex Connector [MODULE] ADcmXL3021 Evaluation Kit ADcmXL3021 Breakout Interface Board Z = RoHS-Compliant Part. ©2019–2021 Analog Devices, Inc. All rights reserved. Trademarks and registered trademarks are the property of their respective owners. D16806-3/21(A) Rev. A | Page 50 of 50 Package Option ML-14-7
ADCMXL3021BMLZ 价格&库存

很抱歉,暂时无法提供与“ADCMXL3021BMLZ”相匹配的价格&库存,您可以联系我们找货

免费人工找货