Return-Path: X-Spam-DCC: paranoid 1233; Body=3 Fuz1=3 Fuz2=3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on lipkowski.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DNS_FROM_AHBL_RHSBL, HTML_30_40,HTML_MESSAGE 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 u1HFVfjI015402 for ; Wed, 17 Feb 2016 16:31:41 +0100 Received: from majordom by post.thorcom.com with local (Exim 4.14) id 1aW3z3-0001gT-Ot for rs_out_1@blacksheep.org; Wed, 17 Feb 2016 15:25:41 +0000 Received: from [195.171.43.32] (helo=relay1.thorcom.net) by post.thorcom.com with esmtp (Exim 4.14) id 1aW3z3-0001gK-8o for rsgb_lf_group@blacksheep.org; Wed, 17 Feb 2016 15:25:41 +0000 Received: from mail-wm0-f51.google.com ([74.125.82.51]) by relay1.thorcom.net with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86) (envelope-from ) id 1aW3y3-000333-Fx for rsgb_lf_group@blacksheep.org; Wed, 17 Feb 2016 15:25:40 +0000 Received: by mail-wm0-f51.google.com with SMTP id g62so165760730wme.1 for ; Wed, 17 Feb 2016 07:24:27 -0800 (PST) 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:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=/SQhDPs6xI2D/SvJWZpGNIKJlTFQycKdU1Vov4ZsqZI=; b=ZDvxxxSK9sEhLI2uidTO+o1QqaZ7KToYu4GBbPLIb8+qPPBanvHAO1AXil86iPfCGA ePaxFfj5RJAwW8pimdnYh+zgVUuw7IO91f5Uo1oJ5bDyYTD6h9EvZsReQhJ8Mrba/0Du qGBSX47e8TIWXti/7idqbzKPEsNkZtFtCBcMvU/H3QeWzl+oUzXlGXUZZfUbVH/GNsvl Euyxz54z6QF/RHCTfpkFV0s1dd4CR+vN8vP7XcXNjl8t55pzVYG3fgNIwnaNQBEGWcnl M7dVpBTLuQLe9pTUFz1DrwUAMWx6pEZHLZTjgPifAa21nvTvo6gaP2GNBjPFT2xWwl06 WbZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=/SQhDPs6xI2D/SvJWZpGNIKJlTFQycKdU1Vov4ZsqZI=; b=LuB2GXZKH/KFWAR8muCe/Qr5Zqx6amRj/v7RuGHqFZ0eyBEG7ZrrgZkMcqaCupriHz VQjVJ5k89XIJnf2bGXse+JzSyD048dsCwy4b8Ba/gbr02IrLgPg3YjDqyuJtferc52wF jgwiVeDMQpcSl92mZebHu7NEtUV/fxph+oHIKDdCRuI6kmXc4CoMKcgrIY8OA3hkceNP 06PDiBnimLCOAwQPcn8N6IQkw5liKwpeRWE8qqCf6HUXTaVhSqQqz8yYRmuzxRTj+Urd +shnMai5IF+0NtWDKX11uriLWJ3DDQ2M3RkzNpAHe8UkU6qZd8jARaU4MUbEkgRM+/Z6 phuQ== X-Gm-Message-State: AG10YOTQcpRz5h05CejxVAsrAn0THYUO1RVb6D10qcXijgkRkhJ+jYp56Tk1GzARe5kZW+Slqsyqc5/4O0cIyQ== MIME-Version: 1.0 X-Received: by 10.194.142.135 with SMTP id rw7mr2608397wjb.42.1455722622185; Wed, 17 Feb 2016 07:23:42 -0800 (PST) Received: by 10.28.187.213 with HTTP; Wed, 17 Feb 2016 07:23:42 -0800 (PST) In-Reply-To: <56BE1D9E.6060200@freenet.de> References: <56BDED97.5060308@freenet.de> <56BE0364.6070503@gmx.net> <56BE1134.7060205@freenet.de> <56BE1D9E.6060200@freenet.de> Date: Wed, 17 Feb 2016 15:23:42 +0000 Message-ID: From: Andy Talbot To: rsgb_lf_group@blacksheep.org, rsgb_lf_group@yahoogroups.co.uk X-Scan-Signature: 4d97240a623a26620214cd27feaa9f71 Subject: Re: LF: PIC-based GPSDO with A/D converter / supported serial baudrates ? Content-Type: multipart/alternative; boundary=089e013a1de0c978ff052bf8d507 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: RO X-Status: X-Keywords: X-UID: 6861 --089e013a1de0c978ff052bf8d507 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I've just made some tests on the FTDI232 chip at high baud rates. Using a custom routine written in PowerBasic (CC) , I used that language's own interpretation and interface to the driver to pass arbitrary baud rates to the chip. With the device set for 8 data, 1 stop bit and no parity, I repeatedly send the character 0x55 in a continuous loop. This pattern of bits, if sent contiguously (characters are sent LSB first) should therefore result in a square wave being generated at a frequency exactly equal to half the specified baud rate. The FTDI232 data sheet states that baud rates are determined based on a 3MHz input to a divisor of (N + M/8, where N =3D 2 to 16384, plus two speci= al cases on N =3D 0 and N =3D 1 for 3Meg and 1Meg rates respectively. This setting is hidden from my application, and happens transparently based on the baud rate I specify beign passed to the driver via PowerBasic. The following results were obtained : Requested Frequency Baud rate Generated 1M 500000 2M On 12 February 2016 at 17:59, Wolfgang B=C3=BCscher wro= te: > Thanks Andy. I wanted to keep it simple (but not necessarily stupid), by > using available hardware. In my case, the dreadful (and, most likely, > "faked") Prolific USB <-> RS232 adapter. > > --089e013a1de0c978ff052bf8d507 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I've just made some tests on the FTDI232 chip=C2= =A0at high baud rates.

Using a custom routine=C2= =A0written in=C2=A0=C2=A0PowerBasic (CC) , I used that language's own i= nterpretation and interface to the driver to pass arbitrary baud rates to t= he chip.=C2=A0=C2=A0 With the device set for 8 data, =C2=A01 stop bit and n= o parity,=C2=A0I=C2=A0repeatedly send the character 0x55 in a continuous lo= op.=C2=A0 This pattern of bits, if sent contiguously (characters are sent L= SB first) =C2=A0should therefore result in a square wave being generated=C2= =A0at a=C2=A0frequency exactly equal to=C2=A0half the specified baud rate.<= /div>

The FTDI232 data sheet states that baud rates are = determined based on a 3MHz input to a divisor of (N + M/8, where=C2=A0N =3D= 2 to 16384, plus two special cases on N =3D 0 and N =3D 1 for=C2=A0 3Meg a= nd 1Meg rates respectively.=C2=A0=C2=A0 This setting is hidden from my appl= ication, and happens transparently based on the baud rate I specify beign p= assed to the driver via PowerBasic.=C2=A0

The fol= lowing results were obtained :

Requested=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Frequency
Baud rate=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Generated
=
1M=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 500000
= 2M



On 12 February 2016 at 17:59, Wolfgang B=C3=BCscher <= dl4yhf@freenet.de> wrote:
=20 =20 =20
Thanks Andy. I wanted to keep it simple (but not necessarily stupid), by using available hardware. In my case, the dreadful (and, most likely, "faked") Prolific USB <-> RS232 adapter. =C2=A0=C2=A0=C2=A0

--089e013a1de0c978ff052bf8d507--