2018-05-08 12:52 AM
Hello, I want to configure LIS2DH for generating interrupt for single click as well as double click, Can we do that? I am using INT1 for FIFO so INT2 is for clicks interrupt, Individually I can able to get interrupt from them but when I am combining single and double click in same code, I am not able to get single interrupt, Its showing only for double INT.
My sensors configurations are as below. Please suggest.
CTRL_REG1 =
0x37
CTRL_REG2 = 0x00CTRL_REG3 = 0x04CTRL_REG4 = 0x10CTRL_REG5 = 0x40CTRL_REG6 = 0x80FIFO_CTRL_REG=0x99
CLICK_CFG = 0x3F
CLICK_THS = 0x20TIME_LIMIT = 0x10TIME_LATENCY = 0x10TIME_WINDOW = 0x40Thanks
2018-05-08 11:30 PM
It is not possible to detect single click as well as double click. You can use either single click or double click.
2018-05-09 12:21 AM
Thank, I want to know one thing, Can we relay on single tap interrupt from accelerate, I performed some test. Out of 15 times, we was missing single tap detection twice. I want to use it like a touch screen. As per my setup, I need to put lis2dh inside some box and when ever some one single tap outer surface, it should generate detection. Can we performed same ?
One more thing, Will other movements on the box like some movement will cause single tap suppose some hold it on hand and walk?