cancel
Showing results for 
Search instead for 
Did you mean: 

Hello I have a problem with I2c driver on stm32f469i, I can't disable the I2C pin on PB9 and P10, I want to use this Pin to control relay. When I disable I2C1 in cube ide, it generates errors, How can I fix this error ? I'm on a STM32F49I card.

ECoud.1
Associate III
5 REPLIES 5
Khouloud ZEMMELI
ST Employee

Hello @ECoud.1​ 

Thanks for your post,

Could you please share your ioc file to check your case?

Khouloud

ECoud.1
Associate III

I send you the file in attached annex.

Thanks for your help.

Hi again @ECoud.1​ 

I have checked from my side and I have not reproduce the problem, but I noticed that you're using an older Cube version, so could you please try to install the latest CubeMX/IDE version then migrate your project, generate code and check if problem still occurs or not? If yes, please share again your ioc file with the change that you have made which provide errors.

For the case of the signal present on PB9, it can be remapped on PB7 pin, so you can preserve your I2C configuration without disabling it and free the PB9 pin at the same time.

I'll be waiting for your feedback 🙂

Khouloud

ECoud.1
Associate III

Hello

I update cubeide and I have the same errors when I disable I2C, it generates errors in drivers like before. Maybe I can share you the project in private message ?

Hi @ECoud.1​ 

Sure, you can send me your project in private message to check it.

Thanks, Khouloud