Skip to main content
Visitor II
January 22, 2015
Question

LIS3DH no Acknoledge

  • January 22, 2015
  • 1 reply
  • 1411 views
Posted on January 22, 2015 at 19:04

Good morning,

Our company is developing a vending machine that includes your sensor LIS3DH controled by one STM32 microcontroller. 

But until now we haven't get it to receive even the first acknolege response from the LIS3DH. The communications are made by I2C, and the module is connected following the instruccions of datasheet.

We have checked the signal of the I2C with the oscilloscope and it seems right, despite there is no response from the device.

You can find attached 

The schema of the connections and a simplified version of the code. (in this case we are just asking a response of the testing answer WHO_AM_I)

Could anyone help us? What are we doing wrong?

Thanks in advance
    This topic has been closed for replies.

    1 reply

    Explorer
    February 24, 2015
    Posted on February 24, 2015 at 13:11

    Hello,

    Try the device driver from

    http://www.st.com/web/en/catalog/tools/PF257531

    I'm using this with the I2C code that CubeMX generated and I can communicate normally.