cancel
Showing results for 
Search instead for 
Did you mean: 

LIS2DW12: SPI data corruption if another device on SPI bus.

SClem
Associate

With regard to the LIS2DW12 (or other I2C/SPI MEM accel) what stops the I2C seeing SPI traffic when the CS is high and another device on the SPI bus is being clocked. Will the MEM accel try to interpret the SPI data as I2C and end up corrupting the SPI data? Or is it like other MEM sensors that is CS is low at power up it switches to SPI mode and the I2C mode is disabled (until the next power cycle...)

1 REPLY 1
S.Ma
Principal

When MEMs is not selected, the SCK and MOSI lines turns back on I2C mode, while you are using them in SPI for talking to other SPI devices.... this could cause issues,