I am currently using Max78000 to interface with BHI160, I am using a 1.8 V supply to power the Sensor, and I am operating the system clock at 60MHz.
when I tried to use the read the FIFO, it gets into a hanging state( It makes my SCL to a Low state forever), I am currently using my i2c clock 400kHz.
I have Disabled the I2C Clock stretching and tried but the result is the same, I am attaching pictures for reference.
The 1st picture is the captured hanging state in the Logic analyzer.
The 2nd picture is the code snippet where I am stuck.
I am using this link as a reference https://github.com/BoschSensortec/BHy1_driver_and_MCU_solution
If needed more details, will be provided for solving the issue.
Thanks & Regards
Solved! Go to Solution.
You could refer attached example code on STM32 as it worked.