Hi,
I am trying to configure ADXL372. I am trying to detect the activity & inactivity without any interrupts.
The activity threshold is set as 4g and inactivity threshold as 2g. Following are the register values which are assigned.
time_act=0x02
time_inact=0x0001
timing=0x60
measure=0x20
power_ctl=0x0B
The device is in loop mode with 3200Hz ODR with 200Hz bandwidth and also enabling LPF. The settling time is set to 370ms and sclk is working at 5MHz.
According to the datasheet in loop mode when there is inactivity then awake bit =0 and when activity is detected then awake bit=1.
When the device is at rest awake bit =0 which is correct and when device ID is read it gives correct value but when some vibrations are given then awake bit doesn't become 1 & when device ID is read it gives correct value.
Sometimes when multiple vibrations are given MISO gets stuck to 1 and even device ID is read as 0xFF.
Best regards
Rahul
