Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 
    SOLVED

    BHI260AP Turbo mode with BMM150

    BHI260AP Turbo mode with BMM150

    dariosortino
    Established Member

    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

    2 REPLIES 2

    BSTRobin
    Community Moderator
    Community Moderator

    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-an00..., 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

     

    Thank you Robin!

    Super helpful explanation!

    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist