cancel
Showing results for 
Search instead for 
Did you mean: 

timo0 and timo1

lmichalec
Associate II
Posted on August 15, 2007 at 14:35

timo0 and timo1

2 REPLIES 2
lmichalec
Associate II
Posted on May 17, 2011 at 09:46

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 yo

jpeacock2
Associate II
Posted on May 17, 2011 at 09:46

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