AnsweredAssumed Answered

IIS2DH (DM00171283) Single click detection?

Question asked by Arpan Patel on Jun 13, 2017
Latest reply on Jul 20, 2017 by Arpan Patel

I am working with IIS2DH accelorometer an I would like to configure single/double click tap detection. For that, I have done following configuration:

I2C_WriteByte(&ctrl_1,1,0x5F); 
I2C_WriteByte(&ctrl_3,1,0x80);
I2C_WriteByte(&ctrl_6,1,0x82);
I2C_WriteByte(&ctrl_4,1,0x00);
I2C_WriteByte(&int1_config,1,0x00); 
I2C_WriteByte(&ctrl_5,1,0x40);
I2C_WriteByte(&click_config,1,0x15);
I read click source register for single click detection but values are different every time. Also,interrupt flag not set for microcontoller.

Is there any thing need to be wrong in my configuration?

Is any application note for IIS2DH(DM00171283)?

Outcomes