In callback function, you can call bhy2_get_calibration_profile() function to save calibration profile until accuracy reach to 3. After next power on, you can call bhy2_set_calibration_profile() function to set previous saved calibration profile to BHI260. I uploaed a example on STM32 for your reference. I hope it will be helpful for you.
... View more