ADSP-21062 SPORT DMA not finishing

Hello,

I'm experiencing an issue in SPORT1 DMA.

This happens randomly and mostly at high temperatures.

Once in a while I get an error that the SPORT DMA is not finished. This is SPORT1 and it is not shared.

Clock and frame are externally generated from a FPGA and debugging showed that the FPGA sent all the required frames.

Then when I printed out the internal DMA counter (*pC1) when the error happened, it showed 0. Meaning that the DMA is infact finished, but for some reason it is not reflected in the pDMASTAT register.

Anybody know any reason why this could happen?

Thank you.

  • 0
    •  Analog Employees 
    on May 2, 2014 4:52 AM

    Hi Maduranga,

    Sorry for delay in response.

    Maduranga wrote:

    Clock and frame are externally generated from a FPGA and debugging showed that the FPGA sent all the required frames.

    Then when I printed out the internal DMA counter (*pC1) when the error happened, it showed 0. Meaning that the DMA is infact finished, but for some reason it is not reflected in the pDMASTAT register.

    Are you able to receive all the data sent by the FPGA to the buffer in the internal memory once DMA counter shows '0'? Is the only problem with particular channel active status bit in the DMASTAT register, which does not show that the transfer is complete?

    For a particular channel, the channel active status bit will be set if DMA is enabled and the current DMA sequence has not completed, what you are observing in your system? However, can you please enable the SPORT1 Receive DMA Channel interrupt and check whether interrupt is fired upon completion of DMA transfer? Also, check the nature of particular channel active status bit of the DMASTAT register in the ISR.


    Please let me know how you get on.

    Regards,

    Jithul

  • 0
    •  Analog Employees 
    on Aug 2, 2018 2:37 PM
    This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

    Thank you,
    EZ Admin