Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- Is there any easy way to write externally DATA into SDRAM? or on_chip_ram? I thought DMA should be used for this, but DMA can only access internal (maybe export ports?) registers. --- Quote End --- Using DMA is the easiest way. --- Quote Start --- Also could you provide more information about making this connection PIO->DMA1->DCFIFO->DMA2->SDRAM? --- Quote End --- The above sequence of blocks is basically what you said you already had, except it adds another DMA and a FIFO. The first DMA reads from the PIO and writes into the FIFO. The second DMA reads from the FIFO and writes to SDRAM. The FIFO needs to be deep enough to accomodate any backpressure from the SDRAM due to refresh or other accesses. If you still aren't sure how to possibly proceed, maybe post your project?