Skip to main content
Visitor II
July 19, 2024
Solved

LIS2DW12 Unable to communicate through I2C

  • July 19, 2024
  • 3 replies
  • 1492 views

Hi,

 

I am using the LIS2DW12 on my board communicating over I2C with the nRF52840.  I have not yet been able to communicate with the accelerometer at all, and all attempts to read or write end the same way (see screenshot)

I have the CS and SA0 lines both pulled up to VDD, and VDDIO is tied to VDD because they are the same voltage, 1.8V.  Could there be an issue with VDD and VDDIO being the same rail? 


    This topic has been closed for replies.
    Best answer by cwhitelo1454

    Turns out the manufacturing house used the LIS2DS12 instead of the LIS2DW12 that was on the BOM....

    3 replies

    Graduate II
    July 20, 2024

    Should work as described. Look for other causes.

    Check the schematic, check the pins/orientation

    Try both the (0x18<< 1) and (0x19<< 1) addresses (high order 7-bit)

    Super User
    July 20, 2024

    Hi,

    from ds

    >  If the SA0/SDO pin is connected to the supply voltage, the address is 0011001b,

    So use 0x32 / 0x33 (w/r) as its address .

    cwhitelo1454AuthorAnswer
    Visitor II
    July 23, 2024

    Turns out the manufacturing house used the LIS2DS12 instead of the LIS2DW12 that was on the BOM....