Looks about right to me...
20Mhz oscillator = 5Mhz instruction rate/Timer increment rate
5,000,000 / ( 65536-63043) = 2005 Hz
5,000,000 / ( 65536-63150) = 2095 Hz
Neither number above compensates for the 7 instructions, but the idea is the same.
You've got the numbers right...or at least it looks like it.
Bookmarks