Thank you very much. I understood it. Now I found that software has the following problem: In write_config_file(), after rslt = bmi2_set_adv_power_save(BMI2_DISABLE, dev); I read chip_id and found that dummy_read = 0xff; rslt = bmi2_get_regs(BMI2_CHIP_ID_ADDR, &dummy_read, 1, dev); also after rslt = bmi2_set_regs(BMI2_CMD_REG_ADDR, &data, 1, dev); when run rslt = bmi2_get_regs(BMI2_CHIP_ID_ADDR, &dummy_read, 1, dev); I got dummy_read = 0xff; looks like when I send any command to BMI270, will get chip_id=0xff. However, at beginning of software to read chip_id, it successfuly return 0x24. What is the problem? Thanks in advance.
... View more