LIS2DH, bad pin configuration?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-12 1:13 AM
Dear ST member,
I attached a piece of my schematics design. Can LIS2DH works with pins 3 (SA0) and 4 (CS) not connected?
Regards
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-12 2:56 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-12 2:56 AM
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
