16F88 and TMR0 Interrupt - where's the fish?


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Try XT_OSC. May be over-driving your 4MHz crystal and producing some odd harmonics?
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  2. #2
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    964


    Did you find this post helpful? Yes | No

    Default

    First thing I tried when I noticed...

    No change. Just strange.

    I even removed the Xtal and set the internal oscillator to 4MHz... Still running appearently very fast.

    Have to check.
    Roger

  3. #3
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Why it appears to be running faster I can't say. What are you placing in OSCCON?
    Last edited by Bruce; - 4th November 2007 at 22:28.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  4. #4
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    964


    Did you find this post helpful? Yes | No

    Default

    I set bits <2:0> to specify the oscillator's mode selection (set in the config Word).

    Oooops! Just found I forgot to set the TMR0 prescaler rate in the OPTION_REG register...

    Everything is fine now.

    Thanks a lot.
    Last edited by flotulopex; - 5th November 2007 at 07:29.
    Roger

Similar Threads

  1. Instant Interrupts - Revisited
    By Darrel Taylor in forum Code Examples
    Replies: 772
    Last Post: - 17th February 2016, 22:14
  2. DT inst. interrupt & Timer0 with pic 16F88
    By aratti in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 17th December 2009, 21:23
  3. Problem with 16f88 steep motor control
    By ken_23 in forum Off Topic
    Replies: 0
    Last Post: - 4th July 2008, 12:25
  4. Ping Darrel Taylor - Timer0 Instant Interrupt
    By JEC in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 9th January 2007, 11:20

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