Hi pedro_nf,
There is BMI270 example code on github https://github.com/boschsensortec/BMI270-Sensor-API/blob/master/bmi270_examples/accel_gyro/accel_gyro.c, you could set ODR value according your application.
/*! Accelerometer Output Data Rate */ #define BMI2_ACC_ODR_0_78HZ UINT8_C(0x01) #define BMI2_ACC_ODR_1_56HZ UINT8_C(0x02) #define BMI2_ACC_ODR_3_12HZ UINT8_C(0x03) #define BMI2_ACC_ODR_6_25HZ UINT8_C(0x04) #define BMI2_ACC_ODR_12_5HZ UINT8_C(0x05) #define BMI2_ACC_ODR_25HZ UINT8_C(0x06) #define BMI2_ACC_ODR_50HZ UINT8_C(0x07) #define BMI2_ACC_ODR_100HZ UINT8_C(0x08) #define BMI2_ACC_ODR_200HZ UINT8_C(0x09) #define BMI2_ACC_ODR_400HZ UINT8_C(0x0A) #define BMI2_ACC_ODR_800HZ UINT8_C(0x0B) #define BMI2_ACC_ODR_1600HZ UINT8_C(0x0C)
/*! Gyroscope Output Data Rate */ #define BMI2_GYR_ODR_25HZ UINT8_C(0x06) #define BMI2_GYR_ODR_50HZ UINT8_C(0x07) #define BMI2_GYR_ODR_100HZ UINT8_C(0x08) #define BMI2_GYR_ODR_200HZ UINT8_C(0x09) #define BMI2_GYR_ODR_400HZ UINT8_C(0x0A) #define BMI2_GYR_ODR_800HZ UINT8_C(0x0B) #define BMI2_GYR_ODR_1600HZ UINT8_C(0x0C) #define BMI2_GYR_ODR_3200HZ UINT8_C(0x0D)
... View more