ADXL345 in SPI is not working.

22 Oct 2015

Hello, I'm working on 3-axis sensor. I'm getting results when i connect in I2C but not in SPI. I could see all zeros. 000 000 etc some times -1 -1 -1. My connections are fine. Mine is nucleo-L053R8 board. My connectione are SCL = SCK SDA = MOSI SDo = MISO VS = 3.3V CS

Kindly suggest me. Thank you.

02 Nov 2015

It is the problem with beakout board. Switched to sparkfun board. And it is working fine.