cancel
Showing results for 
Search instead for 
Did you mean: 

LIS331DL SPI communication issue

TommyMao
Associate

Hi guys,

   I met a SPI communication issue about LIS331DL. The type of kit board is MKI153. When I tied VDDIO and VDD to 3.3V, the data from chip register by SPI isn't correct. When I only connect VDD to 3.3v, The data  is correct.  

   The register is WHO_AM_I and CTRL_REG1.  

    Tie vddio and vdd together:   WHO_AM_I register value = 0x20    CTRL_REG1 = 0x06

    In this case: vddio & vdd = 3.3v

    Only connect VDD:  WHO_AM_I register value = 0x32    CTRL_REG1 = 0x07

    In this case: vdd = 3.3v.  vddio is around 2.5v (vddio pin is floating)

    Pls see attached pictures. I can't understand this issue. Could you check it?

 

Thanks! 

 

 

2 REPLIES 2
TommyMao
Associate

Hi ST,

  Could you support this topic?

Federica Bossi
ST Employee

Hi @TommyMao ,

Have you already looked at our PID on Github to check if your writings are correct?

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.