QorIQ P1010 DMA ADDR_NO_INC

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

QorIQ P1010 DMA ADDR_NO_INC

937 次查看
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

标签 (1)
标记 (1)
0 项奖励
回复
3 回复数

717 次查看
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 项奖励
回复

717 次查看
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!
-----------------------------------------------------------------------------------------------------------------------

717 次查看
zhaojizeng
Contributor I

thanks, but I have figured out.

0 项奖励
回复