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.

I2C IMhz Clock set with TM4C1294

Hello Amit.

Thank you for your reply kindly and fast

I resolved getting stuck problem and read data pattern match.

I have a quesetion about I2C Setting with Fast-mode plus(1Mbps). as shown below in datasheet

However. I can't search source code for Fast-mode plus(1Mbps).

I wonder whether exactly use or not use. If fast-mode can use. Can I get example source code about Fast mode puls

If have a question please contact me anytime.

Thank you.

  • Hello Dong

    The default API call is for Standard and Fast mode. If you have to use Fast Plus mode, then update the I2CMTPR register manually outside the scope of the I2C Initialization call. Also do note that Fast+ mode requires very strong pull up for the 1MHz data rate.

    Regards
    Amit
  • Hello Amit.
    Thank you for your fast reply.

    I have two question.
    1. Do you have firmware code about ICMTPR for Fast Plus mode(I2C 1Mhz).
    2. How strong need pull-up for the 1Mhz data rate?

    If have a question please contact me anytime.
    Thank you.
  • Hello Dong

    1. The write to I2CMTPR for Fast Plus Mode must be done via HWREG, and that there is no API for the same
    2. For the pull up strength it depends on the capacitance load of the traces, pins; the current you would expect to be limited to when the lines are driven low. The I2C specification does have a chart for current v/s speed that can be used as a reference to compute the R knowing that V=3.3V

    Regards
    Amit