Return to KLUBNL.PL main page

rsgb_lf_group
[Top] [All Lists]

Re: [rsgb_lf_group] Re: LF: PIC-based GPSDO with A/D converter / support

To: [email protected]
Subject: Re: [rsgb_lf_group] Re: LF: PIC-based GPSDO with A/D converter / supported serial baudrates ?
From: Johan Bodin <[email protected]>
Date: Mon, 22 Feb 2016 09:30:39 +0100
Cc: [email protected]
In-reply-to: <CAA8k23S1AEBcp2bE9wrpwZ=0ZJ+T-6ynAtLBVoED17gpgyztdg@mail.gmail.com>
References: <[email protected]> <[email protected]> <[email protected]> <CAA8k23S4yT+pAfLGGaMH8XnPGa4WPNS4YZHJNKc4WQpydSsu9g@mail.gmail.com> <[email protected]> <CAA8k23SSF0vfOaRgwU_56yFmksVYLsZ-yfGpFvP9=-LEDCxHCA@mail.gmail.com> <[email protected]> <CAA8k23S1AEBcp2bE9wrpwZ=0ZJ+T-6ynAtLBVoED17gpgyztdg@mail.gmail.com>
Reply-to: [email protected]
Sender: [email protected]
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
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


<Prev in Thread] Current Thread [Next in Thread>