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=-0.7 required=5.0 tests=BAYES_00,DNS_FROM_AHBL_RHSBL, HTML_MESSAGE,RATWARE_GECKO_BUILD 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 u1M8hYgU004466 for ; Mon, 22 Feb 2016 09:43:34 +0100 Received: from majordom by post.thorcom.com with local (Exim 4.14) id 1aXluE-0004QW-J4 for rs_out_1@blacksheep.org; Mon, 22 Feb 2016 08:31:46 +0000 Received: from [195.171.43.32] (helo=relay1.thorcom.net) by post.thorcom.com with esmtp (Exim 4.14) id 1aXluD-0004QN-CY for rsgb_lf_group@blacksheep.org; Mon, 22 Feb 2016 08:31:45 +0000 Received: from mailfe02.swip.net ([212.247.154.33] helo=swip.net) by relay1.thorcom.net with esmtp (Exim 4.86) (envelope-from ) id 1aXlt3-0004n8-U7 for rsgb_lf_group@blacksheep.org; Mon, 22 Feb 2016 08:31:44 +0000 X-T2-Spam-Status: No, hits=0.9 required=5.0 tests=BAYES_50, HTML_MESSAGE Received: from [81.224.101.198] (account cxu-dcw-tyr@tele2.se HELO [192.168.1.6]) by mailfe02.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPSA id 653021059; Mon, 22 Feb 2016 09:30:19 +0100 To: rsgb_lf_group@yahoogroups.co.uk References: <56BDED97.5060308@freenet.de> <56BE0364.6070503@gmx.net> <56BE1134.7060205@freenet.de> <56BE1D9E.6060200@freenet.de> <56C4DEFF.5060709@freenet.de> Cc: rsgb_lf_group@blacksheep.org From: Johan Bodin Message-ID: <56CAC72F.7090807@tele2.se> Date: Mon, 22 Feb 2016 09:30:39 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: X-HELO-Warning: Remote host 212.247.154.33 (mailfe02.swip.net) used invalid HELO/EHLO swip.net - verification failed X-Scan-Signature: e5f33499c82e559d1cf2f25253946608 Subject: Re: [rsgb_lf_group] Re: LF: PIC-based GPSDO with A/D converter / supported serial baudrates ? Content-Type: multipart/alternative; boundary="------------020603000600020402020909" 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.10 Status: O X-Status: X-Keywords: X-UID: 6933 This is a multi-part message in MIME format. --------------020603000600020402020909 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Andy, on the '688, set both BRG16 and BRGH bits and the baudrate formula becomes baud = Fosc / (4 * (N+1)) with 16-bit baudrate divisor in SPBRGH:SPBRG. In other words, set BRG16 = 1; BRGH = 1; SPBRGH = 0; SPBRG = 0; and you'll get 3Mbaud with a 12MHz crystal. 73 de Johan SM6LKM Andy Talbot wrote: > You will need to clock at 48MHz to get 3Mbaud > > Andy G4JNT > --------------020603000600020402020909 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Andy,

on the '688, set both BRG16 and BRGH bits and the baudrate formula becomes baud = Fosc / (4 * (N+1)) with 16-bit baudrate divisor in SPBRGH:SPBRG.

In other words, set

    BRG16 = 1;
    BRGH = 1;
    SPBRGH = 0;
    SPBRG = 0;

and you'll get 3Mbaud with a 12MHz crystal.

73 de
Johan SM6LKM

Andy Talbot wrote:
 
You will need to clock at 48MHz to get 3Mbaud

Andy  G4JNT


--------------020603000600020402020909--