Hi BSTRobin, thanks for the clarification. I'm now always loading the config file during initialization, even when not using data sync resp. not using the gyro part. It works well, so I was able to release the first version of my firmware with added BMI08x support yesterday (both BMI085 or BMI088, whichever is available). One more question to parameter read_write_len, which is involved in writing the config file: At various places, like bmi08x_defs.h, line 1121, I'm reading "maximum supported length is 32". Apparently also lengths like 128 bytes work well on both BMI085 and BMI088. Perhaps the maximum of 32 bytes was a restriction on other sensor types. But I stick with 32 for the nonce. By the way, in the example code you attached below, read_write_len is first set to 46, but later overwritten with 32, before load_config_file is called. At the first location there is also the comment: "Supported length depends on target machine", which gives a hint why it also appears to work with 128.
... View more