cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103RB I2C1 Busy Flag stays high when initializing

jdsus
Associate

I finished my I2C peripheral drivers and I would like to test it with my bh1750 sensor but I am having an issue, when i initialize the I2C1 peripheral, everything is smooth but then I notice that the busy flag is always high and it does not go low, so when I generate a start condition, the start flag does not go high and I assume it is due to the busy flag. I am not sure why it is doing this and I know it isn't an issue with my sensor because my sensor works with HAL code.

0 REPLIES 0