Skip to main content
Visitor II
April 12, 2021
Solved

LIS2DH, bad pin configuration?

  • April 12, 2021
  • 1 reply
  • 756 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

    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