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.