Olin I think this refers to how accurately you detect the start bit, therefore how accurately you can locate the center of subsequent bits. Testing for start with even 1 bit time would work sometimes, 1/2 bit time (i.e. polling for start at twice baud rate) gives 1/2 bit uncertainty, 1/4 is probably a good compromise. Hardware UARTs frequently use 1/16 bit sampling. Oliver. ----- Original Message ----- From: Olin Lathrop To: Sent: Sunday, September 24, 2000 3:46 PM Subject: Re: [PIC]: Asynchronous comms on PIC 12ce519 > > In case anyone is interested l have found that you synchronise at 1/4 bit > > time for sampling and leave a 1/2 bit window in which to sample you get > much > > better results than trying to sample at 1/2 bit time... > > I don't follow what your are trying to say. If you are going to take a > single sample per bit, why would you not want to center your sampling window > at wherever you think the center of the bit is? > > > ***************************************************************** > Olin Lathrop, embedded systems consultant in Devens Massachusetts > (978) 772-3129, olin@cognivis.com, http://www.cognivis.com > > -- > http://www.piclist.com hint: PICList Posts must start with ONE topic: > "[PIC]:" PIC only "[EE]:" engineering "[OT]:" off topic "[AD]:" ad's > > > -- http://www.piclist.com hint: PICList Posts must start with ONE topic: "[PIC]:" PIC only "[EE]:" engineering "[OT]:" off topic "[AD]:" ad's