cancel
Showing results for 
Search instead for 
Did you mean: 

Use LIS2HH on the same SPI bus with EEPROM, is it possible?

shriharsh
Associate II
Posted on February 19, 2016 at 09:40

I'm planning to use a LIS2HH on the same SPI bus as an EEPROM.

But in the datasheet it says the LIS3DH CS pin is selecting SPI or I2C.

So is it possible to use SPI to the EEPROM when LIS3DH CS pin is high (the LIS3DH would be in I2C mode)? I feel that it will fail if the I2C address gets matched with SPI data.

Possible Solution??

This LIS2HH chipset has CTRL4 register which can enable/disable the I2C module.

So if I pull CS low and write to this CTRL4 to disable the I2C module then will this help avoid I2C working after CS is pulled HIGH? Or I2C is again enabled after CS is pulled HIGH even if CTRL4 I2C module is disabled?

Can someone please confirm at earliest?

Regards,

Shriharsh Datar

#lis2hh #issue #chipselect #spi
1 REPLY 1
shriharsh
Associate II
Posted on February 22, 2016 at 06:44

Can someone from ST please reply at earliest. I need to make necessary modifications to the hardware based on your expert comments.

Regards,

Shriharsh Datar