Skip to main content
jartigas
Associate II
April 12, 2021
Solved

LIS2DH, bad pin configuration?

  • April 12, 2021
  • 1 reply
  • 1079 views

0693W000008zEnmQAE.jpgDear ST member,

I attached a piece of my schematics design. Can LIS2DH works with pins 3 (SA0) and 4 (CS) not connected?

Regards

    This topic has been closed for replies.
    Best answer by Peter BENSCH

    You are using the LIS2DH in I2C mode, where:

    • CS must be set high (see datasheet, sections 3 and 5)
    • SA0 provides the less significant bit of the device address and therefore must be either set high or low, depending on your needs. Set one of the two levels if it is the only device on the I2C and you are not expecting a specific address. Otherwise, see Table 14 in the data sheet.

    When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

    Good luck!

    /Peter

    1 reply

    Peter BENSCH
    Peter BENSCHBest answer
    ST Technical Moderator
    April 12, 2021

    You are using the LIS2DH in I2C mode, where:

    • CS must be set high (see datasheet, sections 3 and 5)
    • SA0 provides the less significant bit of the device address and therefore must be either set high or low, depending on your needs. Set one of the two levels if it is the only device on the I2C and you are not expecting a specific address. Otherwise, see Table 14 in the data sheet.

    When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

    Good luck!

    /Peter

    In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.