Thread: system clock

  1. #1
    Registered User
    Join Date
    Jun 2010
    Posts
    6

    system clock

    hi im using a C8051 target board. i would like to know how can u set the system clcok frequency to 12MHZ?

    Thnak u

  2. #2
    Password:
    Join Date
    Dec 2009
    Location
    NC
    Posts
    587
    The RTC?
    Last edited by User Name:; 07-01-2010 at 09:00 PM. Reason: Added link.

  3. #3
    {Jaxom,Imriel,Liam}'s Dad Kennedy's Avatar
    Join Date
    Aug 2006
    Location
    Alabama
    Posts
    1,065
    Is it internally clocked? Normally, to set a chip to a specific frequency you'd need a specific crystal.

    Also, this is NOT a C question, but should have been put into Tech Board.

  4. #4
    Password:
    Join Date
    Dec 2009
    Location
    NC
    Posts
    587
    Or the PIT?

  5. #5
    Registered User
    Join Date
    May 2010
    Posts
    4,632
    The easiest way is to use Silabs Configuration Wizard to compute the proper values for the OSC.

    Jim

  6. #6
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    Get a 12MHz crystal.

    Or a slower crystal and use a phase locked loop to multiply the frequency, but that doesn't make sense at 12MHz (usually used for high frequencies because high frequency crystals are expensive/non-existent).

    And what does this have to do with C?

  7. #7
    {Jaxom,Imriel,Liam}'s Dad Kennedy's Avatar
    Join Date
    Aug 2006
    Location
    Alabama
    Posts
    1,065
    Quote Originally Posted by cyberfish View Post
    Get a 12MHz crystal.

    Or a slower crystal and use a phase locked loop to multiply the frequency, but that doesn't make sense at 12MHz (usually used for high frequencies because high frequency crystals are expensive/non-existent).

    And what does this have to do with C?
    Is there an echo in here?

  8. #8
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    Totally. I really should start reading replies before replying .

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to model a system?
    By ovid in forum C++ Programming
    Replies: 1
    Last Post: 03-05-2010, 09:18 AM
  2. clock ticks vs time.h
    By underthesun in forum C Programming
    Replies: 3
    Last Post: 01-26-2010, 11:46 AM
  3. Reliable UDP communication for merging events in a distributed system
    By dwks in forum Networking/Device Communication
    Replies: 1
    Last Post: 12-26-2009, 05:36 PM
  4. Simple File System in C
    By tsiknas in forum Linux Programming
    Replies: 2
    Last Post: 12-20-2009, 01:37 PM
  5. New system build wont boot
    By lightatdawn in forum Tech Board
    Replies: 7
    Last Post: 12-02-2005, 06:58 AM