04-29-2021 10:47 AM
Hello,
First of all, I believe this topic is not exclusive to the BMA253 sensor, but is more general to all Bosch accelerometers.
I run the BMA253 in lowpower mode 2, and the sleepttimer in equidistant-sampling mode. I have activated the high-g interrupt and catch this event. In my ISR I would like to read the FIFO to store the value(s) that led to the interrupt (with a timestamp). Unfortunately I don't get a value that is above the threshold when I read the FIFO after an interrupt.
The question a bit more concrete: Are the values generated by the interrupt engine stored in the FIFO at all?
I would be glad about helpful answers
Solved! Go to Solution.
05-04-2021 04:45 PM
Hi,
If you use BMA253 LPM2 in event-driven sleep mode (EDT) instead of EST, then when a high-G interrupt occurred, BMA253 will stay in normal mode and fill data samples in FIFO very fast. If you read FIFO quickly then you should be able to see data samples in FIFO beyond the high-g threshold.
Thanks.
05-04-2021 05:34 PM
Ok thanks for your help, that was very informative.
Then the EDT mode will not be the solution to my problem.
Anyway you helped me to understand the BMA253 a little better.