2007-08-15 05:35 AM
2011-05-17 12:46 AM
Hi I have a problem, I do one SW uart successful. One timer have been set on 52us interrupt. But when I set two timer for second sw uart, both timer are working wrongly.
one time 42us, one time 51us, one time 35us. Have someone same problem with using two timer together? Thank yo2011-05-17 12:46 AM
I've seen this problem when the interrupt service routine for one timer delays the response to the second timer interrupt. Are your timers synchronized so that the interrupts do not overlap? This might be difficult to do since you are triggering on an incoming signal for a soft UART. How do you handle the case where a start bit arrives at both timers at the same time?
Jack Peacock