Hi, Seyi!
I suggest you to use a PIC MCU that really has a hardware UART:
you can achieve best results.
If you make a software full duplex UART ("bit banging" :) you waste
a lot of CPU time and program memory...
The most easy UART implementation in soft is half duplex.
If you need full duplex, maybe you need to use "isochronous code"
or a periodic interrupt using a timer. The use of periodc
interrupt is a trouble because the inherent interrupt jitter
in the PIC architecture (switch to Ubicom :-)
The use of isochronous code is a pain in the ... , it is much
simpler to use linear code and interrupts.
But, if you persevere using full duplex soft UART, the code
that I have posted in the piclist ("lcd232-e.zip", uploaded in 2000-08-11)
that manages a 4x4
keyboard and LCD module with a 4MHz PIC16F84 maybe can help you...
The communication is at 1200 baud full duplex, 8 bit,no parity.
It uses isochronous code.
Bye! :)
Alejandro.
At 12:37 05/02/01 +0000, you wrote:
{Quote hidden}>Hello everyone,
>
>Can someone/anyone pls point me in the direction of where to find a
>software implementation of USART (preferably in C). I have been
>searching the microchip website but haven't found anything yet.
>
>TIA
>Seyi
>
> ("`-''-/").___..--''"`-._
> `6_ 6 ) `-. ( ).`-.__.`)
> (_Y_.)' ._ ) `._ `. ``-..-' Have a Grrrrreat day!
> _..`--'_..-_/ /--'_.' ,'
> (il),-'' (li),' ((!.-'
>
>--
>
http://www.piclist.com hint: To leave the PICList
>
TakeThisOuTpiclist-unsubscribe-requestEraseME
spam_OUTmitvma.mit.edu
>
>
>
--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email RemoveMElistserv
TakeThisOuTmitvma.mit.edu with SET PICList DIGEST in the body