I am not able to use the FXOS8700CQ accelerometer present on the kv31f board.
I would like to use the freefall function and for this I configured the following registers.
| Freefall Configuration | Z < 0,3g using MFF Function 4g, 100 Hz ODR, Normal Mode |
| Register Name | Register Addr | Data (R/W) | Description |
| CTRL_REG1 | 0x2A | 0x00 W | Standby mode for writable operations |
| WHO_AM_I | 0x0D | Read | Check device communication (0xC7) |
| XYZ_DATA_CFG | 0x0E | 0x01 W | Hight-pass filter disabled, +/-0.488mg/LSB |
| CTRL_REG1 | 0x2A | 0x18 W | Set the device in 100 Hz ODR, Standby |
| A_FFMT_CFG | 0x15 | 0xA0 W | Latch enable, Freefall, Z axis |
| A_FFMT_THS | 0x17 | 0x05 W | 0,3g threshold |
| A_FFMT_COUNT | 0x18 | 0x0A W | Debounce 100ms |
| CTRL_REG4 | 0x2D | 0x04 W | FF interrupt enable |
| CTRL_REG5 | 0x2E | 0x04 W | interrupt routed to INT1 pin |
| CTRL_REG1 | 0x2A | 0x19 W | Set the device in 100 Hz ODR, Active Mode |
- The communication is working properly because I can read the WHO_AM_I register,
- I've already followed the AN4070 document,
But it's not working, the Freefall interrupt isn't happening,
I've tried to use the 3 axes and then only one but none worked.
Is there any other register that I need to configure?
What else should I do?
Thanks