当我在初始化bmi270后,配置ACC和gyro参数,acc是失败的但是返回的是BMI2_E_GYRO_INVALID_CFG,而gyro却可以配置成功,不知道是什么问题
Hi jiajun5,
Failed to configure accel, it should return BMI2_E_ACC_INVALID_CFG, and your return is BMI2_E_GYRO_INVALID_CFG。 Can you confirm?
What macro definitions are enabled in your code?
In addition, the read/write length is too small, which will affect the speed of downloading firmware.
bmi270dev. read_ write_ len =2;