Configure interrupts properly and get real g values
Hi guys,
I have a question of how configuring 1kHz interrupts on the MEMS Sensor H3LIS331DL.
My configuration is as seen below.
writeByte(STM_ACC_address, STM_CTRL_REG_1, 0x3F, hi2c);
writeByte(STM_ACC_address, STM_CTRL_REG_4, 0x10, hi2c);
writeByte(STM_ACC_address, STM_CTRL_REG_3, 0x14, hi2c);
writeByte(STM_ACC_address, STM_INT1_DURATION, 0x00, hi2c);
I'll get the interrupts on a maximum frequency of 330kHz. With ODR 1000 shouldn't I get them with 1kHz?
In addition I have problems with the raw data converting to g, how can I do this?
Thanks in advance.
Best Matthias
