Skip to main content
Gowtham sk
Associate
April 13, 2018
Question

Unable to read Who_Am_I of LIS3DSH using I2C

  • April 13, 2018
  • 2 replies
  • 756 views
Posted on April 13, 2018 at 13:36

Hello Guys,

I am facing a little problem here in reading the who_am_I register of the LIS3DSH which is on the development board. Here are the details.

The board I'm using is STM32F40G (ver MB997D). I am using CubeMX to generate the code.

Wiring.  SCL -- PA5

SDA -- PA7 

Master

MasterHeader 3

I2C1_SDA (PINB7) ---------- PA7 (SDA of the sensor)  

I2C1_SCL (PINB6) ---------- PA5 (SCL)

 

3V Pin                     ---------- PA6 (SEL/SDO)

 

          

LIS3DSH

LIS3DSH

    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    April 13, 2018
    Posted on April 13, 2018 at 18:03

    Cross posted on MEMS with more details

    https://community.st.com/0D50X00009XkWS2SAN

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Gowtham sk
    Associate
    April 13, 2018
    Posted on April 13, 2018 at 19:01

    Sorry for the incomplete post. Can this be deleted by the mods?