Part Number: AM5728
Tool/software: Code Composer Studio
Hi Team !
I'm struggling with an I2C issue, I've follow the Datasheet (from p.5740) and I've inspire my code from "*\ti\pdk_am57xx_1_0_14\packages\ti\csl\example\i2c\i2c_led_blink" (which should work ?)
My "SetupI2C" is exactly the same, I intend to use the I2C1, at 100kHz., with the slave address 0xAE.
My "transmitt" function must send only one byte and I've remove the delay, alla the rest is the same as the example.
BUT
It don't communicate...
I've monitored register :
- I can see that "I2C_IRQSTATUS_RAW[7]" (AERR bit) keep staying up event after "FIFO clear", "fifo flush" or "I2CMasterIntClearEx"
- About "I2C_CON" I never saw the stt bit climb to "1", the "mastercontrol" bring it to "8600" the the "MasterStart" bring it to "8200" but never to "8xx1".
So the start condition is never send BUT I cant osberve a byte "0x5C" just after the "MasterStart" command before the "dataPut" command
- Finally the "dataPut" command nerver write in "I2C_DATA", this register stay inchanged a along the code.
I don't understand why tis "0x5C" is send and why I cant send anything (volountary..).
Do you see anything I could have miss ?
thank's !


