[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
[rtl] DMA and real time interrupts
----------------------eric keller wrote--------------------
My question is, is it possible to port this code to rtlinux.
(AD DA with DMA)
If so, has anyone used DMA? i found one message in the archive asking that
question with no answer.
-------------------------------------------------------------
Yes, I do DMA within RtLinux, but without any interrupt service. The trick
is to set the
Loop bit in the DMA controller and to poll the position (4times). So I get
every byte
even on a busy machine :-). Second part of it is a rt_process that does
rt_gettime() and
dma_residue() to see when what came in / went out. No interrupt latency
problem at all.
(Source??)
!!!!! This is not portable to anything else than a PC !!!!!!!!
Jens Michaelsen
http://www.steenbeckdigital.de
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/