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