piclist 2001\01\31\202453a >
Thread: : New to PIC16F877
www.piclist.com/techref/microchip/devices.htm?key=16F
flavicon
picon face BY : Tony Nixon email (remove spam text)



William Chops Westfield wrote:

> If you don't know either the bitrate OR where the start bit is, you'd have
> a really interesting time - you'd almost be better off with a software uart.
> (scan for "narrowest bit" to get speed, use start/stop bit detection to sync
> with correct character positions.)

Perhaps that's the key.

Have the software scan for the bit width you mention and when it is
happy, set the UART baud rate to suit.

To establish comms, the PC or whatever can send out a stream of 'X'
chars (?) until told to stop, or for a fixed duration.

The receiver scans the bit widths to decide on a baud rate and sets the
UART.

If it detects all bytes are 'X' then ACK to PC that it is online.

--
Best regards

Tony

mICro's
http://www.picnpoke.com
spamBeGonesalesTakeThisOuTspampicnpoke.com

--
http://www.piclist.com hint: To leave the PICList
TakeThisOuTpiclist-unsubscribe-requestKILLspamspammitvma.mit.edu



seeking: ubicom lib io video
<3A78ACA9.A1DFF742@eng.monash.edu.au> 7BIT

See also: www.piclist.com/techref/microchip/devices.htm?key=16F
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) : New to PIC16F877

month overview.

new search...