Its at http://www.piclist.com/../microchip/usarttcs and is listed under http://www.piclist.com/faq under I/O, rs232, "Thomas C. Sefranek's 16C73 USART Serial Port Gotcha List and Source" right next to "Ken Websters PIC16C74 serial port multiplexer." which is also working code. --- James Newton mailto:jamesnewton@geocities.com 1-619-652-0593 http://techref.massmind.org NEW! FINALLY A REAL NAME! Members can add private/public comments/pages ($0 TANSTAAFL web hosting) -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Thomas McGahee Sent: Sunday, April 09, 2000 13:06 To: PICLIST@MITVMA.MIT.EDU Subject: Re: PIC16C74 Built-In UART Routines Needed. I have read over the errata file for the PIC16C74 and noted the warning about BRGH needing to be set LOW to prevent excessive receive errors. Thanks to Dan Michaels for bringing that to my attention. OK, so I did that. Still nothing but errors from the UART receiver. Brian Kraut and I are working together on solving this problem, but at the moment we are both stumped. It is probably some really simple step that we are leaving out, but we are too close to the problem to see what it is we are missing. Surely *someone* out there has used the built-in UART successfully on this device. I need to get this UART working as soon as possible, as this is holding up the rest of the project. I will continue to try my own experiments and see if I can get this UART thing working properly, but in the meantime, if you have some working code that you can snip out and e-mail me, I would be *deeply* grateful. Help! I want to be able to sleep again! Thank you for your consideration! Fr. Tom McGahee -----Original Message----- From: Thomas McGahee To: PIC LIST Date: Saturday, April 08, 2000 7:44 PM Subject: PIC16C74 Built-In UART Routines Needed. >Dear PICSTERS, >I am in the middle of a project using a PIC16C74 and I >am having trouble getting my routines that use the >built-in Asynchronous Receiver/Transmitter to work. > >Part of the problem is that there are inconsistencies and >errors in the manual for this device. The other part of the >problem is that the manual has no sample initialization >routines and sample serial input and output routines. > >Normally I am one of the people answering other people's >requests for help. Well, now I am in need of a little >help myself. > >If any of you have working code for the UART initialization >and sample input and output routines *that work*, I would >be most grateful if you would e-mail me a copy. >tom_mcgahee@sigmais.com > >I am not sure, but the built-in UART for some of the other >PICs may be identical, so if you have code for some other >PIC, please respond. > >Thank you for your consideration. I know that each of you >has a thousand other things to do that are more important >than answering this request. That is a fact that makes me all the >more grateful to those who will take the time to respond, and >who have the generosity to share with me the fruits of their >labor in this area. > >Fr. Tom McGahee >