11-02-2022 03:37 PM
I am working on BMI270 bring up with shuttle board and TI MCU via 4-wire SPI interface, cloned the codes from gitbub and now I can read chip ID (0x24) and loading firmware.
But I always got error after firmware loading and the functions are not actual working.
Error [-9] : Configuration load error. It occurs when failure observed while loading the configuration into the sensor
I read the "BMI2_INTERNAL_STATUS_ADDR" register got "0x00" value which mean not initialized...
I also did a testing, to write register BMI2_INT2_IO_CTRL_ADDR (This address is R/W) to see whether it change as expected after I write it.
Sometimes, it will write into address, but also failure a lot.
Is there anyting wrong on SPI interface coding or any other possible root cause???
Thanks in advance.
11-04-2022 07:45 AM
Just fix it by finding a proper delay time per spi speed and each time spi write .
11-07-2022 07:48 AM
Good news, AichiChen.