Hi,
I’m using the MSP430F167 with the IAR compiler and development tool. My problem is the following: the msp receives a word through the I2C from a pressure sensor. While debugging, when I single step, everything works fine. However, if I let the program run, it seems that the I2CDRW register is not updated with the value from the I2C when I copy it to another register. I’ve found that the transfer works if I add a delay between the I2C communication and the copy of the I2CDRW to another register. In every case the I2C communication works well, the signals are correct.
Any idea?
Thanks