AnsweredAssumed Answered

Wrong output 0 0 0 or -1 -1 -1 for ADXL345 accelerometer in SPI

Question asked by vinnakota.mohan_gand on Oct 27, 2015
Latest reply on Oct 29, 2015 by Marchese.Graziella

I'm programming the ADXL345 3-axis sensor for my thesis project. Initially i made the program in I2C and its working fine. Later on i switched to SPI mode for better speeds. Unfortunately the device is not working in SPI. The device address is 0x00  always. 
I double checked my all connections. They are perfect.  I put some delay after CS also. still no output. Kindly some one help me out. Thank you.