Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    [BMI270] BMI270-Sensor-API library uses an unspecified gyro FOC setting

    [BMI270] BMI270-Sensor-API library uses an unspecified gyro FOC setting

    aloiseau
    Established Member

    BMI270-Sensor-API v2.71.8 hosted on github prepares FOCs by injecting hardcoded accel/gyro configurations BMI2_FOC_ACC_CONF_VAL and BMI2_FOC_GYR_CONF_VAL to registers ACC_CONF(0x40) and GYR_CONF(0x42).

    Value of BMI2_FOC_GYR_CONF_VAL injected to GYR_CONF(0x42) is 0xB6, that is "1 0 11 0110". As per datasheet BST-BMI270-DS000-06 this means:

    • 1 -> high-performance optimized filter
    • 0 -> low-power optimized noise
    • 11 -> ??? bandwidth (value 3 is reserved/unspecified)
    • 0110 -> 25 Hz

     

    Is gyr_bwp=3 wanted? (in which case documenting it is advised), or is it unwanted?

    Best regards

     

     

    2 REPLIES 2

    BSTRobin
    Community Moderator
    Community Moderator

    Hello aloiseau,

    Thanks for your feedback. We will check and let you know.

    aloiseau
    Established Member

    Just a note/reminder: newer BMI270_SensorAPI v2.86.1 still have this code and newer BMI270 datasheet v1.5 still have those bits reserved.

    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