96a887809c
On my end, the ISM330DHCX was stopping working after a few seconds. After investigation, it seems that the function used to set the device in pulse mode only works for special modes like tap and embedded functions and not for data-ready as intended. The data-ready was then in the default latched mode which does not work sustainably with the rest of the driver logic. In this mode, the driver can miss an interrupt and be forever waiting on a new data-ready pulse which will never happen as the interrupt line is already active. This calls the correct function to enable pulsed data-ready mode as described in the datasheet section 9.7 COUNTER_BDR_REG1 (0Bh). Signed-off-by: Francois Gervais <francoisgervais@gmail.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
ism330dhcx.c | ||
ism330dhcx.h | ||
ism330dhcx_i2c.c | ||
ism330dhcx_shub.c | ||
ism330dhcx_spi.c | ||
ism330dhcx_trigger.c | ||
Kconfig |