Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BHI360 error 0x22 on init.

    BHI360 error 0x22 on init.

    JAS
    Member

    ****

    EDIT: It turns out that this was a combination of hardware issues and software issues. Updating to the latest version of the software and trying a different PCB fixed the issue.

    When I initially took the screen cap, I was using the incorrect firmware version, BHI360_BMM150.fw.h.

    Sometime between the screen cap and upgrading the material, the magnetometer got damaged. Testing a new board with the correct firmware fixed the problem.

    ****

    Hi, 

    I am developping an application using The BHI360 and a BMM350 magnetometer.

    I initially tested the firmware using the shuttle board and had no issues:

    https://au.mouser.com/datasheet/2/783/bst_bhi360_sf000-3177036.pdf

     

    I have now made a custom board, which has only the BHI360 and BMM350 (no other auxillary sensors). When I call 

    bhy2_upload_firmware_to_ram I get the error 0x22 ("[Sensor error] Sensor Init Failed: No Response from Device"). This error does not occur on the shuttle board.
     
    I have taken some measurements, and it seems that the IMU is able to talk to the Magnetometer (see attached image below). 
     
    What does error 0x22 mean? Do you have any suggestions? I am using firmware 
    BHI360_BMM350C.fw.h
     
    1 REPLY 1

    BSTRobin
    Community Moderator
    Community Moderator

    Hi JAS,

    You need to refer to BHI360 shuttle board 3.0 schematic and check your own hardware design.

    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