Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- Which DMA controller is it? Altera provides drivers with C functions that you can use to configure the DMA. --- Quote End --- It's altera avalon DMA. Configuration of SOPC is shown in the figure. Can I access it like this, (where IMM_x, is the image of my custom made design) --- Quote Start --- alt_dma_txchan txchan; void* tx_data_to = IMM_X_BASE; //is it correct??????? alt_dma_txchan_ioctl(txchan, ALT_DMA_SET_MODE_32, NULL); alt_dma_txchan_ioctl(txchan, ALT_DMA_TX_ONLY_ON, tx_data_to); alt_dma_txchan_ioctl(txchan, ALT_DMA_RX_ONLY_OFF, NULL); --- Quote End ---