USART: Erroneous clear/trigger of timeout interrupt

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • Linux Core SDK
    • LCPD-27886
    • 08.06.00
    • 08.06.00
    • Hide
      am62axx_sk-fs
      am62xx-sk
      am62xxsip_sk-fs
      am62xxsip_sk-se
      am64xx-evm
      j7200-evm
      j721e-idk-gw
      j784s4-evm
      j784s4-hsevm
      Show
      am62axx_sk-fs am62xx-sk am62xxsip_sk-fs am62xxsip_sk-se am64xx-evm j7200-evm j721e-idk-gw j784s4-evm j784s4-hsevm

      Description:
      The USART may erroneously clear or trigger the timeout interrupt when RHR/MSR/LSR registers are read.

      Workaround:

      For CPU use-case,

      • If timeout interrupt is erroneously cleared
        • OK since the pending data inside the FIFO will retrigger the timeout interrupt
      • If timeout interrupt is erroneously set, and the FIFO is empty, use following SW workaround to clear the interrupt
        • Set a high value of timeout counter in TIMEOUTH and TIMEOUTL registers
        • Set EFR2 bit 6 to 1 to change timeout mode to periodic
        • Read the IIR register to clear the interrupt
        • Set EFR2 bit 6 back to 0 to change timeout mode back to the original mode

       For DMA use-case,

      • If timeout interrupt is erroneously cleared
        • OK since the next periodic event will retrigger the timeout interrupt
        • User must ensure that RX timeout behavior is in periodic mode by setting EFR2 bit 6 to 1
      • If timeout interrupt is erroneously set
        • This will cause DMA to be torn down by the SW driver
        • OK since next incoming data will cause SW to setup DMA again

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

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-5053 - USART: Erroneous clear/trigger of t...
                SYNCHRONIZED
                • Last Sync Date: