AUTO baud rate detection FOR UART connection to PC


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2007
    Posts
    10

    Default AUTO baud rate detection FOR UART connection to PC

    Im using PIC 16F877A with 20MHZ crystal and i wonder how to auto detect baud rate instead of setting it constant. DO anyone haev example for it?

  2. #2


    Did you find this post helpful? Yes | No

    Lightbulb Really nice application of it on AN from microchip

    Hi, this will be found in Assembler but its really simple code, you can find it on the
    Bootloader application Note from microchip for pics 18F. This code has a nice
    autoBaud detection routine at the begining.

    AN851

    http://ww1.microchip.com/downloads/e...eDoc/00851.zip

    My guess, since i am not a great ASM coder is that they always send a $0F a the beggining of each packet, this $0F is used to measure the baud rate.

    Since the BootLoader applies to 16F877 it will help you.

  3. #3
    Join Date
    Aug 2007
    Posts
    10


    Did you find this post helpful? Yes | No

    Default

    thx alot but i prefer the code in Basic. i need to combine this auto baud rate code with the rest of my other code.anyone can help and got example to share?

Similar Threads

  1. A Serial GLCD 128x64 Simple Project
    By Oldspring in forum Off Topic
    Replies: 0
    Last Post: - 8th March 2010, 20:58
  2. Replies: 14
    Last Post: - 20th March 2008, 13:54
  3. Auto Baud Rate Detection
    By mytekcontrols in forum Serial
    Replies: 10
    Last Post: - 31st October 2005, 02: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, 22:41
  5. Baud Rate and Timing Calculator
    By picnaut in forum General
    Replies: 3
    Last Post: - 23rd January 2004, 16: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