Skip to main content
Visitor II
August 15, 2007
Question

timo0 and timo1

  • August 15, 2007
  • 2 replies
  • 793 views
Posted on August 15, 2007 at 14:35

timo0 and timo1

    This topic has been closed for replies.

    2 replies

    lmichalecAuthor
    Visitor II
    May 17, 2011
    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

    Visitor II
    May 17, 2011
    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