Ben, take a look at Micro Linear's ML2036 Programmable Sinewave
Generator. I've been looking into this as part of my PIC-based DAQ system.
I'm currently testing the ML2036, MAX038, and looking at Analog Devices' DDS
family.
For your application, the ML2036 seems ideal. All you need is a crystal
(literally, no capacitors). It requires +/- 5V and has a 3-wire SPI-style
interface. You clock-in 16 Bits, LSB first, and set a Latch Enable line to
set the frequency from 1 to 50KHz (I tested it to 65,535KHz). By using a
8.388608MHz crystal (Digi-Key PN: SE3415 / Epson CA-301 family), you get a
direct one-to-one program data to frequency setting with a 1Hz resolution.
The chip provides Osc/2 and Osc/8 outputs which may be of use if you want
to clock a PIC at 4.194304MHz.
There is a voltage reference input. Tying this to +5V gives a maximum
output swing of +/- 2.5Vp-p. You can reduce this via an external reference.
Harmonic distortion is -45db max. The device comes in a 14-pin DIP or 16-pin
SOIC package. For more info:
http://www.microlinear.com/
- Tom
At 06:19 PM 3/29/00 -0500, Ben Langhals wrote:
{Quote hidden}>I'm working on an application where I need to generate a sine wave and
>sweep its frequency. I want to use a pic to control the process of the
>frequency sweep (most of the chips I've seen take an analog control voltage
>to adjust the frequency). The range of frequencies I'm interested in is
>from 1 to about 35 kHz. I want a low distortion wave (no more than .5%,
>esp in the lower part of the range) Two of the best contenders I've come up
>with are the exar 2206 and max 038 that can be found at
>
>
>
http://www.exar.com/products/xr2206.html
>
>
http://dbserv.maxim-ic.com/quick_view2.cfm?pdf_num=1257
>
>Anyway, I was just getting a feel for if anyone has used these guys in a
>similar application, or knew of a better option. Whats easiest to
>interface with a PIC?
>
>Ben Langhals
------------------------------------------------------------------------
Tom Handley
New Age Communications
Since '75 before "New Age" and no one around here is waiting for UFOs ;-)