Skip to main content
ECoud.1
Associate III
April 19, 2021
Question

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.

  • April 19, 2021
  • 3 replies
  • 1904 views

0693W000008zxsLQAQ.png

This topic has been closed for replies.

3 replies

Khouloud ZEMMELI
ST Employee
April 20, 2021

Hello @ECoud.1​ 

Thanks for your post,

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

Khouloud

ECoud.1
ECoud.1Author
Associate III
April 20, 2021

I send you the file in attached annex.

Thanks for your help.

Khouloud ZEMMELI
ST Employee
April 20, 2021

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
ECoud.1Author
Associate III
April 21, 2021

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 ?

Khouloud ZEMMELI
ST Employee
April 22, 2021

Hi @ECoud.1​ 

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

Thanks, Khouloud