AnsweredAssumed Answered

ADXL345 Data_Ready interrupt help.

Question asked by 9121989114 on Mar 12, 2014
Latest reply on Oct 20, 2016 by Anthony.DeSimone

Hi there,

 

I am currently trying to implement the ADXL345 into a project but am coming across issues with the Data_ready interrupt. I am only using this interrupt in order to sample data at the full 3200Hz

 

I initiate the device in the following way:

Set the sample rate to 3200,

Set the Dataformat to 0x0B: Full res at -+16g.

Enable the DataReady Interrupt: 0x80

Map to pin one: 0x00

Bypass FIFO: 0x01

PowerCtl: 0x08

 

I then read the acceleration data to clear the interrupt.

 

This however is not detected by my microcontroller (Tiva C Launchpad). I am using I2C and I am able to communicate with the accelerometer.

 

The interrupt is set up correctly on the Tiva C as it working with a previous accelerometer.

 

Thanks in advance.

Thom.

Outcomes