| Electronic Components Datasheet Search |
|
ADIS16407PCBZ Datasheet(PDF) 22 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADIS16407PCBZ Datasheet(HTML) 22 Page - Analog Devices |
|
22 / 24 page ![]() ADIS16407 Rev. A | Page 22 of 24 ALARMS Alarm 1 and Alarm 2 provide two independent alarms. Table 61 lists the alarm control registers, including ALM_CTRL (Table 66), which provides control bits for data source selection, static/ dynamic comparison, filtering, and alarm indicator. Table 61. Registers for Alarm Configuration Register Address Description ALM_MAG1 0x44 Alarm 1 trigger setting ALM_MAG2 0x46 Alarm 2 trigger setting ALM_SMPL1 0x48 Alarm 1 sample period ALM_SMPL2 0x4A Alarm 2 sample period ALM_CTRL 0x4C Alarm configuration STATIC ALARM USE The static alarms setting compares the data source selection (ALM_CTRL[15:8]) with the values in the ALM_MAGx registers listed in Table 62 and Table 63, using ALM_MAGx[15] to deter- mine the trigger polarity. The data format in these registers matches the format of the data selection in ALM_CTRL[15:8]. See Table 67, Alarm 1, for a static alarm configuration example. Table 62. ALM_MAG1 (Base Address = 0x44), Read/Write Bits Description (Default = 0x0000) [15] Trigger polarity 1 = greater than, 0 = less than [14] Not used [13:0] Threshold setting; matches for format of ALM_CTRL[11:8] output register selection Table 63. ALM_MAG2 (Base Address = 0x46), Read/Write Bits Description (Default = 0x0000) [15] Trigger polarity 1 = greater than, 0 = less than [14] Not used [13:0] Threshold setting; matches for format of ALM_CTRL[15:12] output register selection DYNAMIC ALARM USE The dynamic alarm setting monitors the data selection for a rate-of-change comparison. The rate-of-change comparison is represented by the magnitude in the ALM_MAGx registers over the time represented by the number-of-samples setting in the ALM_SMPLx registers, located in Table 64. See Table 67, Alarm 2, for a dynamic alarm configuration example. Table 64. ALM_SMPL1 (Base Address = 0x48), Read/Write Bits Description (Default = 0x0000) [15:8] Not used [7:0] Binary, number of samples (both 0x00 and 0x01 = 1) Table 65. ALM_SMPL2 (Base Address = 0x4A), Read/Write Bits Description (Default = 0x0000) [15:8] Not used [7:0] Binary, number of samples (both 0x00 and 0x01 = 1) ALARM REPORTING The DIAG_STAT[9:8] bits provide error flags that indicate an alarm condition. The ALM_CTRL[2:0] bits provide controls for a hardware indicator using DIO1 or DIO2. Table 66. ALM_CTRL (Base Address = 0x4C), Read/Write Bits Description (Default = 0x0000) [15:12] Alarm 2 data source selection 0000 = disable 0001 = SUPPLY_OUT 0010 = XGYRO_OUT 0011 = YGYRO_OUT 0100 = ZGYRO_OUT 0101 = XACCL_OUT 0110 = YACCL_OUT 0111 = ZACCL_OUT 1001 =XMAGN_OUT 1010 = YMAGN_OUT 1011 = ZMAGN_OUT 1100 = AUX_ADC [11:8] Alarm 1 data source selection (same as Alarm 2) [7] Alarm 2, dynamic/static (1 = dynamic, 0 = static) [6] Alarm 1, dynamic/static (1 = dynamic, 0 = static) [5] Not used [4] Data source filtering (1 = filtered, 0 = unfiltered) [3] Not used [2] Alarm indicator (1 = enabled, 0 = disabled) [1] Alarm indicator active polarity (1 = high, 0 = low) [0] Alarm output line select (1 = DIO2, 0 = DIO1) Alarm Example Table 67 offers an example that configures Alarm 1 to trigger when filtered ZACCL_OUT data drops below 0.7 g, and Alarm 2 to trigger when filtered ZGYRO_OUT data changes by more than 50°/sec over a 100 ms period, or 500°/sec2. The filter setting helps reduce false triggers from noise and refine the accuracy of the trigger points. The ALM_SMPL2 setting of 82 samples provides a comparison period that is approximately equal to 100 ms for an internal sample rate of 819.2 SPS. Table 67. Alarm Configuration Example 1 DIN Description 0xCD47, ALM_CTRL = 0x4797 0xCC97 Alarm 2: dynamic, Δ-ZGYRO_OUT (Δ-time, ALM_SMPL2) > ALM_MAG2 Alarm 1: static, ZACCL_OUT < ALM_MAG1, filtered data DIO2 output indicator, positive polarity 0xC703, 0xC6E8 ALM_MAG2 = 0x03E8 = 1,000 LSB = 50°/sec 0xC500, 0xC4D2 ALM_MAG1 = 0x00D2 = 210 LSB = +0.7 g 0xC866 ALM_SMPL2[7:0] = 0x52 = 82 samples 82 samples ÷ 819.2 SPS = ~100 ms |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |