Need advice on config: PIC12F675 timer1 interrupt @overflow - GPIO.4 GPIO.5 no output


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2007
    Posts
    78

    Default Need advice on config: PIC12F675 timer1 interrupt @overflow - GPIO.4 GPIO.5 no output

    Hi All,
    I know there are some on the forum here who are supper familiar with the 12F675.
    This is my first attempt at using it with timer1 interrupt on overflow.

    I got the interrupt working just fine, but then found that GPIO.4 and GPIO.5 will not go HIGH when commanded to.
    I suspect somehow, I've got the configuration settings such that I might have interrupt-on-external-pin somehow set without knowing it.
    I've looked at the data-sheet and am uncertain as to what the config should be in order to have the interrupt on overflow, without interrupt on external pin.
    Ofcourse I have (A/D = 0 = off) and (Comparator = 7 = off), so I don't think that is interfering.

    Does anyone have sample config commands for setting up timer1 for interrupt on overflow?
    I'm hoping to use GPIO.3 as input and all other pins as output.

    Thanks!!!!

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,611


    Did you find this post helpful? Yes | No

    Default Re: Need advice on config: PIC12F675 timer1 interrupt @overflow - GPIO.4 GPIO.5 no ou

    Hi,

    IF you want some support ... you HAVE to provide your full code.

    Lester does not furnish any more the crystal balls ...

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Members who have read this thread : 2

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