View Single Post
  #2   Spotlight this post!  
Unread 29-01-2008, 11:22
Los Frijoles's Avatar
Los Frijoles Los Frijoles is offline
Stormin' Mormon
AKA: Kevin Cuzner
FRC #2062 (C.O.R.E.)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Waukesha, WI
Posts: 27
Los Frijoles has a spectacular aura aboutLos Frijoles has a spectacular aura about
Send a message via AIM to Los Frijoles
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.
__________________
Community Of Robotic Engineers 2062





Blender totally pwns 3DS Max...

My life is here and here.

Cuznersoft Hardware and Software Development