Default Sampling rate of MPU9250 in nrf connect SDK

Hi all,

I am using the gyro in MPU9250 and using the general sensor api to read the gyro values. How do I set the sampling rate of the MPU9250 ? or What is the default sampling rate ?

I could see the device tree like this

&i2c0 {
mpu9250: mpu9250@68 {
compatible = "invensense,mpu9250";
reg = <0x68>;
irq-gpios = <&gpio0 06 0>;
gyro-sr-div = <10>;
gyro-dlpf = <5>;
gyro-fs = <250>;
accel-fs = <2>;
accel-dlpf="5.05";
label = "MPU9250";
status = "okay";
};
};

Parents Reply Children
No Data
Related