Problems with Asyncronous Communications


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    BertMan's Avatar
    BertMan Guest


    Did you find this post helpful? Yes | No

    Default

    Thanks!! I am starting to see data now coming from the M50 now that I added a pull down resistor to the output. Still not getting valid data though. I will take your advice and use another max232. I will let you know how it goes. Thanks for the help.

  2. #2
    BertMan's Avatar
    BertMan Guest


    Did you find this post helpful? Yes | No

    Default

    Sorry, one more thing. I am using the internal 8mhz clock for testing purposes. Is this fast enough to keep up with the 19200 baud?

  3. #3
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    8MHz should work at this data-rate, but take into account that the iinternal osc can/will drift - so and it's not the best option for timing sensitve things like serial data exchange. A crystal is by far the best option if you want repeatable results under varying conditions.

    Temperature changes will cause internal oscillator frequency drift & loss of communications/data. You have the option of tuning the internal osc to compensate for freq drift, but it's more of a pain than it's worth in my opinion.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  4. #4
    BertMan's Avatar
    BertMan Guest


    Did you find this post helpful? Yes | No

    Default

    Got it working! I decided to use a max232 and have been scratching my head as to why the pic still wasnt picking up the serial data from the micro 50. The resolution included taking a DEBUG statement out that was between the SEROUT and SERIN commands. I am hoping everyone has made this mistake before so I dont feel like a complete tard. Thanks for all the help.

Similar Threads

  1. Communications headset tester
    By skimask in forum Off Topic
    Replies: 20
    Last Post: - 13th December 2006, 15:40
  2. PIC Basic Pro <-> HP-IL communications
    By swr999 in forum Serial
    Replies: 0
    Last Post: - 6th March 2006, 19:30
  3. PIC Basic Pro <-> HP-IL communications
    By swr999 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 6th March 2006, 19:22
  4. Problems with 16F876 on interrupts an WRITE / READ
    By BigWumpus in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 20th December 2005, 15:38
  5. USART problems
    By egberttheone in forum mel PIC BASIC Pro
    Replies: 47
    Last Post: - 6th March 2005, 22:45

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