Return-Path: Received: (qmail 15805 invoked from network); 26 Jan 2002 15:16:11 -0000 Content-Transfer-Encoding: 8bit Received: from unknown (HELO murphys-inbound.services.quay.plus.net) (212.159.14.225) by excalibur-qfe1-smtp-plusnet.harl.plus.net with SMTP; 26 Jan 2002 15:16:11 -0000 X-Priority: 3 X-MSMail-Priority: Normal Received: (qmail 27816 invoked from network); 26 Jan 2002 15:16:09 -0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Received: from unknown (HELO post.thorcom.com) (212.172.148.70) by murphys.services.quay.plus.net with SMTP; 26 Jan 2002 15:16:09 -0000 Received: from majordom by post.thorcom.com with local (Exim 3.33 #2) id 16UUVl-0002r7-00 for rsgb_lf_group-outgoing@blacksheep.org; Sat, 26 Jan 2002 15:12:57 +0000 Received: from tomts16-srv.bellnexxia.net ([209.226.175.4]) by post.thorcom.com with esmtp (Exim 3.33 #2) id 16UUVk-0002r1-00 for rsgb_lf_group@blacksheep.org; Sat, 26 Jan 2002 15:12:56 +0000 Received: from server1.sympatico.ca ([216.209.138.103]) by tomts16-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20020126151201.JQRF24797.tomts16-srv.bellnexxia.net@server1.sympatico.ca>; Sat, 26 Jan 2002 10:12:01 -0500 Message-ID: <5.1.0.14.0.20020126100638.00b020c0@POP2.sympatico.ca> X-Sender: b1aemm59@POP2.sympatico.ca X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sat, 26 Jan 2002 10:09:52 -0500 To: "Johan Bodin" , "Mitch Powell" , rsgb_lf_group@blacksheep.org From: "Larry Kayser" Subject: LF: USART in the 16F628 In-reply-to: <00d401c1a5a3$a3137c20$9c2465d5@oemcomputer> References: <5.1.0.14.0.20020118063454.00a58480@POP2.sympatico.ca> <5.1.0.14.0.20020119154004.00adf750@POP2.sympatico.ca> <5.1.0.14.0.20020124192729.00a65e30@POP2.sympatico.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Precedence: bulk Reply-To: rsgb_lf_group@blacksheep.org X-Listname: rsgb_lf_group Sender: Greetings: I have for some days been struggling with achieving consistent and accurate serial port operation, especially when the Interrupts are being hit at a high rate. The APNOTE from MICROCHIP does not work most of the time and never worked properly. However a fine piece of work by Tom McGahee, PICUART.ASM for the 16C74A should be adaptable to the 16F628. It was adaptable and works like a charm. I have now tried this with the following Oscillator configurations. For the 16F628, the Internal 4 MHz, an external 4 MHz crystal, a 1.8432 MHz crystal and with a high speed 16F628 it ran just fine with a 21.7 MHz crystal. I will send any and all who ask a copy of this ASM file, which I happen to call PIC8_4B.ASM, configured to run on a 4 MHz crystal or 4 MHz internal oscillator by just compiling it with MPASM. I will decline to express my thoughts about Microchip documentation and product support. It is suffice to say that my first copy of CPM-80, the one with both handwritten and typewritten documentation from Gary Kendall about 1976/7 was of higher quality and vastly more accurate than what I have received from Microchip for the 16F628. Larry Kayser VA3LK