02-02-2022 11:23 PM
02-03-2022 12:06 AM
Hello godlyblade,
For BMX160, you need to use our BMI160 and BMM150 API.
https://github.com/BoschSensortec/BMI160_driver
https://github.com/BoschSensortec/BMM150-Sensor-API
And there are delay functions accordingly. ( BMM150 - delay_us, BMI150 - delay_ms)
You can check that where is delay function when you need it.
Also, you can find some delay information for BMX160 in our datasheet as well.
https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmx160-ds0001.pdf
Thanks,
02-03-2022 06:13 AM
02-03-2022 11:34 PM
Hello,
Our API delay code refers to datasheet, so it mentions not only FOC and self test, but also other parts.
Some comments don't match with current datasheet numbering, but could cover it.
I checked BMI160 API and there are comments why there is delay.
If you can't use our API for your limitation, please refer to our delay point in API.
I can capture sensor read for you based on API example. ( I think I already did for you though)
Thanks,