Skip to main content
DJi.1
Associate II
March 25, 2020
Solved

Sensor: LIS3DH. If I wire the SDO/SA0 to VDD, as pointed in the attached picture, will it cause any problems while using i2c? I currently can't READ and I am trying to identify the problem. Thanks,

  • March 25, 2020
  • 2 replies
  • 1081 views

..

    This topic has been closed for replies.
    Best answer by Eleon BORLINI

    Hi @DJi.1​ , the SDO/SA0 pin is internally pulled up, so no problem if you pull it up from outside. It is only used to define the slave address as described in the picture below, p.25 of the datasheet:

    0693W000000UijyQAC.png

    So if you keep it fixed to Vdd, you will be able to use only the b0011001 slave address (33h and 32h depending on the R/W case).

    Regards

    2 replies

    DJi.1
    DJi.1Author
    Associate II
    March 25, 2020

    Its urgent so please help me out.

    Eleon BORLINI
    Eleon BORLINIBest answer
    ST Employee
    March 25, 2020

    Hi @DJi.1​ , the SDO/SA0 pin is internally pulled up, so no problem if you pull it up from outside. It is only used to define the slave address as described in the picture below, p.25 of the datasheet:

    0693W000000UijyQAC.png

    So if you keep it fixed to Vdd, you will be able to use only the b0011001 slave address (33h and 32h depending on the R/W case).

    Regards

    DJi.1
    DJi.1Author
    Associate II
    March 25, 2020

    Got it. Thanks a lot!