Mayny thanks for your answer. I read in the link you provided that there are 2 types of offsets: static and dynamic. Does it mean the FOC isn't sufficient as it only corrects the static offset? Is there any documentation about the dynamic offset? In my application, I am integrating the accelerometer outputs to determine the position. I am having drift in the position by simply integrating the data even with using FOC. This means there is still some error I need to composate in dynamic. Also, for the FOC, I'd like to store the offsets in NVM to be used all the time. I am calling the API bmi160_update_nvm() just after runningbmi160_start_foc(). Is that correct? Thank you for your help. Regards
... View more