10-08-2021 10:37 AM
In the first figure, I write the configuration data to register 0x5E normally and SPI writes the waveform correctly (The length of data written at one time is 32)
After the write is done, the data in the 0X5E configuration file is read, and the MISO of the SPI interface remains low
(All other registers read and write normally and read register 0x2A return 0x00)
Could you please help to analyze what problems there may be?(The problem is urgent)
02-24-2022 06:46 AM
02-24-2022 11:33 AM
Hi BSTRobin,
thanks for providing the example code. I'm not using the data sync feature yet, but it's helful to be able to compare initialization steps. So I learned from the sources, that - after the soft reset - it may be good to set the accelerometer to active mode before writing the config file. I have been doing it in reversed order (which appears to work successful nevertheless; it seems writing the config file does not require normal mode)
02-25-2022 02:36 AM
Hello knieriem,
Before writing config file , accel should be set to active mode, gyro should be set to normal mode.
03-02-2022 05:11 PM
Hello BSTRobin,
thanks for that information.
I found, though, that the examples of the official driver do it in reverse order:
So if power mode shall be set before loading the config file, the examples should possibly be adjusted.
Should it be the case, though, that the order doesn't matter -- the order in the examples obviously also works (BMI08X_REG_ACCEL_INTERNAL_STAT == 1) --, then of course adjusting the example files is not necessary.
03-10-2022 03:53 AM
Hello knieriem,
For github code, device initialization sequence was updated for both BMI08x and BMI090L, which has caused for change in loading firmware directly after initialization. But the code works.