Forum Discussion
Altera_Forum
Honored Contributor
14 years agoADC to DDR2 using Avalon-ST
I've been searching the forums for a few examples on how to stream ADC data to DDR2 for awhile now and finally think i've built a system that correctly does this. Im just looking for some validation ...
Altera_Forum
Honored Contributor
14 years agoDo a proper debug.
Are You sure data is written to the memory? I see that You use malloc(), so it places data to .heap. I'd offer to change address to particular place in on-chip ram, so You can use in-system memory content editor and check what data has been copied. I'd also offer to do debug inside dma_interrupt(), so You'll be sure it has occoured.