Hello, Community:
I used the I2C example code of MPC5748G to test the I2C of MPC5777M, but it didn't work. I compared the I2C of two MCUs and found that there was no difference between the two. I was confused why the I2C code of MPC5748G couldn't communicate properly after being ported to MPC5777M? I have changed the pin and clock division configuration according to the MPC5777M manual (for example, I2C needs to configure pins for bidirectional, open drain, weak pull-up, etc.), but after generating the START signal, I cannot send out the slave address signal. I don't know the reason, and I look forward to your reply. Thank you very much! The attachment contains the relevant configuration codes.