STM32F103RB I2C1 Busy Flag stays high when initializing
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-03-25 5: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.
Labels:
- Labels:
-
I2C
-
STM32F1 Series
0 REPLIES 0
