Faster Clock Speed for Shiftin/out?


Closed Thread
Results 1 to 4 of 4
  1. #1
    achilles03's Avatar
    achilles03 Guest

    Default Faster Clock Speed for Shiftin/out?

    The PBP manual states that the clock speed for shiftin and shift out is about 50kHz, "depending on the oscillator". If I use a 20Mhz crystal, does this increase the clock speed linearly (i.e. assuming a 50kHz clock speed for a common 4Mhz osc, then would the clock speed increase to 250kHz for a 20Mhz xtal?), or does the compiler take the oscillator speed into account (with the define osc X statement) to compensate?

    Thanks,
    Dave

  2. #2
    achilles03's Avatar
    achilles03 Guest


    Did you find this post helpful? Yes | No

    Default

    I hope the answer to this question isn't unknown. Basically, all I need to know is if the clock frequency using a 20Mhz oscillator is 250kHz, or does it stay at 50kHz (using shiftin/shiftout).

    Thanks,
    Dave

  3. #3
    Join Date
    Dec 2003
    Location
    WI
    Posts
    13


    Did you find this post helpful? Yes | No

    Default

    If you have access to an o-scope or freq counter you should be able to answer your own question.

    Jason

  4. #4
    Join Date
    Sep 2003
    Location
    Vermont
    Posts
    373


    Did you find this post helpful? Yes | No

    Default

    If not, the answer is...yes. It does increase with clock speed.

    Ron

Similar Threads

  1. Clock Speed
    By Del Tapparo in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 24th November 2007, 02:06
  2. Replies: 14
    Last Post: - 26th September 2007, 05:41
  3. Help with sound command in 2 programs
    By hyperboarder in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th July 2007, 20:36
  4. clock speed
    By Armando Herjim in forum General
    Replies: 1
    Last Post: - 30th November 2006, 12:25
  5. How to verify HS_PLL clock speed
    By CocaColaKid in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 23rd August 2005, 12:39

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts