What is the maximum distance supported by the SPI bus to connect an LSM6DSOX?
Hello,
I am trying to use an LSM6DSOX through SPI communication, but I am having some problems due to the length of the cable. I'm using a cable about 2 m long but the sensor is not working well. I have tried using different LSM6DSOX chips but the result is always the same, sometimes information is lost in the sensor response and other times it generates interference with another sensor that is connected to the same SPI bus (a MAX30003 ECG sensor).
I suspect that the problem is caused by the cable length because I have also tried using a shorter cable (about 30 cm) and there is not problem with that configuration. Therefore, I want to know what is the maximum distance supported by the SPI bus to connect this sensor and also what could you suggest me to avoid the communication problems when using a long cable to connect the sensor to the master device.
Additional information:
- I am using a Raspberry Pi 3 model B as master device.
- The sensor has the suggested configuration with the decoupling capacitors as near as possible to the LSM6DSOX chip.
