12F675 reseting


+ Reply to Thread
Results 1 to 3 of 3

Thread: 12F675 reseting

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,807

    Default 12F675 reseting

    While I was testing the prototype board with a 12F675 chip, touching with the multimeter probe the pin#4 (MCLR and GP3 input) the chip did a reset.

    My configuration is set for internal MCLR and Input on GP3.

    Code:
    #config
        __CONFIG _INTRC_OSC_NOCLKOUT & _WDT_ON & _PWRTE_ON & _MCLRE_OFF & _BODEN_ON & _CP_ON 
    #endconfig
    
    DEFINE OSC 4
    DEFINE OSCCAL_1K 1 	'Read OscCal value from the last location
    
    GPIO=0
    TRISIO = %00011000
    Tried then to have MCLR on the pin and it clearly worked as a MCLR pin.
    Code:
    #config
        __CONFIG _INTRC_OSC_NOCLKOUT & _WDT_ON & _PWRTE_ON & _MCLRE_ON & _BODEN_ON & _CP_ON 
    #endconfig
    Then again set MCLR to internal and while it seems to be an input pin, it also does a reset sporadically. I'll do connect a resistor to +Vdd but wonder why this happens.

    Ioannis

  2. #2
    Join Date
    May 2013
    Location
    australia
    Posts
    2,389


    Did you find this post helpful? Yes | No

    Default Re: 12F675 reseting

    gpio3 doesn't have the the same esd protection as the the other gpio pins, a multimeter probe can deliver a good shock to the system
    Warning I'm not a teacher

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,807


    Did you find this post helpful? Yes | No

    Default Re: 12F675 reseting

    This explains why it is working just fine until I touch the pin with the probe. Even though the other probe is already connected to the ground.

    Ioannis

Similar Threads

  1. RAM not reseting
    By InitialDriveGTR in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 22nd January 2010, 19:24
  2. reseting variable - what can produce in program execute
    By phoenix_1 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 5th November 2009, 20:25
  3. 12f675
    By mystified in forum mel PIC BASIC
    Replies: 6
    Last Post: - 10th September 2007, 02:47
  4. Replies: 22
    Last Post: - 9th April 2007, 15:25
  5. Why is my PIC18F452 reseting?
    By Vincent in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 7th June 2006, 23:35

Members who have read this thread : 9

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