I am using the BHI260 Shuttle-Board using an nRF5340 as a Host via I2C.
My goal is to read Quaternion data at 800 Hz and to achieve so, I'm using the firmware shared in https://community.bosch-sensortec.com/t5/MEMS-sensors-forum/BHI260AP-Turbo-mode-with-BMM150/m-p/6244...
The Chip Control Register (0x05) is correctly set to 0, but even if I try to set 800 Hz as the sampling frequency, in practice it caps it at 400.
Any clue on how to solve/how to debug it?
yes I am using Bosch_APP30_SHUTTLE_BHI260_turbo_aux_BMM150.fw
I'm starting to wonder if the problem is in using I2C instead of SPI, but in the datasheet, I cannot find something that is explaining this behaviour.
In addition to using firmware with turbo,you could refer the following suggestions and test it again.
1.Use SPI instead of I2C;
2.Do not print any logs in the code, such as debugging information in the callback function through the serial port;
3.In addition to obtaining Quaternion, try not to enable other virtual sensor IDs.