Automatic Baud Rate Detection


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by titanvision
    Thanks you all, is there a codes samples can be offered? . . .
    Joe
    Joe,
    You are asking too much.

    Start small.
    Think about how this could be solved.
    Steve's approach is something you could start with.

    Let's assume the "unknown" device sends out a (more or less) continous datastream
    at unknown Baudrate, Parity etc. and there is now way to influence that Datastream.
    So there will be no $55 or $AA Pattern you could sync to.
    It will be a challenge to detect the comms parameters.

    Even worse if the "unknown" device sends out data on request only.

    Again,
    start small, let your PC transmit data and try to detect it on your PIC.
    (and you'll soon see what I mean)
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



  2. #2


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by NavMicroSystems
    Joe,
    You are asking too much.

    Start small.
    Think about how this could be solved.
    Steve's approach is something you could start with.

    Let's assume the "unknown" device sends out a (more or less) continous datastream
    at unknown Baudrate, Parity etc. and there is now way to influence that Datastream.
    So there will be no $55 or $AA Pattern you could sync to.
    It will be a challenge to detect the comms parameters.

    Even worse if the "unknown" device sends out data on request only.

    Again,
    start small, let your PC transmit data and try to detect it on your PIC.
    (and you'll soon see what I mean)
    Thank you Ralph,

    I understand what you mean; somehow I have short of experience with PDS and PBP compilers. Anyway your advice still appreciates

    Regards,

    Joe

Similar Threads

  1. A Serial GLCD 128x64 Simple Project
    By Oldspring in forum Off Topic
    Replies: 0
    Last Post: - 8th March 2010, 21:58
  2. AUTO baud rate detection FOR UART connection to PC
    By mike20200 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 3rd September 2007, 01:56
  3. Auto Baud Rate Detection
    By mytekcontrols in forum Serial
    Replies: 10
    Last Post: - 31st October 2005, 03:17
  4. PIC12F675, accuracy of baud rate with Internal Oscillator
    By Chris Mayhew in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 31st August 2005, 23:41
  5. Baud Rate and Timing Calculator
    By picnaut in forum General
    Replies: 3
    Last Post: - 23rd January 2004, 17:48

Members who have read this thread : 1

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