06-08-2023 05:40 AM
[Current settings]
1. interface: I2C fast mode 400Khz
2. address: 0x68
[Problem]
As shown in the attached, -2, -9 error code is generated when BMI270 is initialized during initial boot of the terminal
Afterwards, if bmi270 is reinitialized, normal booting and reading sensor values (retry is random, but usually booting normally after about two times)
[Code]
rslt = bmi270_init(&bmi270Dev);
bmi2_error_codes_print_result(rslt); --> Outputs code generated here
Solved! Go to Solution.
06-08-2023 05:05 PM
Hi mgchoi,
-2 return value means communication error. If communication error occurs, loading config file failed and return -9.
You can check your code in bmi2_interface_init() function.
06-09-2023 05:54 AM
Thank you for your answer.
It's settled.
06-09-2023 10:16 AM
Welcome, mgchoi.
Good news.
06-12-2023 08:12 AM
Hi, BSTRobin
1. For BMI270 what's the difference if there's no AVG and only BW?
I have 2/1 and 4/1 settings as below, but if I set ODR to 100HZ and set it to Half, does the data output to 50hz?
Am I right in understanding?
2. Power Mode
- - Low Power Mode
- - Normal mode
- - High performance mode
** Are there any files with restrictions for each of the above 3 modes? It is not written separately in Datasheet.
e.g. Maximum ODR, RANGE, BW, AVG etc…