--- WH Tan wrote: > Basically I am doing some kind of 'instrumentation' > application... I > want to generate audio range sine wave, which will > be fed to a DUT > (device under test). Initially I have put all those > requirement > together: > > 1) Output freq can be configured by software (not a > requirement but > would nice to have, isn't it?) > 2) Amplitude can be configured by software > 3) Distortion should be less then 2% You can do DDS(direct digital synthesis) with a PIC or similar micro but you will need to add a D/A converter. There are also dedicated DDS chips but they tend to be pricey since they usually even the simplest of them are for RF. As I recall some that I played with from Analog Devices were in the $10-15 range. Cheerful regards, Bob -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist