AM62D: The DMA channels are not able to close without DMA Tx for MCSPI and UART

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • SITSW-6429
    • 10.01.00
    • 11.00.00
    • am62d-evm

      Issue reproducing Steps :

      Call the API's below without DMA Tx
      MCSPI_open
      MCSPI_chConfig
      MCSPI_dmaChConfig
      MCSPI_dmaClose

      The core control would be in the DMA close API and not come from the MCSPI_dma_Close API.

      Root cause :
      Without enabling channels and starting the teardown the process (closing the DMA channel) creates an issue.

      Patch Details :

      I have just split the MCSPI driver into two functionalities, one for PDMA initializations and another for DMA start.
      So, the channels enabled are available in the PDMA initializations and even without DMA Tx, users can easily close the DMA channels without any issues.
      For more details about the patch, please look at the e2e link below.

      https://e2e.ti.com/e2eprivate/panasonic/panasonic-automotive-audio/f/panasonic-automotive-audio-forum/1445583/am62d-q1-sw-issue-with-mcspi_dmaclose-in-dma-mode/5644563#5644563

      This issue is not only for the MCSPI and this same for all other peripheral's as well.

            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-5305 - AM62D: The DMA channels are not abl...
                SYNCHRONIZED
                • Last Sync Date: