I2C gets hanging on communication errors

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: High
    • SITSW-6489
    • 10.01.00
    • 11.02.00
    • Hide
      am243x-evm
      am64xx-evm
      Show
      am243x-evm am64xx-evm

      During porting from 9.2 to 10.0 SDK we faced issues on hanging I2C_transfer function. 

      It hangs in semaphore which should indicate transfer complete. 

      We figured out that in our case reproduceable I2C errors were happening.

      We reverted some changes from  SITSW-2634 and MCUSDK-13463. 

      See the relevant commit here: https://bitbucket.itg.ti.com/projects/PROCESSOR-SDK-MCU/repos/mcu_plus_sdk/commits/56861634bb28ae9e21c0abe672f226596456fd38 

      Needs to be verified if this is a valid solution.

      We tested only AM243x/AM64x. It might affect other platforms also. We are planning soon to move to AM261. This is a blocking issue for Upcoming 10.1 ind-comms-sdk release.

      callstack of hanging function

       

      On LP-AM263Px similar issue observed and when I2C interrupt is disabled it hangs on busy check. Please see snapshot attached bellow.

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

              Created:
              Updated:

                Connection: Intermediate to External PROD System
                EXTSYNC-6210 - I2C gets hanging on communication e...
                SYNCHRONIZED
                • Last Sync Date: