piclist 2000\05\28\070501a >
Thread: [EE]: Microcontroller with 4 USARTs
face picon face BY : Alan B Pearce email (remove spam text)

>Unfortunately, to receive you need to run your interrupt handler somewhat
>faster than the bit time.  I have successfully built a software UART using a
>interrupt 6x of the bit rate. I expect 5x would work pretty well.

You get away with 4 samples per bit time if you are not doing it synchronous to
the bit edges. Many years ago before high speed async modems were commonly
available we used to send async data through synchronous modems, and could do it
with no errors if the async baud rate was a quarter of the sync modem rate.

<028401bfc894$73b7e5d0$5dbdf682@ssdwkiwi.AG.rl.ac.uk> 7bit

See also: www.piclist.com/techref/microchip/ios.htm?key=usart
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) [EE]: Microcontroller with 4 USARTs

month overview.

new search...