Hello all,
I am currently integrating a BMI270 in my embedded system.
I have a correct SPI communication and I am able to read the CHIP ID (reg 0x00) with value 0x24.
I am following this sequence:
Readi CHIP-ID
SW_Reset
10ms delay
Write 0x02 to 0x7C register
10ms delay
Write 0x00 to 0x59 register
In this step if I read the register 0x7C I see 0x03 and not 0x02
I write the config file 2 bytes at a time.
If after writing I read any of the registers (0x5B, 0x5C 0r 0x5E) I get always the same value and not related with the one I just wrote.
Write 1 to 0x59 register
If I read the 0x59 register with or without delay, never holds the value of 1.
Write 0x03 to 0x7C to enable power save mode
If I read 0x21 I get the value 0x00.
I have the impression that some registers are not doing what they should. In the SPI trace with an oscilloscope everything seems ok and I can still read CHIP-ID.
Do you have an idea on how I can further see why I am not able to initialize the sensor?
Thank you in advance.