QorIQ P1010 DMA ADDR_NO_INC

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

QorIQ P1010 DMA ADDR_NO_INC

988 Views
zhaojizeng
Contributor I

Hi,

    I'm using P1010 DMA for IFC transport, for example, 16bytes, but the destination address always increased when DMA started.

    So, is there any REGs that I can use to hold the address? Thanks。

p1010 dma regs.JPG

dma dahs.JPG

Labels (1)
Tags (1)
0 Kudos
Reply
3 Replies

768 Views
zhaojizeng
Contributor I

Done!!!

1. Set XFE bit.

xfe.JPG

2. Set DMA_SSR and DMA_DSR according to your application。

ssrdsr.JPG

   Example: Setting stride_distance=0 , so the address(source or destination) will always be Base Address in figure 13-7.

stride.JPG

0 Kudos
Reply

768 Views
r8070z
NXP Employee
NXP Employee


Have a great day,

Destination address hold enable (DAHE) bit of the DMA mode register enables the DMA controller to hold the destination address. Do you mean that in your case the DMA increases the destination address even you have set DAHE=1 and programmed properly DAHTS and destination address for the IFC port? It should not.

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

768 Views
zhaojizeng
Contributor I

thanks, but I have figured out.

0 Kudos
Reply