Skip to the content.

LSM6DSM

Requirements

The LSM6DSM can operate in four modes. Only mode 1 (host <-> device) and communication over I2C will be described here.

Pins

Registers

See Chapter 9 of the datasheet for the register mapping.

Common actions

Who am i

The device can be asked for its Who-Am-I value to make sure that I2C is working. The WAI register address is 0x0F and contains the value 0b01101010 or 0x6A.

To read the register, the master node must do the following: