Skip to main content
Visitor II
October 23, 2018
Question

LIS2DH not responding with any data

  • October 23, 2018
  • 1 reply
  • 707 views

I'm having a nightmare trying to get my LIS2DH to respond. SA0 is high, CS is high.

It kind of responds to the right address (others get nothing), but data is all zeros.

All I want to do is get XYZ data out, these are all zeros too!

The I2C timing chart in the data sheet is wrong, they just duplicated the SPI one, so that's not a lot of help.

Any ideas?

0690X000006CEldQAG.png

    This topic has been closed for replies.

    1 reply

    Visitor II
    October 23, 2018

    Ah, finally! Worked out I need to enable the device in the control registers, writing $08 to $23, and $9f to $20. Now, I'm getting data!