Your DMX512 Problems
[ Post a Response | Your DMX512 Problems ]
Re: timing the break
After trying everything,I found that the age old way of relying on the CPU clock is the best . After all the CPU clock runs both the UART as well as any counter/timer device giving them identical or at least related timebases. Thus, (at least in case of 89CXXX family) modifying the the RX pin's function as and when required seems to be the most stable option.Start with the RX pin as a general input pin and trigger off a counter to do the 88ms count ( 100 - 110 seems best from my experience) and the 8ms MAB (12 - 20 is better) then set the RX input to receive the standard 9 bit byte configuration. Been using this for years with different consoles without a hitch. But beware of writing excess checking code in the MPU...slows down things. Seems to work fine till you try to run a fast chase on the par cans...!!