Okay, I'm confusing threads here, because I thought there was something a= bout=20 a 30% increase some days ago. But let's work with 10x ... Possible solution 1: (I can't see why this solution would cause you probl= ems,=20 but you will have jitter) -- monitor input, and on each rising edge, dump= out=20 10 output pulses as fast as the circuitry connected to the output will ha= ndle=20 it. This needs to be at least 10 khz, so that at max frequency, the outp= ut=20 is done before the next incoming edge. That's it. Possible solution 2: Whatever you are doing now (where you're losing pul= ses=20 during input acceleration), you should monitor the input and *queue* the=20 output pulses so that none is lost. With the first incoming pulse, put t= he=20 number 10 in an output queue. The output routine (cycle) will monitor th= is=20 number and dump an output pulse when this number is greater than zero and= =20 then decrement this number. If it only gets to output say 8 pulses befo= re=20 the next input pulse comes in (because the input rate increased), then ju= st=20 *add* the newest number of output pulses to what's already been scheduled= =2E =20 IE: add 10 to the remaining 2. Again, you will have all the output pulse= s,=20 but with some jitter. With some intelligent coding, you can accelerate t= he=20 output a bit more than necessary to catch up to real-time. Cheers, -Neil. On Wednesday 30 April 2003 02:50, Reinaldo Alvares scribbled: > -No, the duty cycle doesn't matter as long as the outputed pulses are > evenly spaced. > -The range of the input frequency is from 0Hz(stop condition) to 1kHz(m= ax > speed). > -Yes, the multiplier is always the same 10. > Thanks for your reply > RA > ----- Original Message ----- > From: "Picdude" > To: > Sent: Wednesday, April 30, 2003 9:10 AM > Subject: Re: SPAM: Re: [PIC]: Frequency multiplier? > > > Couple Q's... > > > > - Does duty-cycle matter? > > - What is the range of the input freq? > > - Is the multiplier a fixed value? > > > > > > Cheers, > > -Neil. > > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body