cancel
Showing results for 
Search instead for 
Did you mean: 

Is LSM6DSL Zephyr driver compatible with LSM6DSM?

jkullds
Associate II

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.

0 REPLIES 0