Posted by Ujjal on 1/1/2006, 10:44 pm, in reply to "Re: timing the break" cheers Ujjal
59.93.243.68
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...!!
Message Thread:
![]()
« Back to thread