2025-05-18 9:08 PM
Greetings,
In my application i have initialized STM32F205RG with USB High Speed Host for detecting USB Key board and I2C2 for communicating with DS3231 RTC Module. RTC module works prefectly when i don't initialize USB HS peripheral, but when both initialized in the project then I2C2 always sends me HAL_BUSY state.
Is there any solution or work around for this problem ?
I am using cube mx for code generation and initialiazation.
Thanks.
2025-05-18 10:00 PM
I do use the same configuration with STM32F7 and with 3 I2c devices (DS3231 + PCA9555D) but I do not see any problem.
Did you check that buffers areas do not overlap or overflow?
HAL_BUSY is device specific - on I2C or USB?
2025-05-18 11:13 PM
HAL_BUSY is for I2C... Can please elaborate more on buffer areas...