Hello Bosch Community,
I am currently working on a project that requires connecting the BMI323 sensor to the nRF52832 via I2C. I adapted my code using the official example provided on GitHub (accel.c), but during the initialization process, the log repeatedly shows a **BMI3_E_FEATURE_ENGINE_STATUS** error.
I traced the issue to the `bmi3_soft_reset` function, where the condition `reg_data[0] & BMI3_FEATURE_ENGINE_ENABLE_MASK` is consistently false. When I attempted to read the values of the registers **BMI3_REG_FEATURE_IO2**, **BMI3_REG_FEATURE_IO_STATUS**, and **BMI3_REG_FEATURE_CTRL**, I found that they remained at their default values, even though the function attempted to modify them in order to enable the feature engine. I suspect this is the root of the problem, but I don’t understand why these registers are not being rewritten. I attached the relevant Log information and core code of bmi3_soft_reset() function (appears in bmi3.c driver).
This issue has puzzled me for several days, and I would greatly appreciate any guidance on how to properly initialize the BMI323. Any help, tips, or resources would be incredibly valuable. Thank you in advance for your support!
Best regards,
Abai