How to set up UART??


Closed Thread
Results 1 to 9 of 9

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest

    Default

    Quote Originally Posted by jkbpower View Post
    I forgot to say that I dont run the pic at 10Mhz as I said erlier.
    I use HSPLL function and run it at 40MHz.
    /JKBPower
    Then you have to DEFINE OSC 40 'cause it's running at 40Mhz, not 10Mhz

  2. #2
    Join Date
    Apr 2007
    Posts
    10

    Default

    Yes, I use OSC 40.
    But still not working as it should.
    Maybe I have something wrong in my design with the MAX232 curcuit.
    I will do a check to if it works.

  3. #3
    Join Date
    Apr 2007
    Posts
    10

    Default

    Hi again,
    hmm.. its a little embarrassing.
    I´ve got it working now.
    I just had to shift the RX and TX line on the RS232 cable. hehe.
    I took the scope and saw that both my pic and the PC tried sending data on same line.
    But I got lot of help from you anyway. Like this PicMultiCalc software :-)
    /JKBPower

Similar Threads

  1. Pin won't stay high during Repeat...Until loop??
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 16th August 2009, 23:57
  2. Interruptus Frustratus
    By Byte_Butcher in forum General
    Replies: 16
    Last Post: - 17th April 2009, 20:36
  3. 16F628A - Stops if release power switch.
    By dene12 in forum General
    Replies: 16
    Last Post: - 14th February 2009, 07:57
  4. Help with sound command in 2 programs
    By hyperboarder in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th July 2007, 20:36
  5. error on compiling
    By parker in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 16th June 2005, 14:31

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