SDMA Question

cancel
Showing results for 
Search instead for 
Did you mean: 

SDMA Question

69 Views
Contributor I

Hi Everyone:

I want to use DMA copy data from external memory to internal memory in Linux 3.0.35/Linux 4.1.15 and I.MX6Q board.

I haved config DISP0_DAT17 for sdma_ext_event(It is invalid when I config GPIO18).

Now I encounter some problems.

After i config dma, i trigger dma with a pulse. From the values that I read  from EP and DMA Requests register I can know that DMA request has been received.But I can not receive callback.When i stop trigger dma, the value i read from EP register remains unchanged.I think it means DMA is not done.So, How can it be done if the read fifo has been full?

Best regards.

0 Kudos
1 Reply

10 Views
NXP TechSupport
NXP TechSupport

Hi yunteng

sdma memory example can be found in unit tests, however sdma with ext_event

may be not supported in bsp

mxc_sdma_test\test - imx-test - i.MX Driver Test Application Software 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos