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.

TMS320F280049: Can I2C clock stretching be done manually?

Part Number: TMS320F280049

Dear Champs,

I am asking this for our customer.

We have "Clock Synchronization" on the I2C module.

1) If C2000 is used as slave and it is not able to co-operate with the clock speed given by the master and needs to slow down a little, then it will hold down the I2C clock until the internal I2C data is able to be processed. Are all these process done by hardware or is there a configurable bit to hold the clock to down or restore it to high?

2) If all this are done by hardware, does that mean if we want to trigger this clock stretch, the user (CPU) can slow down or stop reading data from I2C data buffers, and the I2C hardware will stretch the clock automatically?

 

Wayne Huang

  • Wayne,

    2) If all this are done by hardware, does that mean if we want to trigger this clock stretch, the user (CPU) can slow down or stop reading data from I2C data buffers, and the I2C hardware will stretch the clock automatically?

    Clock stretching is indeed controlled by the hardware. User doesn't have configurable bit to enable / disable clock stretching. Above statement is correct.

    Regards,

    Manoj