-
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.
This issue is not only for the MCSPI and this same for all other peripheral's as well.