AnsweredAssumed Answered

My ADXL375 refuse to start mesures

Question asked by Djnoc on May 29, 2017
Latest reply on Jun 1, 2017 by Djnoc

My ADXL375 refuse to start mesures, after change the 2D register, i can't read any registers.

 

here my code for initialize my ADXL

 

I2cWrite(&I2c, ADXL375W ,0x2D, 0x07 ); //POWER_CTL SLEEP 1Hz sampling rate
I2cWrite(&I2c, ADXL375W ,0x2C, 0x1C ); //BW_RATE Set data rate to 400Hz
// I2cWrite(&I2c, ADXL375W ,0x2C, 0x08 );//BW_RATE 44
I2cWrite(&I2c, ADXL375W ,0x2F, 0x00 ); //Set activity interrupt to INT1
I2cWrite(&I2c, ADXL375W ,0x2E, 0x10 ); //INT_ENABLE 80
I2cWrite(&I2c, ADXL375W ,0x31, 0x2B ); //DATA_FORMAT INVERT IRQ
I2cWrite(&I2c, ADXL375W ,0x2D, 0x08 ); //POWER_CTL

 

Read result after that :

29 : FAIL
30 : FAIL

 

Djnoc

Outcomes