HSEROUT problem at 20MHz


Closed Thread
Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Location
    Isle of Man
    Posts
    32


    Did you find this post helpful? Yes | No

    Cool HSEROUT problem at 20MHz

    Problem has been completely solved, as you suggested, by putting 0.1uF ceramic caps spanning the power supply lines to the PIC and the MAX232 on my breadboard. Thanks for the solution.

    Incidentally, I found another problem relating to power supplies when experimenting with the 16F877. Like many PICs, the device has 2 pins (on opposite sides of the DIP) for each of the VDD and VSS connections. Thinking it would be good to connect up both sets, I found the PIC drew a heavy current and did'nt work. Only one pair should be used. The datasheet does not detail this.

    __________________________________________________ ___________
    In electronics there is no such thing as a new idea, only new applications of old ideas.

  2. #2
    Join Date
    Feb 2003
    Posts
    432


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by manxman
    Incidentally, I found another problem relating to power supplies when experimenting with the 16F877. Like many PICs, the device has 2 pins (on opposite sides of the DIP) for each of the VDD and VSS connections. Thinking it would be good to connect up both sets, I found the PIC drew a heavy current and did'nt work. Only one pair should be used. The datasheet does not detail this.
    Many of the larger PICs have multiple power pins.

    ALL OF THESE SHOULD BE CONNECTED.

    They are not duplicated to make PCB layout easier, they are there to feed power to all parts of the chip without burning out internal tracks. IF you only use one set you will eventually damage a PIC and could also have eratic behaviour of your program.

    I would respectfully suggest that the reason your PIC drew a heavy current and didnt work was due to inadvetantly shorting out the power supply as the two sets of pins are NOT exactly opposite but slightly offset making a wiring error a distinct possibility particularly when breadboarding a design.
    Keith

    www.diyha.co.uk
    www.kat5.tv

Similar Threads

  1. I2C Slave with a PIC
    By ralfmayr in forum mel PIC BASIC Pro
    Replies: 129
    Last Post: - 21st August 2016, 17:44
  2. HSEROUT and Commas, What? Help Me Understand
    By altech6983 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 20th July 2009, 19:12
  3. Is HSEROUT corrupting bit 7 ?????
    By Robert Wells in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 23rd October 2008, 16:26
  4. HSEROUT Problem
    By Keith in forum General
    Replies: 2
    Last Post: - 25th June 2005, 15:09
  5. Advantages of HSerout over Serout2 and a problem
    By rpstroj in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th August 2004, 22:19

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