Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-11694

I2C: Incorrect output frequency for 100KHz operation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • PDK
    • PDK-13707
    • Hide
      PROCESSOR_SDK_09.01.00
      PROCESSOR_SDK_09.00.00
      Show
      PROCESSOR_SDK_09.01.00 PROCESSOR_SDK_09.00.00
    • PROCESSOR_SDK_09.02.00
    • Hide
      j721e-evm
      j7200-evm
      j721s2-evm
      j784s4-evm
      Show
      j721e-evm j7200-evm j721s2-evm j784s4-evm

      Description
      When i2c output frequency is set to 100KHz, the actual output reflected is 50KHz.

      As per the TRM, below parameters must be set in i2c for 100KHz output: PSC = 23, SCLL = 13, SCLH = 15
      But there is a difference in driver calculations: PSC = 19, SCLL = 17, SCLH = 19

      Resolution Description
      Updated I2C_INTERNAL_CLK_STEP to 1KHz to get correct values for PSC, SCLL and SCLH parameters.

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: