Part Number: TMS320F28377S
Other Parts Discussed in Thread: C2000WARE
I using the f28377 with i2c epprom library, the problem is the data presented to the bus is shifted shifted to the left.
for example, writing 0xF0 (address) then observing the o-scope the first byte out is 0xE0.
code:
I2caRegs.I2CSAR.all = 0xF0,
Settings:
I2caRegs.I2CMDR.bit.FDF = 0;
I2caRegs.I2CMDR.bit.XA = 0;
I2caRegs.I2CMDR.bit.BC = 0x7;
why is this the case?