Return-Path: Received: (qmail 25828 invoked from network); 20 Mar 2001 16:15:32 -0000 Received: from unknown (HELO murphys-inbound.servers.plus.net) (212.159.14.225) by excalibur.plus.net with SMTP; 20 Mar 2001 16:15:32 -0000 Received: (qmail 25153 invoked from network); 20 Mar 2001 16:15:01 -0000 Received: from unknown (HELO post.thorcom.com) (212.172.148.70) by murphys with SMTP; 20 Mar 2001 16:15:01 -0000 Content-Transfer-Encoding: 8bit Received: from majordom by post.thorcom.com with local (Exim 3.16 #2) id 14fOgH-0003EF-00 for rsgb_lf_group-outgoing@blacksheep.org; Tue, 20 Mar 2001 16:08:21 +0000 Received: from bob.dera.gov.uk ([192.5.29.90]) by post.thorcom.com with esmtp (Exim 3.16 #2) id 14fOgF-0003Db-00 for rsgb_lf_group@blacksheep.org; Tue, 20 Mar 2001 16:08:20 +0000 X-Priority: 3 X-MSMail-Priority: Normal Received: by bob.dera.gov.uk; (8.8.8/1.3/10May95) id QAA28941; Tue, 20 Mar 2001 16:10:41 GMT Received: (qmail 18616 invoked from network); 20 Mar 2001 16:59:14 -0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Received: from gauntlet.mail.dera.gov.uk (172.16.9.10) by baton.dera.gov.uk with SMTP; 20 Mar 2001 16:59:14 -0000 Received: by gauntlet.mail.dera.gov.uk; id QAA03408; Tue, 20 Mar 2001 16:46:02 GMT Received: from unknown(10.71.64.31) by gauntlet.mail.dera.gov.uk via smap (3.2) id xma003330; Tue, 20 Mar 01 16:45:47 GMT Received: from frn-gold-1.dera.gov.uk (unverified) by mailguard.dera.gov.uk (Content Technologies SMTPRS 4.1.5) with ESMTP id for ; Tue, 20 Mar 2001 16:13:16 +0000 Received: by frn-gold-1.dera.gov.uk with Internet Mail Service (5.0.1460.8) id ; Tue, 20 Mar 2001 16:07:37 -0000 Message-ID: <65AECDF1F89AD411900400508BFC869F9C03E7@pdw-mail-1.dera.gov.uk> From: "Talbot Andrew" To: rsgb_lf_group@blacksheep.org Subject: LF: RE PICs and DDS etc. Date: Tue, 20 Mar 2001 16:07:36 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1460.8) Content-Type: text/plain; charset=iso-8859-1; format=flowed Precedence: bulk Reply-To: rsgb_lf_group@blacksheep.org X-Listname: rsgb_lf_group Sender: NO Think again, the high order bit of a DDS output is very definitely not a squared up version of the fundamental ! Used on its own it would have a spectrum not totally unlike noise. Before the DDS output anti-allias filter, for a given output frequency all terms of Fclock +/- Fout are present, as sampled sinewaves with a SIN(X) / X amplitude roll-off. Also present is what effectively is quantising noise (Nq) . The level of this Nq is given approximately by 6.N dBc, so for a 12 Bit D/A in the DDS (as in the AD9850), Nq can only be 72 dB down at most. In fact the manufacturers clain about 65dBc to play safe. Just using the MSB gives 1 bit quantisation so spurious products will be at 0 - 6dBc. To generate a square wave, you have to generate a proper sinewaveform, low pass filter and feed back into a high speed comparator. The AD9850 has such a comparator built in and all you have to supply is a Clock, command word and output filter. I once looked at using a PIC plus external D/A for a low speed DDS, and for audio freqs it could be done, but again with spurious limitiations. Assuming 8 bit arithmetic - any more would slow it down considerably and you do need a sine look up table with this resolution as well - the output could only manage around -40dB spurious and determining timing would be a horrendous programming job. A 32 bit accumulator with the attendant maths all within a critical timing loop. For MFSK, why not just use a DDS chip / module and send it commands to set the frequency. Some of the the now obsolete DDS chips such as AD9831 and AD9832 can cost not much more than a PIC . Andy G4JNT > -----Original Message----- > From: Alberto di Bene [mailto:dibene@usa.net] > Sent: 2001-03-20 15:11 > To: rsgb_lf_group@blacksheep.org > Subject: LF: Re: WOLF - am I missing something ? > > > > Then I abandonned software > > timing by using an external interface (a PIC) on the serial port and > > ended up with something very similar to the VE2IQ I/F. > > > > A few days ago I was thinking on how to generate a programmable > frequency for an MFSK scheme (I did post a message on this reflector), > and the DDS was one the possibilities. Thinking again at it, > after all we just > need the high order bit of the phase accumulator, as the TX > is driven with a > square wave. This makes the DAC completely unnecessary. > Would it be possible then to implement a 32-bit phase accumulator with > a PIC, to generate a frequency on the 137 kHz band ? > My knowledge of PICs is quite limited, any PIC guru with an answer ? > If positive, then it would be possible to make a really > inexpensive outboard > generator for such an MFSK modulation scheme. > > 73 Alberto I2PHD > > > -- The Information contained in this E-Mail and any subsequent correspondence is private and is intended solely for the intended recipient(s). For those other than the recipient any disclosure, copying, distribution, or any action taken or omitted to be taken in reliance on such information is prohibited and may be unlawful.