2018-10-23 03:43 AM
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?
2018-10-23 04:22 AM
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!