Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20641 Discussions

Nios II Uart with DMA

Altera_Forum
Honored Contributor II
1,989 Views

In my Nios II system I want to use Uart with DMA. Are there some tutorials or example projects about this topic. 

 

I'm using Quartus 13.0. 

 

Thanks.
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
843 Views

It doesn't really make sense to use DMA with a UART. A DMA engine doesn't have a mechanism to stop sending and wait for characters to go out, or wait for input characters to be present before transferring data. The FIFO in a standard UART is so small that the time taken to set up a DMA transfer would be greater than the time to fill the FIFO with a sofware loop.

0 Kudos
praveenkumar
Beginner
800 Views
are u saying we cant use dma with uart
0 Kudos
praveenkumar
Beginner
798 Views

can u help me receiving 24 bytes with uart @2mbps speed.

i tried but it was receiving like first byte at last and last byte at first like that.

how can i overcome this problem

0 Kudos
Reply