Serial Timeout Strange Issues


Results 1 to 21 of 21

Threaded View

  1. #11
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818

    Default Re: Serial Timeout Strange Issues

    Tell us about the power supplies and what you have done to suppress any noise from the power supply going to the PIC. You should have (MUST ?) a bypass capacitor right between the PICs power pins, you should have the servos on their own supply and I would recommend a nice fat 10 µF or larger Cap to pick up Low Freq spikes as well, Make sure the pics are not browning out when they run, all serial wires should be at the very least twisted, shielded is better but probably overkill, be aware fluorescent lights can cause misbehavior too. If all else fails try setting things up at a slower baud rate and if that works increase it until it fails, other things to check are, how sure are you about the actual oscillator speeds, are you using crystals, resonators or just R/C oscillators?

    EDIT; Oh and Dave pointed this out a while back from the data sheet . . .
    Note: When using resonators with frequencies
    above 3.5 MHz, the use of HS mode rather
    than XT mode, is recommended.
    HS mode
    may be used at any VDD for which the
    controller is rated.

    EDIT2: Define osc 4 MUST BE ALL UPPERCASE LETTERS . . . DEFINE OSC 4
    Last edited by Archangel; - 10th June 2011 at 04:50. Reason: add
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

Members who have read this thread : 1

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts