Skip to main content
DJi.1
Associate II
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,

..

    This topic has been closed for replies.
    Eleon BORLINI
    Eleon BORLINIBest answer
    ST Employee

    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

    3 replies

    DJi.1
    DJi.1Author
    Associate II

    Its urgent so please help me out.

    Eleon BORLINI
    Eleon BORLINIBest answer
    ST Employee

    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

    Got it. Thanks a lot!