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.

TMS320F28035: I2C periodically reset

Part Number: TMS320F28035

Dear Champs,

I am asking this for our customer.

F28035 is used as I2C slave.

They are emulating to test abnormal I2C write command by host sending I2C slave address + W without sending (correct) data.

In this case, our F28035 will have no response as desired.

However, after they try to reset I2C by

I2CMDR.IRS= 0

I2CMDR.IRS=1

But it failed to work again sometimes.

During the time that F28035 I2C has no response, they also tried to reset I2C with each for 1 sec repeatedly for several times.

That is,

I2caRegs.I2CMDR.bit.IRS = 0 for 1 sec.

I2caRegs.I2CMDR.bit.IRS = 1 for 1 sec.

But F28035 I2C still could not work correctly after being reset.

But once the user cold reset F28035 by power cycling F28035, then its I2C worked well again with the host.

Questions:

1) Is it correct for the user to bring I2C out of hanging by resetting using 

I2CMDR.IRS= 0

I2CMDR.IRS=1

2) Is there any limitation with resetting I2C by I2CMDR.IRS?

3) Do you have any other comment why the user could not correctly reset I2C?

Wayne Huang