11-30-2006 04:55 AM
11-30-2006 10:28 AM
12-01-2006 09:12 AM
12-01-2006 10:05 AM
50% duty cycle with an odd divisor, eh? Well, since the hardware solution depends on integer counts, I don't think you can do it purely in hardware with your board (assuming the 6036 multifunction board you referenced in a similar thread). There's a complicated way that might work with an M-series board where you would generate change detection pulses on both rising and falling edges -- then as long as the input signal is 50% duty cycle, it'd be possible to generate a 50% duty cycle output.
There's another possibility that's partly software based. You would use one of your counters to measure the incoming frequency, and the other one would be set for pulse generation. As you monitor the incoming frequency in software, you could react and change the output frequency on-the-fly while maintaining 50% duty cycle. This kind of solution wouldn't sync the output edges with the input edges though.
-Kevin P.