Hi, I have the D52QD2M4IA-A chip (from dynastream) that has inside nrf52832 chip. It has also builtin an onboard LIS2DH accelerometer. However when I am trying to connect to it through SPI interface this seems not to respond back. Can Anyone help?
Hi, I have the D52QD2M4IA-A chip (from dynastream) that has inside nrf52832 chip. It has also builtin an onboard LIS2DH accelerometer. However when I am trying to connect to it through SPI interface this seems not to respond back. Can Anyone help?
I know this is a bit old, but for future reference, make sure you set the LIS2DH operation mode to low power, normal or high resolution before trying to read or you will get 0 when reading the axis values. By default it is in powered down mode. To do that write CTRL_REG1[3] (LPen) and CTRL_REG4[3] (HR) bits with your desired configuration.
I know this is a bit old, but for future reference, make sure you set the LIS2DH operation mode to low power, normal or high resolution before trying to read or you will get 0 when reading the axis values. By default it is in powered down mode. To do that write CTRL_REG1[3] (LPen) and CTRL_REG4[3] (HR) bits with your desired configuration.