Forum Discussion
Altera_Forum
Honored Contributor
15 years agoquestions about DMA transmition
hi: I want to transmit data from FIFO to sdram by DMA in SOPC builder. in NIOSII eclipse, if((tx=alt_avalon_dma_send(txchan,(void*)tx_data,0x1000,NULL,NULL))<0) { print...
Altera_Forum
Honored Contributor
15 years agohi,
I have solved the above problem,that is ,the data writen into the FIFO can be transfered to the SDRAM by the DMA . here I have some feelings which be shared with yours. 1: DMA transmition ,FIFO (slave port attached into Avalon bus) to SDRAM,because of reading the same address(FIFO base address),so you only need to open received channel(rxchan),and set iocl(mode,RX_only),then ,prepare . 2:there seems the SOPC can do lots for you,so you need not care about the details too much:) best regards