Hello.
I configured the MMA8451Q with ODR = 800Hz, so I can read the acceleration's components with a 1,25 ms sample period.
The polling mode is ok, I can do a read with 800Hz sample frequency.
But I can do it in "interrupt mode" (I configured MMA8551 as described in AN4076) because I see the interrupt pulse every 24 ms (about 40 Hz).
Why?
Thanks
Hello Mauro,
Thank you very much for writing.
In this case, I highly recommend to use the sample project from the link below as a reference for your application:
https://community.nxp.com/docs/DOC-98836
Please note that in the project, the interrupt mode is used.
Please let me know if you have any further question and I will be glad to help you.
Best Regards,
David