Workaround to Reset Interrupt Pin of Sensors Supporting Latched Interrupts
This topic helps you with the workaround to reset the interrupt pin of sensors which support latched interrupts. Sensor supporting latched interrupts provide register to reset the interrupt pin. The interrupt pin has to be reset after the system initialization. This ensures occurrence of continuous interrupts from the sensor. Use a model as shown in the image below to clear the interrupt pin of sensors that support latched interrupts.
The following table shows the peripheral address, reset interrupt pin register address, and data size for different sensors.
Sensor | peripheral address | Reset interrupt pin register address | Data size (uint8) |
---|---|---|---|
ADXL345 | 0x53 (default) | 0x1D | 0x32 | 6 |
LIS3DH | 0x18 (default) | 0x19 | 0xA8 | 6 |