AnsweredAssumed Answered

LIS3DH Interrupt always high

Question asked by p.s.001 on May 24, 2017
Latest reply on Mar 6, 2018 by Alexander Maroudis

With the configuration below I'm attempting to receive and interrupt from INT1 when there is acceleration along the Z axis. However INT1 alwyas stays high...Not sure whats going on

LIS3DH_WriteReg(LIS3DH_CTRL_REG1, 0x24);

//ctrl 2
LIS3DH_WriteReg(LIS3DH_CTRL_REG2, 0x01);

LIS3DH_WriteReg(LIS3DH_CTRL_REG3, 0x40);


//set Full scale
LIS3DH_WriteReg(LIS3DH_CTRL_REG4, 0x88);

LIS3DH_WriteReg(LIS3DH_CTRL_REG5, 0x00);


LIS3DH_WriteReg(LIS3DH_INT1_THS, 0x7F);


//Zhi interrupt
LIS3DH_WriteReg(LIS3DH_INT1_CFG, 0xA0);