Return-Path: X-Spam-DCC: paranoid 1170; Body=2 Fuz1=2 Fuz2=2 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on lipkowski.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DNS_FROM_AHBL_RHSBL, HTML_10_20,HTML_MESSAGE,SPF_PASS autolearn=no version=3.1.3 Received: from post.thorcom.com (post.thorcom.com [195.171.43.25]) by paranoid.lipkowski.org (8.13.7/8.13.7) with ESMTP id u37AGd6k027911 for ; Thu, 7 Apr 2016 12:16:39 +0200 Received: from majordom by post.thorcom.com with local (Exim 4.14) id 1ao6sk-0000ei-Ts for rs_out_1@blacksheep.org; Thu, 07 Apr 2016 11:09:46 +0100 Received: from [195.171.43.32] (helo=relay1.thorcom.net) by post.thorcom.com with esmtp (Exim 4.14) id 1ao6sk-0000eZ-Dl for rsgb_lf_group@blacksheep.org; Thu, 07 Apr 2016 11:09:46 +0100 Received: from mail-vk0-x231.google.com ([2607:f8b0:400c:c05::231]) by relay1.thorcom.net with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1ao6si-0006dJ-M7 for rsgb_lf_group@blacksheep.org; Thu, 07 Apr 2016 11:09:45 +0100 Received: by mail-vk0-x231.google.com with SMTP id c4so92626921vkb.3 for ; Thu, 07 Apr 2016 03:09:44 -0700 (PDT) X-DKIM-Result: Domain=gmail.com Result=Good and Known Domain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=G59PPSfvTQ6PEEwpM/nIrW9exha6KkFfER+krzE/3VI=; b=hQ1sEN5TbL59MR7MfsyLTSZKDuF1ZB2oY6cvkzEz39pNbayEYY6keVohsOHtoocNrW gWJEwuDOCaucNWWN1PjHpRlnwBipfLYUx4QQT19xheC1aF4yP2KegbDMqayssAk8/qyB /ch7sjL2l/QI+Er6wYKbBJgjYVkXT5Mr+pTAT036G5v2BKzMHsf5KYsnFGVJxx/upm8K FqkKoNpCtZgfBSZkq9kYusok07Tj/YJVusDM9P5Elwbs3+s/03UsLqn+vpXdgJk25o6+ OH36Uv2IBIrQnAubLA/mK7XyqTxP4m1NXxQmGCdSStK5vQNQp1pb2Amvi+V64fFIiK3K jkjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=G59PPSfvTQ6PEEwpM/nIrW9exha6KkFfER+krzE/3VI=; b=HnKwfgFnDcowKSeByrNwhLzwHCbJFK9nf2sHQuUPlq7ta6zIbGPzVD/Jcyn+qkVut6 XHG0e3/hFV1wpzZWI1ySapobJ/+JZNFcXULnc5QWvBWdS3CptvAqSttMbhAKuP/zJ37Z rpMzgTgGMFUcKEMT1p+bckU68pD3x5Y1YTKKcm97t+NGMn9pJSWlVhNfslJ7Lf92PuwP I8SOas4oQ58aR02tk3JY/E1g/u8ekcZBFBYQ84b7lIgRt8kgDnvLYTTj6q7dIRG+E4CH SGpU5q2TdfPry37ZtBnmYW63hiilK8F5MpvpvN6ssE20WcBRKWaEWFNRNLrem9/xSAlS XLfQ== X-Gm-Message-State: AD7BkJJHIzetmaOpVJwZFXDdkj98MVcNnvKROf7cQj/Qjm+k1rCOTM7aB/CTj3V2nj9rvn9+sw43Zegs/+Z6Sg== MIME-Version: 1.0 X-Received: by 10.31.146.5 with SMTP id u5mr780496vkd.19.1460023782764; Thu, 07 Apr 2016 03:09:42 -0700 (PDT) Received: by 10.159.41.69 with HTTP; Thu, 7 Apr 2016 03:09:42 -0700 (PDT) Date: Thu, 7 Apr 2016 11:09:42 +0100 Message-ID: From: Andy Talbot To: rsgb_lf_group@yahoogroups.co.uk, rsgb_lf_group@blacksheep.org X-Scan-Signature: 1708620d3ce65bee0beaaede7929769a Subject: LF: Fast Serial Interfacing with PICs Content-Type: multipart/alternative; boundary=001a1143adccefaa2b052fe246b1 X-SA-Exim-Scanned: Yes Sender: owner-rsgb_lf_group@blacksheep.org Precedence: bulk Reply-To: rsgb_lf_group@blacksheep.org X-Listname: rsgb_lf_group X-SA-Exim-Rcpt-To: rs_out_1@blacksheep.org X-SA-Exim-Scanned: No; SAEximRunCond expanded to false X-Scanned-By: MIMEDefang 2.56 on 10.1.3.11 Status: O X-Status: X-Keywords: X-UID: 7605 --001a1143adccefaa2b052fe246b1 Content-Type: text/plain; charset=UTF-8 I know the subject is nothing to do with LF, but I didn't keep the original thread... A few months ago someone on one of these two LF reflectors pointed me at the Enhanced USART in the 16F688 and later PIC devices, saying how the baud rate could be set as high as Fosc / 4. So getting 3M Baud with a 12MHz Xtal for compatibility with FTDI chip COM ports at thier highest setting. Who was it and have you managed to do this? I finally got round to testing a 16F688 at 3Meg and am getting some funny results that mean sometimes the PIC's EUSART sends the right data, and sometimes it gets itself tied up in knots, sending one character several times It is not a programming error either, as the code works perfectly at lower baud rates, by just changing the divider. The nature of the problem looks and feels like something inherent to the internals of the chip Andy G4JNT --001a1143adccefaa2b052fe246b1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I know the subject is nothing to do with LF, but I didn= 9;t keep the original thread...

A few months ago someone= on one of these two LF reflectors pointed me at the Enhanced USART in the = 16F688 and later PIC devices, saying how the baud rate could be set as high= as Fosc / 4. So getting 3M Baud with a 12MHz Xtal for compatibility with F= TDI chip COM ports at thier highest setting.

Who w= as it and have you managed to do this? =C2=A0 I finally got round to testin= g a 16F688 at 3Meg =C2=A0 and am getting some funny results that mean somet= imes the PIC's EUSART sends the right data, and sometimes it gets itsel= f tied up in knots, sending one character several times

It is not a programming error either, as the code works perfectly at = lower baud rates, by just changing the divider. =C2=A0 The nature of the pr= oblem looks and feels like something inherent to the internals of the chip= =C2=A0

Andy =C2=A0G4JNT

--001a1143adccefaa2b052fe246b1--