Why not just generate your signal using wavetable synthesis? A PIC can handle your frequency range with ease. Bob Ammerman RAm Systems (contract development of high performance, high function, low-level software) ----- Original Message ----- From: "SkinTech" To: Sent: Friday, October 12, 2001 6:31 AM Subject: [PIC]: Synchronised dual freq generator > Hi all, > > My current project involves generating a signal between 10 and 1000 Hz, both > square wave and sine (possibly also triangle). What I want to do for min > parts count is use one CCP module to generate say a 50kHz square wave and > use that as the clock signal to a LP filter with a 50:1 clock-to-Fcorner > ratio. The same signal is used as input to a timer/counter, to divide it by > 50. The result of that (1kHz) can be used as is (square wave), or run > through the filter to get a sine wave. Problem I have is getting the div by > 50 signal at a PIC output pin. As far as I can see, I can use the 'special > event' of the 2nd CCP, but I can only either set, clear or leave alone the > output pin. There apparently is no way to toggle the output pin. Or am I > overlooking something? > > Thanks for any advice, > > Jan Didden > > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body