Other Parts Discussed in Thread: CONTROLSUITE, MOTORWARE
I am trying to get EEPROM (24AA08) to work via I2C. The problem I have is that when I send data via I2C (writing to the I2CDXR register), the control byte (the one containing the slave address and r/w bit) is not being sent automatically. However if I send it manually via the I2CDXR register (0xA0), I get the acknowledge signal, and can send as many bytes as I set in the I2CCNT register, and depending on what I wrote to I2CMDR (I2C_I2CMDR_MST_BIT | I2C_I2CMDR_TRX_BIT | I2C_I2CMDR_STT_BIT | I2C_I2CMDR_STP_BIT | I2C_I2CMDR_FREE_BIT), I also get a stop signal at the end. So essentially everything works except that the control byte isn't being sent.
What could cause this behavior? Is there any setting that enables the automatic transmission of the control byte? Because according to the examples in Motorware and ControlSUITE, sending this byte manually shouldn't be required.