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.

Texas Instruments Hercules TMS570 I2C Slave

Other Parts Discussed in Thread: HALCOGEN, TMS570LS3137, RM42L432

Hello,

I want to implement the TMS570 as an i2c slave, but there is no example to do this and i did not managed it by myself.

I configured the i2c with halcogen and also tried it by myself.

 

i2cInit();
/** - i2c out of reset */
i2cREG1->MDR = (1 << 5);
i2cSetOwnAdd(i2cREG1, own_add);
i2cSetSlaveAdd(i2cREG1, own_add);
/** - I2C out of reset */
i2cREG1->MDR |= I2C_RESET_OUT;

 

I tested some other things but with no success. The problem is that there is no ACK from the TMS570. Can someone post a example with TMS570 as an i2c slave?

 

Thanks and regards

MaTT