Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to detect baud rate of rs-232

Status
Not open for further replies.

accura

Newbie level 6
Joined
Apr 21, 2002
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
29
detect baudrate

I saw Jolt PIC18F Bootloader can automatically detect the baud rate of rs-232. Do you have any idea how to detect this ?


Thank you very much
 

rs232 automatic baud rate detection

Hi accura

Most of the 'automatic' detection waits for a known character from the host
(e.g. a 'Space' or 'CR'). If you look at the binary code of 'Space', you will
see that you have a single '1' Bit. You can measure (timer) the length of
this '1' and set the baudrate to the calculated value. The next character
you receive will be received by your UART and you can check (framing,
evt. parity) if it was received correctly. If so - perfect you found the right
baudrate. If not - try again...

Greets
 

detect baud rate

thank you very much
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top