BHI260AP Turbo mode with BMM150

Dear Community,

I wanted to achieve an ODR from the Rotation Vector virtual sensor of the BHI260AP of 800 Hz. In order to achieve so, I need to set the turbo mode, writing on the chip control register.

I have some concerns regarding the firmware that I need to use. Currently, I am using  Bosch_APP30_SHUTTLE_BHI260_aux_BMM150.fw.h from BHY2-Sensor-API/firmware/bhi260ap at master · BoschSensortec/BHY2-Sensor-API · GitHub 

I see that on that page there is also "turbo" firmware, but with no reference to the BMM150, nor to the fact that it's connected to the auxiliary interface. What should I do in this case? Consider that in my final custom board I will connect the BHI and the BMM as it's done in the shuttle board, and I will access the BHI using I2C.

Thanks a lot,

Dario

Best reply by BSTRobin

Hi dariosortino,

Bosch_APP30_SHUTTLE_BHI260_turbo_aux_BMM150.fw was not released on github.

The attachment is the generated firmware and *.h file for your reference. You can also compile and generate the firmware yourself.

Download SDK for BHI260AP (with BSX) SDK v1.1.8.0 from https://www.bosch-sensortec.com/products/smart-sensors/bhi260ap/

Refer BHI260 SDK start guide https://www.bosch-sensortec.com/media/boschsensortec/downloads/application_notes_1/bst-bhi260ab-an000.pdf, setup your development environment, build SDK.

Add file Bosch_APP30_SHUTTLE_BHI260_turbo_aux_BMM150 to folder "BHI260AP_SDK_1.1.8.0\boards" and add "Bosch_APP30_SHUTTLE_BHI260_turbo_aux_BMM150" to file "BHI260AP_SDK_1.1.8.0\common\config.7189_di03_rtos_bhi260.cmake".
##################################################################################
############################## Board Configurations ##############################
##################################################################################
IF(NOT BOARDS)
set(BOARDS

Bosch_APP30_WRD_BHI260_turbo
Bosch_APP30_WRD_BHI260
Bosch_APP30_WRD_BHI260_BMP390
Bosch_APP30_WRD_BHI260_BME68x
Bosch_APP30_WRD_BHI260_aux_BMM150

Bosch_APP30_SHUTTLE_BHI260_turbo
Bosch_APP30_SHUTTLE_BHI260
Bosch_APP30_SHUTTLE_BHI260_BMP390
Bosch_APP30_SHUTTLE_BHI260_BME68x
Bosch_APP30_SHUTTLE_BHI260_aux_BMM150
Bosch_APP30_SHUTTLE_BHI260_turbo_aux_BMM150

#Example data injection firmware
#DataInject
#DataInject_nobsx
)
ENDIF()

Rebuild SDK, then you can find firmware file "Bosch_APP30_SHUTTLE_BHI260_turbo_aux_BMM150.fw" under "BHI260AP_SDK_1.1.8.0\release\gccfw" folder

There is tool which could convert firmware file to "*.h" file under "C:\COINES\v2.7.0\examples\bhy2\examples\fw2h" after you installed Coines software.
Run mingw32-make to compile this tool, and you can convert Bosch_APP30_SHUTTLE_BHI260_turbo_aux_BMM150.fw to Bosch_APP30_SHUTTLE_BHI260_turbo_aux_BMM150.fw.h by the command:
fw2h.exe Bosch_APP30_SHUTTLE_BHI260_turbo_aux_BMM150.fw

 

Bosch_APP30_SHUTTLE_BHI260_turbo_aux_BMM150.zip
202.94KB
View original
2 replies
Resolved