Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BMI08x config file loading, when not using data sync -- mandatory or not?

    BMI08x config file loading, when not using data sync -- mandatory or not?

    knieriem
    Member

    Hi,

    I have found different statements about whether using bmi08a_load_config_file, which transfers a 6 KiB binary object to the sensor using reserved registers, is a mandatory initialization step, before reading accelaration data, or not:

    @BSTRobin states  that loading the config file is a mandatory step before getting data.

    In another post, @Mark2018 writes:

    5. The config file contains the configuration for the sync feauture, the feature will not work without loading that config into the sensor. But the configuration does not effect the quality of the sensor signals, the sensor works fine without the configuration.

    This suggests that loading the config file is not mandatory, if one doesn't need data synchronization. It also appears from my own tests with a BMI088, that I can read acceleration data out of the sensor, even without loading the config file.

    Since the download of that config data utilizes registers documented as "reserved", I would find it helpful if the data sheets could be updated with a short explanation about the config file and feature configuration functionality and the exact conditions, when it should/must be used. Also, there exist tables like the one in this reply, that I could not find in recent datasheets (2021/Nov and 2022/Jan) or the Design Guide .
    In this context, in the Github driver, bmi08a.c in line 2888 regarding reserved registers ACCEL_INIT_CTRL/ACCEL_INTERNAL_STAT contains the comment

    /* Wait till ASIC is initialized. Refer the data-sheet for more information */

    but the actual information in the data sheets appears to be missing.

    BTW, does loading the 6 KiB config file alter the sensor in a permanent way, e.g. by some flash like mechanism? Or is the change lost after removing power? 

    Regards,
    Michael

    8 REPLIES 8

    BSTRobin
    Community Moderator
    Community Moderator

    Hello knieriem,

    It didn’t mention in BMI08x data sheet that BMI08x had this limitation of 32 byte.
    On the other hand, the SPI length supported by host MCU may be greater than 32 bytes.
    So you could ignore the comment: "maximum supported length is 32" in bmi8x_defs.h.

    BSTRobin
    Community Moderator
    Community Moderator

    Hello knieriem,

    To avoid misunderstanding, we had modified the comment "maximum supported length is 32" to "To be set by the user" in bmi8x_defs.h for github code.

    Hello BSTRobin, thanks for updating the comments in the driver code.

    BSTRobin
    Community Moderator
    Community Moderator

    Thanks for your feedback, knieriem.

    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