2024-03-25 05:51 PM
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.