2025-07-14 11:46 PM
Hello,
I am trying do a loopback test, i.e I2C1 as master and I2C2 as slave on the same board(STM32F429ZI DISC1).
I am giving the address for slave as 0x42 left shifted by one, and storing the same in oar1 register for I2C2. Now the problem is the master is not getting acknowledgement from the slave. I am using HAL to test this.
I have also turned on/set the pull up and open drain for both the I2Cs. And i have also tried with external 4.7k ohm resistors, for the pull up resistance. But to no avail.
Can somebody please suggest what can i do.
Solved! Go to Solution.
2025-07-15 5:40 AM
the I2C2 slave address is not set here?
2025-07-15 9:47 PM
Silly Mistake. Thank you so much..