I'm using a 12F683 running with the internal oscillator at 8mhz and a SERIN2 routine catching incomming characters at 9600 baud. No problem.
However the transmitting device baud rate varies a bit and I was wondering if i could use some sort of autobaud routine to detect the length of a bit and work out the baud rate for the day!
I was thinking pulsin to measure a selection of bits, find the shortest, do some maths and then manipulate either the osctune register or the serin2 MODE low order baud rate bits?
Any comments. I can't use an enhanced pic and the transmitting device is not modifiable.
Anyone ever tried this?
Bookmarks