Forum Discussion
Altera_Forum
Honored Contributor
16 years agoDMA transfer inside ISR: Problem
Hi everybody, I think this is a common issue, but I didn't find a solution to my question, so hopefully I will get an answer here: I have a DMA controller which I want to use on an IRQ com...
Altera_Forum
Honored Contributor
15 years agoYou are using Altera's UART?
--- Quote Start --- IOWR_ALTERA_AVALON_DMA_WADDRESS(DMA_BASE, SERIAL_UART_BASE+1); // TxData address is @ SERIAL_UART_BASE + 1(offset) --- Quote End --- I think this is not right. Register offset is 1, but the width is 32 bit. So next register address should be BASE + 4. Try to use this:IOWR_ALTERA_AVALON_DMA_WADDRESS(DMA_BASE, IOADDR_ALTERA_AVALON_UART_TXDATA(SERIAL_UART_BASE)); Strange you see anything at all...... Regards