Bosch Sensortec Community

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

    Booting BHI260AB to use internal BSX firmware

    Booting BHI260AB to use internal BSX firmware

    RichT
    Member

    I am trying to work out how to use the BHI260AB out of the box without having to load it with firmware. I understand from the datasheet that it has BSX firmware preloaded however the data sheet does not explain how to activate it nor how to configure the device to boot to use it.

    Section 5.2 of the data sheet decribes the initialisation and boot modes -  of which only 2 methods are described - standalone and host boot mode. These describe booting from an externally connected QSPI flash device loaded with firmware or loading firmware via the host interface.  I wish to do neither of these, instead I wish to use the BSX firmware which according to the datasheet is stored internally in the ICCM rom and is sufficient for my needs.

    So far I have powered up the device (HOSTBOOT set high) and I am able to read the host interface registers over the I2C bus:

    BOOT STATUS reads 0x18 - host interface ready and no flash as expected, HOST STATUS  reads 0x01 - sleeping, CHIP ID reads 0x70, CHIP CTRL, HOST INTERFACE CTRL, INTERRUPT CTRL, FEATURE STATUS, INT_STATUS, ERROR all read 0x00. FEATURE STATUS indicates that BSX has not been initialised. The HOST STATUS  register indicates that none of the host DMA channels are active therefore there doesn't seem to be the option of writing anything to the DMA command channel.

    I have also tried setting HOST BOOT to low and the register results are the same.

    The chip has the following printed on it:

    • Chip ID: BHI260AB
    • Chip markings: 00X KA
    • Please find circuit diagram containing the IMU portion of our custom board attached

    The chip appears to be waiting for me to do something further, have I misunderstood the purpose of the preloaded BSX firmware?

    Thanks

    1 REPLY 1

    Vincent
    Community Moderator
    Community Moderator

    The BSX lib function is programed into BHI260AB. 

    But in order to use the sensor and initialize the sensor properly,  you MUST download the FW.  

    The execution code of BSX is also included in the FW.  

    You can choose either download FW from host MCU or external QSPI Flash.  

    But you can't skip FW download steps. 

    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