Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

TM4C1294NCPDT: DMA transfer form UART to memory

$
0
0

Part Number:TM4C1294NCPDT

Hi Folks,

I'm working on a modbus communication stack and I wanted to use DMA for transferring characters from UART to memory. As the nature of the modbus, size of the received packages are depends on the data field and the package type. I studied  the uDMA controller and the UART.

The problem is that uDMA expects exact byte length at the beginning of the transmission, that is not available when the first character received. My current implementation read form the UART FIFO and try to compute total size.

Is it possible to issue DMA request for a large amount of data, and detect the end-of-transmission instead of reading FIFO & compute size (like disable fifo and getting receive timeout, than disable transmission etc...).

Regards,

Norbert


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>