CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Oscillators and Timers

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
OoFC
Guest







Oscillators and Timers
PostPosted: Fri Mar 20, 2009 7:38 am     Reply with quote

I am fairly new to pics and to date have only used the internal oscillator for system clock. I want to start using timers and external crystals but I only know very little when it comes to this.

Does anyone have any links or helpful advice to lead me in the right direction?

I have done a search in the forums but all I have found is about setting different features up. I want to know why now, then how later.

Thanks
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Fri Mar 20, 2009 8:49 am     Reply with quote

Timer capabilities depend on the chip family you are using, high range PICs like the PIC24 have more options than a low range PIC16 model.

Have a look at the Microchip Reference Manual web page. At the bottom of this page you will find reference documents for Timer0, Timer1, Timer2 and the Watchdog timer.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Mar 20, 2009 12:32 pm     Reply with quote

Additional Timer tutorial links:

Newguy's timer tutorial:
http://www.ccsinfo.com/forum/viewtopic.php?t=22467

Microchip -- Timers Tutorial
http://ww1.microchip.com/downloads/en/DeviceDoc/51682A.pdf

Microchip -- Timers: Timer0 Tutorial (Part 2)
http://ww1.microchip.com/downloads/en/DeviceDoc/51702A.pdf
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group