Oscillator stops when touching with a wire


Closed Thread
Results 1 to 24 of 24

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    AND
    1.make sure LVP is set to OFF on both
    2.make sure ALL Vss & Vdd are connected.

    If both run @5V, it shouldn't be a Brown-Out reset or... sort of.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  2. #2


    Did you find this post helpful? Yes | No

    Default

    Thanks for the replies !

    Just to come back on the below feedback:
    - Caps are used to stabilize power supply (100nf and 10mf) and also every PIC has a 100nf cap on the power supply pin
    - MCLR has a pull-up resistor
    - LVP set to off

    Other ideas what it could be?

    I can post the network drawing (Eagle file) but i'm not sure if i can attach files ...

    Many thanks for helping me with this !!

    Wilbert

  3. #3


    Did you find this post helpful? Yes | No

    Default

    Also the 2 VSS pins are connected ...

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    How good / stable is you power supply?
    Dave
    Always wear safety glasses while programming.

  5. #5


    Did you find this post helpful? Yes | No

    Default

    Some additional information:
    - The processor doesn't reset but stops in my opinion. I've used debug information on a serial port. On each startup, an appropriate message is sent (which i don't receive when this problem occurs). I'm also displaying variables and when the processor continues, he still has the right values.
    - Most of the cases, information on the RS485 network triggers the processor to continue.

  6. #6


    Did you find this post helpful? Yes | No

    Default

    Dave,

    Good point, it's a lab power supply so i didn't had any doubt about it ... I'm going to check it now !

    Thanks !

    Wilbert

  7. #7
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    And how is the brown out fuse set?
    Dave
    Always wear safety glasses while programming.

  8. #8


    Did you find this post helpful? Yes | No

    Default

    Checked Power supply -> OK
    Added additional caps -> problem remains
    Changed Power supply -> problem remains
    Changed cables -> problem remains

    Even when i touch VDD with a none connected cable (15 cm), i see the clock stopping on multiple processors ...

  9. #9


    Did you find this post helpful? Yes | No

    Default

    Configuration bits:
    device pic16F886, hs_osc, wdt_on, mclr_on, lvp_off, protect_off, cpd_on

Similar Threads

  1. 1 Wire Search Routine
    By Dave in forum Code Examples
    Replies: 3
    Last Post: - 4th March 2016, 08:39
  2. Need Single wire serial LCD converter example
    By polymer52 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 16th December 2009, 03:30
  3. 24c16 vs 24lc256 and serial wire identification
    By inspired4real in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 14th October 2008, 18:37
  4. Looking for low Wattage heater wire
    By jmgelba in forum Off Topic
    Replies: 1
    Last Post: - 21st November 2005, 19:22
  5. RPM with wire and PIC
    By Dwayne in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th December 2004, 21:42

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