Hi I´m working with LI2DTW12 acelerometer chip. I trying to configure the sensor to generate an interruption in the INT_1 when the device detect an aceleration in the Z axis. Could you help me with the register configuration?
Hi I´m working with LI2DTW12 acelerometer chip. I trying to configure the sensor to generate an interruption in the INT_1 when the device detect an aceleration in the Z axis.
I have configure the device registers in the following way:
uint8 array_registers_LIS2DTW12[]={0x20,0x25,0x23,0x34,0x35,0x3F};
uint8 config_registers_LIS2DTW12[]={0x20,0xD0,0x20,0x04,0x60,0x22};
But when the LIS2DTW12 generate the interruption on the INT_1 and I read the SATATUS register I saw 0x01. That mean that I have a data ready. And when I reas the WAKE_UP_STATUS register all the bits are 0.
Could anybody help me with this matter?
I not sure I have configured the registers in the correct way or how to read the interruption pin properly.
Thank you for your time and help.
