Forum Discussion
Altera_Forum
Honored Contributor
15 years agoIn your first post, for read you set the transaction end correctly:
alt_dma_rxchan_ioctl(rxchan, ALT_DMA_RX_ONLY_ON, rx_buffer);
alt_dma_rxchan_ioctl(rxchan, ALT_DMA_TX_ONLY_OFF, NULL);
For write, you don't:
alt_dma_txchan_ioctl(txchan, ALT_DMA_TX_ONLY_OFF, NULL);
alt_dma_txchan_ioctl(txchan, ALT_DMA_RX_ONLY_OFF, NULL);
.....As I'm just having the same error, now I'm going to check whether I have the same mistake in my project. :D