cancel
Showing results for 
Search instead for 
Did you mean: 

Using LIS2DH on a SPI bus with many devices

tautologyclub
Visitor

It seems that its CS is inactive, the LIS will assume that it should be in I2C mode.

But if I have multiple devices on the SPI bus, then I want to be able to disable I2C mode altogether.

Our board has exactly this setup and it seems that whenever I enable the LIS2DH, it corrupts SPI comms for the other device, presumably due to it entering I2C mode as soon as I de-assert the LIS CS-pin.

I'm unable to find a register that controls this. So my question is: How do I use the LIS2DH on a SPI bus with other devices?

0 REPLIES 0