View Single Post
Old May 27th, 2015   #11
sblair
Administrator
 
Join Date: Feb 2006
Posts: 419
Send a message via AIM to sblair Send a message via MSN to sblair
Default

Looks like I'm a little late to the party tonight but I was going to suggest the same thing it looks like you've already arrived at.

I've used DMA in some of my implementations and I do as suggested, I get the first few bytes so I can get the packet length info and then set my DMA routine to trigger me again once I've gotten them all and that has worked well. It is really the ONLY way you can use any kind of DMA routine.

As Eric mentioned, the critical factor in the timings was in maintaining DMX Null Start Code performance so using timeouts just really wouldn't have worked without a more serious impact.
__________________
Scott M. Blair
RDM Protocol Forums Admin
sblair is offline   Reply With Quote