Altera Forum






Threads: 18,959
Posts: 77,484
Members: 29,244
Welcome to our newest member, pearl87
User
Reputation
9135
7620
5891
4150
3030
2197
2056
1706
1388
1300




 
Register
Quick Search
 
  Altera Forums > IP and Dev Kit Related > IP Discussion

How Can I set up DMA operation with my own PC software application?

Reply
 
Thread Tools Display Modes
  #31  
Old November 10th, 2009, 04:35 PM
BrettFavre's Avatar
BrettFavre BrettFavre is offline
Altera Scholar
 
Join Date: Nov 2007
Posts: 48
Rep Power: 1188
BrettFavre has a spectacular aura aboutBrettFavre has a spectacular aura aboutBrettFavre has a spectacular aura about
Default Re: How Can I set up DMA operation with my own PC software application?

I am having some difficulty generating multiple DMA transfers in the chaining DMA design example that is used in the PCI Express high performance reference design. After looking through the RTL, it appears to me that I must perform the following sequence prior to initiating a new transfer:

[1] write the value 0x0000ffff to the control register DW0 (either read or write depending on the desired transfer) prior to initiating a new transfer
[2] setup DW0, DW1, DW2, and DW3 with desired transfer parameters
[3] be sure to write DW3 last as writing DW3 puts the DMA engine in motion

From what I can tell, step[1] is required for each descriptor table that describes a transfer. Without step [1], it appears that a write to DW3 will not initiate a new transfer.

There have been a few comments in this thread that seem to support this. However, I wanted to spell it out in detail and get clarification. Can anyone comment?
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cancel DMA operation. Major General Discussion Forum 1 December 1st, 2009 05:47 AM
PCI with SGDMA operation newfrance IP Discussion 2 November 10th, 2008 11:30 PM
Weird Operation With Out PRINTF cfavreau General Software Forum 5 September 6th, 2006 08:24 PM
UART hardware operation arat016 General Discussion Forum 1 August 1st, 2006 05:45 AM
CF operation icesword General Software Forum 1 October 12th, 2005 03:49 PM


All times are GMT -8. The time now is 09:23 PM.