Hi, I am currently working with an old library 2.53.2 and got it working, upgraded to v2.71.8 and suddenly everything broke, I have two major issues, which I have a solution for on 1) bmi270_init() does not finish correctly, the ASIC does not initialize. - The/* Wait till ASIC is initialized */ dev->delay_us(150000, dev->intf_ptr); was removed from write_config_file. When adding that back, it works. What could be the reason for this? 2) The enable/disable sensor sometimes crashes with communication error, this does not happen in old version (same I2C read/write functions and parameters), I have noticed one difference in the driver: - The bmi2_set_regs function writes per byte if aps is enabled in old version, but not in new version. This must have been extensively tested, so what is the reason for this errors?
... View more