Thank you for your response. I need to set the C2000 target to receiver mode. Thank you! Setting the own address using I2C_setOwnAddress fixed my first problem. When I followed your suggestion and disabled line 290, I also changed line 291 from "I2C_setConfig(I2CB_BASE, I2C_MASTER_SEND_MODE);" to "I2C_setConfig(I2CB_BASE, I2C_SLAVE_RECEIVE_MODE);" —but in this case, the I2C communication did not work. It only works when set to "I2C_MASTER_SEND_MODE" or "I2C_MASTER_RECEIVE_MODE" , and my second issue still remains. Do you have any suggestions? Thanks!
↧