MPC5777M I2C problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC5777M I2C problem

1,514 Views
underdangerous
Contributor II

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.

0 Kudos
Reply
1 Reply

1,486 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

be sure SIUL2 clock is active and use register access to configure pins. See more in https://community.nxp.com/t5/MPC5xxx/MPC5777M-uart-problem-on-S32DS/m-p/896467

BR, Petr

0 Kudos
Reply