I am interfacing Gyro sensor with samv71 evaluation board using I2C can u tell me how to configure Gyro sensor and read data from it.
Regards
Ujjwal Tambe
Hi Ujjwal,
I would recommend looking at our example project - FXAS21000 – Bare metal Example project.
There is also the FXAS21002 driver and sample application available as part of the ISSDK:
https://www.nxp.com/docs/en/release-note/ISSDK17RN.pdf
https://www.nxp.com/docs/en/user-guide/ISSDKGETSTARTEDUG.pdf
Best regards,
Tomas
Is it possible to do without using Interrupt technique ?
Hi Ujjwal,
Sure, it is. You can use a so called polling technique and periodically check appropriate flags (e.g. ZYXDR) in the DR_STATUS register.
Best regards,
Tomas
thank you will try .