Yeah, I see that now - I was working with a microprocessor a lot recently and it's conversion factor for clock cycles to instruction cycles is different, I forgot to switch my thinking back to microcontroller mode ;) -Tony ----- Original Message ----- From: "Olin Lathrop" To: Sent: Saturday, December 20, 2003 6:37 PM Subject: Re: [PIC:] Timer problems... > Tony Harris wrote: > > My second timer is causing an interrupt every ~4us, > > That's a problem. Even at 20MHz, that's only 20 instructions. It takes > over 10 to get into and out of an interrupt, which doesn't leave many > instructions to do anything useful. Your code is probably locked up > spending all of its time in the interrupt handler. > > > ***************************************************************** > Embed Inc, embedded system specialists in Littleton Massachusetts > (978) 742-9014, http://www.embedinc.com > > -- > http://www.piclist.com hint: The PICList is archived three different > ways. See http://www.piclist.com/#archives for details. > -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.