Understanding timer issues


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Feb 2008
    Location
    Michigan, USA
    Posts
    231


    Did you find this post helpful? Yes | No

    Default

    Thanks for the observations. The INT_INT was a leftover from a different chip and I didn't catch it there.

    I'm afraid the problem still exists. I have been trying to get a pattern so that I can at least identify why the timer seems to be out of control. I'm sure it is going to be something stupid, but last nights session didn't reveal it to me. I'm going to devise a few more tests tonight to try again. Decided to take a break from it and work on other areas for a while for a break.

    I will say that my understanding of PBP and PIC's in general has come a long way by working through recent projects. That has only been possible because of all of the help that this forum and it's members. I know that it can be frustrating, but your efforts are very appreciated.

    Thanks
    Bo

  2. #2
    Join Date
    Feb 2008
    Location
    Michigan, USA
    Posts
    231


    Did you find this post helpful? Yes | No

    Default

    A few more questions on this mystery...

    I'm using a 18F1330 and TMR0 is a selectable width timer (8/16bit).
    My understanding is that because it has TMR0L and TMR0H, in 8 bit mode, you preload TMR0L only. There is no TMR0 register specifically. Do I have that right? Are there any other issues with "changeable" timers

    I know that I have read threads concerning changing timer values on the fly in the program, but at the time, I was not facing those problems and wasn't smart enough to leave a trail to find my way back now that I need the insight. I have tried searching, but I haven't hit the right terms yet. Anybody remember a link to their favorite discussion on changing timer values?

    If anything jumps to mind, I would appreciate it. In the mean time, I'll see if I can cajole an answer from some testing.

    Thanks, I learn a great deal from you all. (sometimes, what questions NOT to ask!...) ;-)

    Bo

Similar Threads

  1. Elapsed Timer Demo
    By Darrel Taylor in forum Code Examples
    Replies: 111
    Last Post: - 29th October 2012, 17:39
  2. Timer + rc5
    By naga in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 19th November 2009, 07:56
  3. Timer interrupt frequency
    By Samoele in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th January 2009, 23:49
  4. Timer Issues
    By Kamikaze47 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 7th September 2007, 15:05
  5. timer interupt help 16f73
    By EDWARD in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 3rd July 2005, 08:41

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