Forum Discussion
Altera_Forum
Honored Contributor
22 years agoNIOS II DMA HAL
Anybody use the DMA HAL driver? I need correct example for stream device and memory. I want receive from steram device through DMA(using HAL) and save stream data to memory. I have written ...
Altera_Forum
Honored Contributor
22 years agoI check idea with change the ALT_DMA_RX_STREAM_ON to ALT_DMA_TX_STREAM_ON in the IOCTL request.
All init steps passed correctly. But program haalted after call "alt_dma_rxchan_prepare". Program passes to an infinite cycle of ISR from DMA (i set break point in alt_avalon_dma_irq function). The first time ISR ocurred before programm return form alt_dma_rxchan_prepare, after write to DMA_CONTROL register. In ISR apdated DMA slot information, and programm go to infinite ISR cycle, however request for data send to SHARC processor not sended and no data was sended to SPI. This is HAL bug?