|
Re: PIC18F8722 TIMER2 Frequency?
The PIC in the controller is running at 40mhz and since it takes 4 clock ticks to execute 1 instruction cycle, it runs at 10 mips (million instructions per second). With a no prescaler, Timer2 runs at 10mhz. However, if a prescaler is set (recommended), it can run alot slower if need be. Look at the datasheet on Microchip.com.
The PIC in the robot runs off a crystal and the timer2 source is usually the instruction cycle clock.
|