Bosch Sensortec Community

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

    BMI088 accelerometer noise too high

    sebmadgwick
    Established Member

    Re: BMI088 accelerometer noise too high

    I can confirm that this change fixes the issue. Thank you.

    My original code follows the example provided by Bosch. Anyone else following this example will have the same issue. I suggest that the example is updated.  There are other errors in the example code which are straightforward to fix.  Would you like to open a pull-request with the fixes?

    FAE_CA1
    Community Moderator

    Re: BMI088 accelerometer noise too high

    Hi,

    Thanks for the update.

    The example code on the Github is ok without any issues. After soft-reset, the code brings BMI088 accel and gyro to normal mode. Then the code loads config file. After the config file is loaded successfully, the code starts to configure accel and gyro respectively. If loading the config file is at the end, then these accel and gyro configurations will be lost. Therefore, the example code is fine.

    Thanks.

    sebmadgwick
    Established Member

    Re: BMI088 accelerometer noise too high

    The example code does not run without issue. The example code results in poor accelerometer noise, and does not compile due to use of definitions (BMI08X_ACCEL_SYNC_DATA_RDY_INT and BMI08X_GYRO_DATA_RDY_INT) that have since been renamed in the API.  I am talking about this example code:

    https://github.com/BoschSensortec/BMI08x-Sensor-API/blob/master/DataSync.md

    The example code is in error according to your own statements:

    1. "you should place "bmi08a_load_config_file(&bmi088);" right after the "bmi08a_soft_reset(&bmi088);"
    2. "After soft-reset, the code brings BMI088 accel and gyro to normal mode. Then the code loads config file."

    I do not require further support on this topic but I suggest the example code is fixed so that others do not have the same problem.  I am happy to create a pull request if that would be of use.

    FAE_CA1
    Community Moderator

    Re: BMI088 accelerometer noise too high

    Hi,

    Yes, please create a pull request. Thanks.

    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