2019-11-05 09:13 PM
Hi I am Using STM 32f407 discovery board. and i coded for the I2C communication for both blocking and Interrupt API when i using the repeated start condition for receiving one bit in the interrupt condition some bugs are there in the code i don 't know what was the issue in the case of non blocking API there is no bugs
2019-11-05 11:54 PM
Are you talking about Cube/HAL? Which functions exactly fail and how? What are the observed symptoms and how is it different from the expected behaviour? Have you observed the I2C registers when the problem occurs, and compare against the functioning case?
HW
2019-11-08 03:39 AM
2019-11-08 04:32 AM
Thanks for posting the code, but sorry, I am not going to review it and check its function.
Read out the content of I2C registers at the moment of failure, and try to get from there what's wrong, or compare it to the working case.
JW