cancel
Showing results for 
Search instead for 
Did you mean: 

LSM6DS3 spi interface always gives low output

n239955
Associate
Posted on August 11, 2016 at 13:03

I am working on STEVAL-MKI160V1 board which has LSM6DS3 sensor. I want to interface board to AARDVARK I2C/SPI adapter using which I can generate I2C/SPI signals to the sensor. I connected sensor board to adapter, using SPI serial protocol, which gives 00 when I read WHO_AM_I register. If I interchange MISO and MOSI connections, it gives FF to the same register. What does these output values try to tell me. What should I understand? can any one help me. I could succeed reading WHO_AM_I register by using I2C.

3 REPLIES 3
louda.marian
Senior
Posted on October 07, 2016 at 18:56

Hello,

please check if you have CS at low level during SPI communication.

Marian

Hao Zhang
Associate
Posted on July 08, 2018 at 08:33

Hello, I have the same issues with the LSM6DS3 when I use SPI to communicate. The WHO_AM_I value that I read is 0x40, and I can't read and write register. I measured the CS, and it is low during the reading process. Any idea about this. 

Hao

Posted on July 09, 2018 at 11:06

What is your SPI configuration?

Do you have a scope or logic analyzer which you can use to capture the SPI communication? It would be very helpful.