This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

IAR ARM I2C Register error for TMS570LS1227

Other Parts Discussed in Thread: TMS570LS1227

In IAR ARM simulator  (ver. 6.50, 6.60) for TMS570LS1227 are not displayed I2C registers values on Register tab.

TMS570LS1227 I2C registers are located in the high 16 bits of 32-bit words. In IAR ARM simulator I2C registers located on same address, but erroneously in lower the 16 bits  of 32-bit words.  To correct an error to find iotms570ls1227zwt.ddf (for zwt package) in IAR folder, locate the I2C section and increase by 2 all registers addresses. For example

was:  sfr = "I2COAR", "Memory", 0xFFF7D400,        2, base=16 ...

correct:  sfr = "I2COAR", "Memory", 0xFFF7D402,        2, base=16 ...