Searching \ for '[AVR]: AVR410 Bugs?? a bit more.' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=avr410+bugs+bit
Search entire site for: 'AVR410 Bugs?? a bit more.'.

Exact match. Not showing close matches.
PICList Thread
'[AVR]: AVR410 Bugs?? a bit more.'
2003\02\16@225823 by John Samperi

picon face
Hello again

Following my previous post on the above:

I guess 17 is a bit tight for 1.1mS as 17*64uS is 1.088mS, that's why
it seems to work with a larger number, maybe the remote I'm using is
a bit out of specs. By putting a breakpoint at start2 timerL=18 pretty much
everytime.

start2:         cpi     timerL,17       ;If startbit longer than 1.1ms,



I think I figured out what the var "inttemp" does. (DUHH)
It is simply a counter for timerH, when inttemp overflows, then
timerH is incremented. The var timerL cannot be used for this
purpose as it may get cleared in the decode routine

               inc     timerL          ;Updated every 64us
               inc     inttemp
               brne    TIM0_OVF_exit
               inc     timerH




Regards

John Samperi

******************************************************
                       Ampertronics Pty. Ltd.
 11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
        Tel. (02) 9674-6495       Fax (02) 9674-8745
              Email: spam_OUTsamperiTakeThisOuTspamampertronics.com.au
                Website  http://ampertronics.com.au
* Electronic Design   * Technical Services   * Contract Assembly
******************************************************

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads

More... (looser matching)
- Last day of these posts
- In 2003 , 2004 only
- Today
- New search...