| Electronic Components Datasheet Search |
|
ADXL366 Datasheet(PDF) 62 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADXL366 Datasheet(HTML) 62 Page - Analog Devices |
|
62 / 71 page ![]() Data Sheet ADXL366 APPLICATIONS INFORMATION analog.com Rev. 0 | 62 of 71 Using External Timing Triggers Figure 61 shows an application diagram for using the INT1 pin as the input for an external clock. In this mode, the external clock determines all accelerometer timing, including the output data rate and bandwidth. To enable this feature, during configuration (while in standby mode), set the EXT_CLK bit (Bit 6) in the POWER_CTL register. For example, write 0x42 to the POWER_CTL register to enable the use of an external clock and place the accelerometer into measurement mode. Figure 61. INT1 Pin as the Input for the External Clock Figure 62 is an application circuit to use the INT2 pin as a trigger for synchronized sampling. In ultra-low power mode, acceleration samples are produced every time this trigger is activated. To enable this feature, near the end of the desired start-up routine, set the EXT_SAMPLE bit (Bit 3) in the FILTER_CTL register. For example, write 0x6B to the FILTER_CTL register to enable the trigger and configure the accelerometer for a ±4g measurement range and 100Hz ODR. See the Using External Trigger section for mode details. Figure 62. Using the INT2 Pin to Trigger Synchronized Sampling Implementing Free Fall Detection Many digital output accelerometers include a built-in free fall detec- tion feature. In the ADXL366, implement this function by using the inactivity interrupt. When an object is in true free fall, acceleration on all axes is 0g. Therefore, free fall detection is achieved by looking for acceleration on all axes to fall to less than a certain threshold (close to 0g) for a certain amount of time. The inactivity detection functionality, when used in absolute mode, monitors the acceleration to watch for all three axes to drop to 0g. To use inactivity to implement free fall detection, set the value in the THRESH_INACT bits (Register 0x23 and Register 0x24) to the desired free fall threshold. Values between 300mg and 600mg are recommended. The register setting for these values varies based on the g range setting of the device, as shown in Equation 6. THRESH_INACT = Threshold Value (g) × Scale Factor (LSB per g) (6) Set the value in the TIME_INACT bits (Register 0x25 and Register 0x26) to implement the minimum amount of time that the accelera- tion on all axes must be less than the free fall threshold to generate a free fall condition. Values between 100ms and 350ms are recom- mended. The register setting for free fall detection varies based on the output data rate. Equation 7 dictates which TIME_INACT bits the user must choose to set. In Equation 7, Time represents the time that all acceleration axes must be less than the inactivity threshold for free fall to be detected. TIME_INACT = Time (sec) × Data Rate (Hz) (7) When a free fall condition is detected, the inactivity status is set to 1 and, if the function is mapped to an interrupt pin, an inactivity interrupt triggers on that pin. Free Fall Start-Up Routine The following start-up routine configures the ADXL366 for a typical free fall application. This routine assumes a ±8g measurement range and 100Hz output data rate. Thresholds and timing values can be modified to suit particular application needs. Use the follow- ing procedure for start-up: 1. Write 0x18 to Register 0x24 and write 0x09 to Register 0x23, to set the free fall threshold to 600mg. 2. Write 0x03 to Register 0x26 to set the free fall time to 30ms. 3. Write 0x04 to Register 0x27 to enable absolute inactivity detec- tion. 4. Write 0x20 to Register 0x2A or Register 0x2B to map the inactivity interrupt to the INT1 pin or INT2 pin, respectively. 5. Write 0x83 to Register 0x2C to configure the accelerometer to the ±8g range and 100Hz ODR. 6. Write 0x02 to Register 0x2D: enter measurement mode. Note that a 100ms wait time must be observed before the accelera- tion data becomes valid. |
|
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 |