Skip to main content
Visitor II
May 3, 2019
Question

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

  • May 3, 2019
  • 1 reply
  • 584 views

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...)

    This topic has been closed for replies.

    1 reply

    Visitor II
    May 3, 2019

    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,