Altera_Forum
Honored Contributor
21 years agoDMA transfer using HAL
I have seen DMA transfers from memory to a peripheral in SDK, but the HAL example in the software reference guide is not clear. How does one specify the constant destination address? Does it involve setting the transmission channel to streaming, by txchan_ioctl(tx, ALT_DMA_TX_STREAM_ON, (void *) dest_addr)?
Comparing to the SDK example of this kind, in App note 333, for HAL how can one instantiate another transfer in the ISR (the callback function)? I appreciate your input and any sample code in HAL is very welcome. Mark