LIS2DE12 : How to read only one new sample ?
Hello,
I'm trying to understand the LIS2DE12 behaviour. First, there is no AN (Application Note), thus I used the one for LIS3DH which seems close enough.
What I want is that my accelerometer wake up my stm32. This works.
After that I just want to read 1 sample to know the current acc value. But the FIFO system seems a problem for me. In the doc, it says the sample I get is the oldest one in the FIFO and that if I don't read fast enough data will be overwrited.
I just want to read one sample for Z-Axis when I need in my code. Do you have any idea or clue?
Thanks.
Best regards, Simon
