Right after updating the address, You need to change I2cMsgOut1.MsgStatus and I2cMsgIn1.MsgStatus to there initial values, i.e. I2cMsgOut1.MsgStatus = I2C_MSGSTAT_SEND_WITHSTOP and I2cMsgIn1.MsgStatus I2C_MSGSTAT_SEND_NOSTOP..
↧
Right after updating the address, You need to change I2cMsgOut1.MsgStatus and I2cMsgIn1.MsgStatus to there initial values, i.e. I2cMsgOut1.MsgStatus = I2C_MSGSTAT_SEND_WITHSTOP and I2cMsgIn1.MsgStatus I2C_MSGSTAT_SEND_NOSTOP..