Forum Discussion
Altera_Forum
Honored Contributor
15 years agoSGDMA debug
Hello, I am trying to learn how to use SGDMA to transfer data to memory. First of all, I am trying to connect SGDMA TX directly to SGDMA RX and check results. You can find the source code ->here<-...
Altera_Forum
Honored Contributor
14 years agoHow are you setting up your descriptor chains? Are you using the parked feature of the SGDMA by any chance to do something like ping pong buffering of the ADC data? If so I would start looking there as that feature can have race conditions if Nios II modifies the descriptor chain at the wrong time.
Also I would copy your code fragments into this thread showing how you are accessing the SGDMA (put the code tags around them so that the formatting will be retained).