2024-09-11 02:27 PM - edited 2024-09-11 03:02 PM
Hello,
Our custom HW uses a LSM6DSM sensor. There is no existing driving for it in Zephyr, however, the LSM6DSL sensor does. I looked at the differences between the 2 devices and it comes down to the LSM6DSM having 2 extra connection modes (Modes 3 & 4), and 4 registers that are accessible in AuxSPI mode (which we're not using). The LSM6DSM on our board is configured for connection mode 1 and is an I2C slave to the nRF5340. Is the LSM6DSL driver compatible with the LSM6DSM? If not, is there a LSM6DSM driver for Zephyr?
The reason I'm asking this is because I had tried using the LSM6DSL Zephyr driver on my board and I'm getting an I2C write error during device initialization. I've verified that my device I2C works because I can read/write to it via the Zephyr I2C shell commands.
Thanks.
2024-11-08 06:52 AM
Hi @jkullds ,
Yes, they are compatible!