Searching \ for '[PIC]: software USART' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/ios.htm?key=usart
Search entire site for: 'software USART'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: software USART'
2001\02\05@073422 by Oluseyi Odeinde

flavicon
picon face
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
spam_OUTpiclist-unsubscribe-requestTakeThisOuTspammitvma.mit.edu


2001\02\05@085314 by DAANEN Vincent

flavicon
face
Find something here :
http://www.geocities.com/SiliconValley/Network/3656/c2c/examples.html ,
http://www.winpenny.cwc.net/index.htm.
You may use C2C compiler to use this software implementation.


{Quote hidden}

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


2001\02\05@095752 by Olin Lathrop

face picon face
part 1 279 bytes content-type:text/plain; (decoded 7bit)

> 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.

Attached is one in assembler.



part 2 13832 bytes content-type:application/octet-stream; (decode)

part 3 298 bytes

*****************************************************************
Olin Lathrop, embedded systems consultant in Devens Massachusetts
(978) 772-3129, olinspamspam_OUTembedinc.com, http://www.embedinc.com

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


2001\02\05@105237 by JP.BROWN

flavicon
face
See my recent reply to 'piclite?' for an example in HiTech's piclite C
I also have an example done in C5X if you are interested.
----John

         -----  John P. Brown      KILLspamJ.P.BrownKILLspamspambradford.ac.uk ----
          \            --- Witty remark goes here ---         /
           --------------------------------------------------

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


2001\02\05@130811 by mike
flavicon
face
On Mon, 5 Feb 2001 12:37:13 +0000, you wrote:

>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.
Do it in assembler - this sort of bit-bashing is easier in assembler
than in C as C can't make good use of the carry functionality.

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


2001\02\09@013253 by Alejandro Lavarello

picon face
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}

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email RemoveMElistservspamTakeThisOuTmitvma.mit.edu with SET PICList DIGEST in the body


More... (looser matching)
- Last day of these posts
- In 2001 , 2002 only
- Today
- New search...