Skip to main content
Visitor II
August 6, 2019
Question

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

  • August 6, 2019
  • 1 reply
  • 999 views

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.

    This topic has been closed for replies.

    1 reply

    ST Employee
    August 13, 2019

    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

    AJkAuthor
    Visitor II
    August 21, 2019

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

    0690X00000AA1cLQAT.png

    ST Employee
    September 4, 2019

    ​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