Bosch Sensortec Community

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

    BMM350 OTP Status Reg Sign Error

    BMM350 OTP Status Reg Sign Error

    bbooher
    Member

    I'm integrating the BMM350 API into a project with a custom board and host MCU.

    The result of otp_dump_after_boot(dev) results in -12(BMM350_E_OTP_SIGN). Looking at the documentation, there's no elaboration on what the "Sign error" is or what causes it. Any supporting info would be helpful.

    4 REPLIES 4

    FAE_CA1
    Community Moderator
    Community Moderator

    Hi,

    Thanks for your inquiry.

    Please let us know a little more about the custom board and BMM350 API? Is the custom board Bosch BMM350 shuttle board or your own board or other breakout board? Did you get the latest BMM350 API from Github?

    Thanks.

    We're updating a custom board that used the BMM150 to use the BMM350. Ahead of hardware availability, we've hacked the BMM350 shuttle board to the custom host board. We've connected the eval kit to available test points and fortunately used a dedicated I2C bus and MCU peripheral. The host is the nrf5340. The original implementation uses a recent version of Zephyr packaged by Nordic.

    We've used the latest BMM350 API from GitHub and wrote a wrapper to leverage the BMM I2C and sensor interfaces - similar to what was done for the BMM150. In the bmm350_init() function, we get the above "Sign Error" as a result of the "otp_dump_after_boot()" function call.

    FAE_CA1
    Community Moderator
    Community Moderator

    Hi,

    In the bmm350_init(), have you got the correct BMM350 chip before you got the "Sign Error" message? Could you please show us the source code of the wrapper you wrote?

    Thanks.

    We did get the correct Chip ID. And most of the source code for the wrapper at this point is moot, since we're only in the init function.

    We got the custom hardware in, and things are working as expected - I'm going to chalk it up as an error hacking the devkit to old hardware. However, it still would be helpful to have more documentation about the Sign Error flag in the status register and what that means.


    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