Thomas, take a look at Fairchild's (formerly Micro Linear's) ML2036 Programmable Sinewave Generator. While you would have to add a PGA for amplitude, the ML2036 covers 1 - 50KHz. 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.fairchildsemi.com/pf/ML/ML2036C.html - Tom At 05:31 11-06-02, Thomas wrote: >Hello Forum, > >did anybody knows a chip (IC) which contains a digitally controllable >function-generator? > >The needed waveforms are sinewave and squarewave. >Frequency-range between 10Hz and 10 kHz. >I need the control of amplitude, frequency and puls width with a PIC. >Interfacing preferably with I2C or SPI. > >Any hints are wellcome. > >Regards Thomas -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads