Question
Wrong Data send after correct Addr with I2C

Hi,
I'm still having trouble with my I2C communication.
I'm using the Bus as Master, at the moment without any Slave.
After sending the Device Addr, which is transmitted correctly to the ouput (checked with logic analyser) I send data which is then put to the output wrong. When sending 0x0F I get with the logic analyser 0x1E on the Data line.
For the I2C communicatoin I'm using a exit counter to leave the otherwise endless while-loops.
I2C2_St();
I2C2_Ad(0x42);
I2C2_Wr(0x0F);
I2C2_St();
I2C2_Ad(0x43);
I2C2_R(1);
I2C2_Sp();Can someone help me how to fix this?
Thank you very much
