Forum Discussion
Altera_Forum
Honored Contributor
21 years agoalt_dma_txchan_send status
I am getting an error from alt_dma_txchan_send. The status returned is -22. Below is the code. I lifted this code from this forum http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile...
Altera_Forum
Honored Contributor
21 years agoPerhaps you should use
alt_dma_txchan_ioctl(txchan,ALT_DMA_RX_STREAM_ON,start_addr); instead of alt_dma_txchan_ioctl(txchan,ALT_DMA_TX_STREAM_ON,start_addr);