AnsweredAssumed Answered

ADXL345 gives erratic output data intermittently.

Question asked by on May 8, 2013
Latest reply on May 10, 2013 by neilzhao

Hello everyone,


I have been working with ADXL345 for tilt-sensing application. I'm using the SDP-B controller board which is based on the Blackfin processor BF527. I'm trying to establish an 4-wire SPI comm interface between the SDP-B and the ADXL345. I'm using the following settings:


SPI Serial CLK = 3000000 (3 MHz)

SPI Clock Polarity = 1

SPI Clock Phase = 1

Frame frequency = 0

Word size = 16


Data_Format register = 0x00  =>  Range:- 2g ;; Resolution:- 10-bit (fixed) ;;

Power_Control register = 0x08 => Switching to measurement mode from Standby mode after programming the Data_Format register.


Now, everything goes fine and the ADXL345 works as expected. But sometimes, intermittently, the ADXL345 gives 0x00 or values as per its whim as the axes output data.


I don't understand what or where the problem is. Please help me out here.



Sai Prasanth