cancel
Showing results for 
Search instead for 
Did you mean: 

I2C1 & I2C2 Difference

Jdogk
Associate III

Hello, this is DK.
I am working on a project using stm32f429IIt6.

I'm currently having an I2C problem at the end of my project.
I2C1 uses PF 0, 1 / I2C2 uses PB 6, 7. The HW PCB completed, and the HW I2C pull up is the same.

In I2C1 HAL code, the entire initialization does not work, and if I2C2 is used with the same code, it works well.

I am using various Pheripherals such as TIM Interrupt. Is there any conflict?

Is there any difference between I2C1 and I2C2?

In the TIMER part, it appears to share APB1.

 

2 REPLIES 2
Amel NASRI
ST Employee

Hi @Jdogk ,

You mean I2C1 on PB6/7 and I2C2 PF0/1.

Is there any I2C error flag set when using I2C1?

Does your PCB allow you to use PB8/9 instead of PB6/7 for I2C1?

-Amel

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.


@Jdogk wrote:

The HW PCB completed, and the HW I2C pull up is the same.


Please show the PCB schematic.

Have you used an oscilloscope and/or logic analyser to see what's happening on the wires?