Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    Unable to Change Sample Rate for BHI360 and BMM350 Sensors

    Unable to Change Sample Rate for BHI360 and BMM350 Sensors

    mobile_lam
    New Poster

    Hi Bosch team,

    I'm working with the BHI360 and BMM350 sensors, but I can't change the sample rate for the accelerometer, magnetometer, and quaternion data streams. These are currently fixed at 100Hz. Is there any way to modify the sample rate to 64Hz for these sensors? I would like to lower the sample rate to conserve power and memory usage in my application. Any guidance on how to achieve this would be greatly appreciated.

    mobile_lam_0-1718686275775.png

     

    (11:47:10.301) I: BHI360 found. Product ID read 89
    (11:47:10.323) I: Host interrupt control
    (11:47:10.323) I: Wake up FIFO enabled
    (11:47:10.323) I: Non wake up FIFO enabled
    (11:47:10.323) I: Status FIFO disabled
    (11:47:10.323) I: Debugging disabled
    (11:47:10.323) I: Fault enabled
    (11:47:10.323) I: Interrupt is active low
    (11:47:10.323) I: Interrupt is pulse triggered
    (11:47:10.323) I: Interrupt pin drive is open drain
    (11:47:10.353) I: Loading firmware into RAM
    (11:47:13.766) I: Booting from RAM
    (11:47:14.647) I: Boot successful. Kernel version 5991
    (11:47:14.666) I: [META EVENT WAKE UP] Firmware initialized. Firmware version 5991
    (11:47:14.666) I: [META EVENT] Firmware initialized. Firmware version 5991
    (11:47:14.740) Enable IMU_ACC_SENSOR at 64.00 Hz
    (11:47:14.763) Enable IMU_MAG_SENSOR at 64.00 Hz
    (11:47:14.763) Enable IMU_QUA_SENSOR at 64.00Hz.
    (11:47:14.822) I: [META EVENT] Power mode changed for sensor id 4
    (11:47:14.822) I: [META EVENT] Sample rate changed for sensor id 4
    (11:47:14.822) I: [META EVENT] Power mode changed for sensor id 22
    (11:47:14.822) I: [META EVENT] Sample rate changed for sensor id 22
    (11:47:14.845) I: [META EVENT] Power mode changed for sensor id 34
    (11:47:14.845) I: [META EVENT] Sample rate changed for sensor id 34
    (11:47:14.845) I: [META EVENT] Accuracy for sensor id 4 changed to 0
    (11:47:14.845) I: [META EVENT] Accuracy for sensor id 22 changed to 0
    (11:47:15.929) I: [META EVENT] Accuracy for sensor id 4 changed to 1



    2 REPLIES 2

    mobile_lam
    New Poster

    Hi, I just carefully reread the document 13.2.7 Configure Sensor (0x000D). Can we only change according to the following rates?

    mobile_lam_0-1718765603107.png

     

    BSTRobin
    Community Moderator
    Community Moderator

    Hi mobile_lam,

    Thanks for your inquiry.
    Yes, you can change sample rate according the description in BHI360 data.
    It doesn't support change sample rate to 64 Hz, you can only use the sample rate described in data sheet.

    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