cancel
Showing results for 
Search instead for 
Did you mean: 

Which pin does slave address of LSM9DS-magnetometer depend on ?

AJk
Associate

I was going through datasheet of LSM9DS1 (DocID025715 Rev 3) at page# 30/72 according to table-20, the bit number 1 of slave address (SAD) depends on SA1 but I couldn't find what SA1 is any where in the document. While in page# 11/72 according to table-2 least significant bit of slave address of accelerometer/gyro and magnetometer depends on pins SDO_A/G and SDO_M respectively.

3 REPLIES 3
Eleon BORLINI
ST Employee

Hi @AJk​ , the SA0 is the selection bit for acc and gyro I2C SAD, while the SA1 is for the magnetometer, and refers to the physical PINs below:

0690X00000A9SnnQAF.png

The denomination "0" and "1" could be quite misleading, but depends on the position of the bit of the Slave Address SAD (i.e. 1 Vdd, 0 GND)

0690X00000A9StvQAF.png

Regards

Sorry but this should've been SA1, is it ?

0690X00000AA1cLQAT.png

​Basically yes, the physical pin SDO_M is the bit SA0, which in case of the magnetometer is the SA1 because is the second least significant bit. Regards