Timer questions

I’ve been asked to find this out by our programmers. Is Timer1 setup with an internal oscillator? What’s the frequency? Is an external oscillator necessary or legal?

Can you take over Timer0 if your aren’t using PWMs 13 through 16? It’s in last year’s documentation, but we didn’t see it in this year’s.

Thanks in advance.

All the timers are based off of the microcontroller’s crystal clock, which runs at 10MHz.

I didn’t even know there was a Timer 0! :o

On the 8722 we have timers 0-3 available with the 10MHz internal (an external oscillator is not needed).
Using Timer0 holds for this year as well. You need to use FRC_alltimers.lib rather than FRC_library.lib in your project just like last year.

There are actually 0-4 timers and 0 is not being used for the ccp modules. Kevin Watson’s ADC code uses timer 2.
And toword the end of this thread(http://www.chiefdelphi.com/forums/showthread.php?t=43358) I have explained that the processor runs at 10MHz hence the 10 MIPS but the external oscillator runs at 40 MHz.(if you want to understand the hardware little bit better)

You can use all the timers using Kevin Watson’s interrupts code.