Hi,
Greetings for the day !
I am using ADXL345 with SPI communication in my project. I configured ADXL345 in
-> Full resolution mode with +/- 16g,
-> data rate 400Hz,
-> SPI clock frequency as 327.6KHz
-> Operating in Bypass mode
-> Mapped Data Ready interrupt to INT1 and enable Data Ready interrupt.
I have to read 100 samples of X,Y,Z values from ADXL345 and i am reading the data only when data ready interrupt occurs. but the problem is there is no consistency in timing of data. (i.e., the time period varies from sample to sample).
You can find the screenshots of them below.
What should i do to get a consistent data from ADXL345 ?
Am i missing anything ?
Any help would be appreciated.
Thank you.
Rajkumar
Greetings for the day !
I am using ADXL345 with SPI communication in my project. I configured ADXL345 in
-> Full resolution mode with +/- 16g,
-> data rate 400Hz,
-> SPI clock frequency as 327.6KHz
-> Operating in Bypass mode
-> Mapped Data Ready interrupt to INT1 and enable Data Ready interrupt.
I have to read 100 samples of X,Y,Z values from ADXL345 and i am reading the data only when data ready interrupt occurs. but the problem is there is no consistency in timing of data. (i.e., the time period varies from sample to sample).
You can find the screenshots of them below.
What should i do to get a consistent data from ADXL345 ?
Am i missing anything ?
Any help would be appreciated.
Thank you.
Rajkumar