Any gotcha's when operating at 32KHz


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Sweden
    Posts
    237


    Did you find this post helpful? Yes | No

    Post

    The only thing i can remember that could cause problems is the WDT. PBP handles it for you and normally there is no problem, but running at 32kHz may cause your PIC to reset periodically. If you have problems with a resetting PIC you can sprinkle your code with CLEARWDT..... or you can shut it off completeley. I like to be in control .... sorry Mel ;-) .... so i would disable PBPs normal use of "clrwdt" with DEFINE NO_CLRWDT 1 and add CLEARWDT commands where needed. All you need to do is place the CLEARWDTs so there will never be more than 2 seconds executiontime between them.

    Many years ago i did a "thingy" running at 32768Hz and i had no issues with resetting PIC. It's been running 24/7 for 5-6 yers now. The biggest pain was to write the 1200 baud serial comms needed for debugging.

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    > Any gotcha's when operating at 32KHz

    Yes, everything runs S L O W .... your PIC can be overtaken by a tetraplegic tortoise on vallium... actually a 10F PIC ends up being one-third the price of a DS1307 in a clock application, just as accurate, and all you need is an extra Diode in your circuit (to isolate the Battery from the PICs Vdd). Squeezing comms into 256 bytes is kinda tricky though.

    > I like to be in control .... sorry Mel ;-)

    And there I was having fantasies about being 'on-top'... that's another one crossed-off the list!

  3. #3
    Join Date
    Jul 2003
    Location
    Sweden
    Posts
    237


    Did you find this post helpful? Yes | No

    Thumbs up

    I might reconsider if someone(who may want to be anonymous) is wearing her tight-leather catsuit with thigh-high boots and chromed spikey heels ....... 8-P

Similar Threads

  1. Operating system kernels for microcontrollers!??!
    By Armando Herjim in forum General
    Replies: 2
    Last Post: - 3rd October 2006, 22:47
  2. Operating a PIC at 3V ?
    By Scott in forum Off Topic
    Replies: 5
    Last Post: - 12th September 2005, 00:59

Members who have read this thread : 0

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