UART_udmaIsrTx does not handles continuous Callbacks properly

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Not Prioritized
    • SITSW-10181
    • 11.02.00
    • Hide
      am62xx-sk
      am62xx-sk-lp
      am62x-sip-sk
      am62a-sk
      am62p-sk
      am62d-evm
      am275x-evm
      am62l-evm
      Show
      am62xx-sk am62xx-sk-lp am62x-sip-sk am62a-sk am62p-sk am62d-evm am275x-evm am62l-evm

      A popular use-case is continuous data streaming, where UART writes need to be called consecutively.

      When implementing an application where uart writes are called inside the callback, it is seen that the driver returns UART_TRANSFER_STATUS_ERROR_INUSE for the second transaction. 

      Root Cause:

      The UART driver clears writeTrans AFTER the callback returns (not before), so calling UART_write() from within the callback fails with ERROR_INUSE because the driver still thinks a transfer is in progress.

       

       

            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-6552 - UART_udmaIsrTx does not handles con...
                SYNCHRONIZED
                • Last Sync Date: