2018-02-18 10:51 PM
I want to use LIS2D for FIFO and tap interrupt. Its generating FIFO interrupt but I am not able to get single tap interrupt.My register settings are as below. I want my FIFO interrupt of INT1 and Tap interrupt on INT2. Please suggest where I am going wrong.
CTRL_REG1 : 0x37
CTRL_REG2 :
0x00
CTRL_REG3 :
0x04
CTRL_REG4 :
0x10
CTRL_REG5 :
0x40
CTRL_REG6 :
0xA0
CLICK_CFG : 0x15
Thanks.
2018-11-19 04:33 AM
I'm trying to incorporate tilt detection and click detection, click detection (from ISR) is only displayed after displaying about 6 or 7 sets of raw values of all three axes.
Without FIFO enabled, I am able to detect the clicks correctly but I want to be able to obtain raw values of all axes and also have click detection.
2018-11-19 09:28 PM
Hi, I implemented raw data with fifo interrupt with double click @25HZ, Below are my registers setting,
CTRL_REG1 - 0x37
CTRL_REG2 - 0x04
CTRL_REG3 - 0x04
CTRL_REG4 - 0x10
CTRL_REG5 - 0x40
CTRL_REG6 - 0x80
FIFO_CTRL_REG - 0x80 |0x19
CLICK_CFG - 0x20 (enabling only for Z axis)
2018-11-19 09:37 PM
Hi, so did you read the values from the FIFO_READ_START register by storing it in a buffer?