cancel
Showing results for 
Search instead for 
Did you mean: 

Interrupt generation on INT2 pin of LIS3DH

ADani
Associate III

Hello, 

I'm facing issues when enabling LIS3DH click interrupt, AOI1 and AOI2 interrupts on INT2 pin. These interrupts works fine on INT1 pin. 

Following is the flow I do to enable click interrupt on INT2 pin. 

register - 20h value - 119  //ODR 400Hz and all axis enabled

register - 21h value - 0 //HPF disabled

register - 22h value - 0  //No interrupt enabled on INT1 pin

register - 23h value - 8  //High resolution output mode 

register - 24h value - 0  //Interrupts not latched

register - 25h value - 128 //Click interrupt on INT2 pin

register - 38h value - 5  //Detect single click on x-axis and y-axis 

register - 3Ah value - 10 //Threshold 1.5m/s^2 

register - 3Bh value - 120 //Time limit 0.3s

register - 3Ch value - 120 //Time latency 0.3s

register - 3Dh value - 120 //Time window 0.3s.

I enable the click detection, read the click status register and transmit over serial. I'm observing the INT2 interrupt pin using a DSO. The click is getting detected by the sensor which is evident from the status register value but the INT2 pin is always low. If I change 25h to 0 and 22h to 128 I get an interrupt on INT1 pin without any problems.

I checked for dry solder on INT2 pin but there is no problem. 

https://www.evelta.com/evelta-lis3dh-triple-axis-mems-accelerometer-breakout-i2c-spi/ is the breakout board I'm using for LIS3DH.

0 REPLIES 0