Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BMI270 gyro

    BMI270 gyro

    joma
    Established Member

    In Bosch Sensortec | BMI270 Data sheet:

    page 110 - Register (0x42) GYR_CONF  says that odr_6k4 is reserved.

    page 2 says: Output data rates (ODR): 25 Hz ... 6.4 kHz (gyroscope) and 0.78 Hz ... 1.6 kHz (accelerometer)

    How can I set odr_6k4 for gyro ?

    If gyro ODR is 3k2 I'm getting about 60 interrupts per sec (with my watermark settings). If I chane ODR to 6k4 I'm getting about 24 interrupts per sec.

    3 REPLIES 3

    FAE_CA1
    Community Moderator
    Community Moderator

    Hi,

    Thanks for your inquiry.

    If you set register 0x45 bit-3 gyr_fifo_filt_data to 0, then gyro unfiltered data will be filled in FIFO at 6.4KHz rate.

    Thanks.

    I set register 0x45 bit-3 gyr_fifo_filt_data to 0 but gyro data ready interrupt is still 200Hz and not 6.4KHz rate.

    Do I need to set other register?

    Minhwan
    Community Moderator
    Community Moderator

    Hello kpoon12, 

     

    Technically, you need to clear 4th bit in 0x45 register. 

    But, this is not that all for your fifo setting. 

    Therefore, I don't recommend to develop BMI270 w/o API. (If now, you are using our BMI270 API, that's great!) 

    Please BMI270 API as below URL. 

    https://github.com/BoschSensortec/BMI270-Sensor-API

    And here is the my gyro fifo 6.4k ODR example code as attaced file. 

    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