Return to KLUBNL.PL main page

rsgb_lf_group
[Top] [All Lists]

Re: LF: PIC-based GPSDO with A/D converter / supported serial baudrates

To: [email protected], [email protected]
Subject: Re: LF: PIC-based GPSDO with A/D converter / supported serial baudrates ?
From: Andy Talbot <[email protected]>
Date: Wed, 17 Feb 2016 15:30:13 +0000
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=sJ+ym3c/Jw3AbtMNfdTt685qYFGXNO1UbiymzWpYurI=; b=MOE6ObsFvKBB2I9I2c/CzzXdpxFv9KU5+mrHSDTWMBgc4zGO4IzcniHfysUlfDtDR+ 6cHR0DyU9CQvPR3ViEADR9CgwmEs+cxjv/0MN9i6nyBMkVXjkPXCmW6L+fMYrcHbUf31 JWZghmXDhotumGk0Kkl74nSQkIjyEhsWS5t6dBodxh2r3AI4Ww/U7qQZYtS8sThA3IUE rgZtZ8l4f1nSGrcEEZlzVs8AbufRQs49RoL2z9Nbx64Gp864rbqPIJYDeQC4Sl1Fnt0P B5cD9/iHFV+YEKNb6TbnpPEVsoX+K+vdLKDl/QKcDBusnN4BdDW3c8Ys/Io3Br2A1DQg nCHA==
In-reply-to: <CAA8k23SSF0vfOaRgwU_56yFmksVYLsZ-yfGpFvP9=-LEDCxHCA@mail.gmail.com>
References: <[email protected]> <[email protected]> <[email protected]> <CAA8k23S4yT+pAfLGGaMH8XnPGa4WPNS4YZHJNKc4WQpydSsu9g@mail.gmail.com> <[email protected]> <CAA8k23SSF0vfOaRgwU_56yFmksVYLsZ-yfGpFvP9=-LEDCxHCA@mail.gmail.com>
Reply-to: [email protected]
Sender: [email protected]
Hit send too soon ................
mutter, mumble........

The following results were obtained :

Requested         Frequency
Baud rate           Generated

3M                     146xxx      (it wobbled)
2M                     975xxx     (it varied)
1M                     500000
800k                  400000
500k                  250000
480k                  240000

So it looks as if the FTDI Chip's  FT232 family is eminently useable to 1M baud

With a 12 bit A/D and some framing, for two bytes per sample, that means you could send 0.5M Samples/  second

16 bit sampling plus framing will need three bytes, so call it 300kS/s



Andy  G4JNT



On 17 February 2016 at 15:23, Andy Talbot <[email protected]> wrote:
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 = 2 to 16384, plus two special cases on N = 0 and N = 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üscher <[email protected]> wrote:
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.
   


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