2016-02-19 12:40 AM
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 #spi2016-02-21 09:44 PM
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