This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Autodetection of baudrate.Problems in embebing assembly code in c code.

I am trying to make a program that detects the baudrate from a GPS entring to the serial port of th P89c51rd+.
I cannot make the assembly code given in the AN 447 from Philips to work.Besides it waits for a key.Is it possible to simulate the RETURN key, sending the ASCII code 0x0D to the SBUF?
2.Does anyone have a procedure that (or knows how to make a) autodetectes the any character, not just the RETURN?
Thanks
Amilcar

0