cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F205RG USB High Speed and I2C RTC Problem

Nimit Vachhani
Associate III

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.

 

2 REPLIES 2
mbarg.1
Senior III

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?

HAL_BUSY  is for I2C... Can please elaborate more on buffer areas...