AnsweredAssumed Answered

MPC5748G   I2C driver problem

Question asked by HU Qiang on May 26, 2016
Latest reply on May 27, 2016 by HU Qiang

Hi everybody!


    My I2C project can send and receive successfully (single step mode) , but cannot run by Resume,

it will stuck at "while (I2C_2.IBSR.B.IBB == 1);"


    Here's the successful example introduction of the project (single step mode):

    I2C_2 is set as a transmit master node, interrupt enabled, transmit data is 0x55

    I2C_3 is set as a receive slave node, interrupt disabled.


    The program data loop is supposed to be as shown in the following picture:


     Attachment is my program project for reference.


     Thanks a lot!

Original Attachment has been moved to: