Present i am working with BMI160 IMU, For reading ACC, GYRO and MAG data.
Till now i am able to read ACC and MAG Raw data correctly, But Gyro data is not comming properly.
When i place IMU in rest position ACC data comming like X=0.00 , Y =0.00 , Z= +/-1.000 but gyro data is not stabilized,it is comming like X= -5 , Y = -2 , Z =1
etc without FOC. So i want to implement FOC for avoiding gyro drift.
Can any one sugest me , how implement it in BMI160?
Is it possible to implement FOC in ACC low powert mode?
Is it possible to implement FOC only for gyro readings?
Thank you in advance
Solved! Go to Solution.
You can configure FOC for BMI160.
Could you please check below URL?
There is some example code for FOC.