06-18-2024 06:51 AM - edited 06-18-2024 10:53 AM
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.
(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
06-19-2024 04:53 AM
Hi, I just carefully reread the document 13.2.7 Configure Sensor (0x000D). Can we only change according to the following rates?
06-21-2024 04:53 AM
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.