element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Microchip
  • Products
  • Manufacturers
  • Microchip
  • More
  • Cancel
Microchip
Forum fuse settings to "overclock"?
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Microchip to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 3 replies
  • Answers 1 answer
  • Subscribers 18 subscribers
  • Views 771 views
  • Users 0 members are here
Related

fuse settings to "overclock"?

YT2095
YT2095 over 13 years ago

I`m wondering how to get the most speed out of an MCU, in particular a PIC16c5x type, but I think this applies to some AVR chips too as I`v encountered similar.

with these chips you can set a fusebit for either RC timing or use a Crystal instead, I`ll be using a Crystal for my projects.

when you burn these chips you set the Fuse bits to tell it not only what type of oscillator you want but also what frequency it`ll be at, Nothing unusual there.

 

my problem is that the IDE I use to program these chips has a lowest setting of 1mS for the delay, I want to use this Delay function as a tone generator, but at 1mS the highest tone is 1KHz.

 

these chips will take a Max clock frq of 4MHz, so I`m wondering, if I set the fuse bit to think it`s working on 1MHz and put a 4MHz crystal in, will I get a 4 fold increase in speed from the timer, and thus a 4KHz frequency out?

 

I know the chip itself if easily capable of toggling a bit at a rate much higher than 4K, so would my false overclocking idea work, or would I need to do something else?

 

I use the word "overclocking" cautiously, because it`s not Technically overclocking as the chip is meant to run at 4MHz anyway.

 

would it trick the timers prescaler?

 

cheers image

  • Sign in to reply
  • Cancel
  • Eavesdropper
    0 Eavesdropper over 13 years ago

    Overclocking a PIC is a common practice. Just applying other crystals usually does it. At some point, the processor's dependability will break down, and you will see a lot of errors.

     

    Try a hand full of different crystals, 6Mhz, 8Mhz etc.. You should be able to go to 8Mhz easily. After that, I am sure you will see errors.

     

    E

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • YT2095
    0 YT2095 over 13 years ago in reply to Eavesdropper

    Thanks for that, I had no idea that they could be overclocked so much, this will be helpful too.

    as it turns out I worked a way around this anyway in the end, and have decided not to use the timer peripheral at all, but rather write my own externally programable 16 bit counter, this not only gives me greater speed, but more flexibility and range too.

    the square waving will be sorted automatically by the dividers that will be used for each octave anyway.

     

    Thanks image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Eavesdropper
    0 Eavesdropper over 13 years ago in reply to YT2095

    Glad to help.

     

    E

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube