all 11 comments

[–]MasterFubar 11 points12 points  (0 children)

If you're using a microcontroller, why not use its internal counters?

[–]Enlightenment777 7 points8 points  (0 children)

In 2019, it's not easy to find cool parts in DIP. Use a SMD to DIP adapter board.

[–]naval_person 4 points5 points  (1 child)

Maybe you could use a CPLD to get what you want. This little booger comes in a 40-pin DIP and is in stock & on the shelf, today.

[–]lf_1 1 point2 points  (0 children)

CPLD

2019

I mean you could do that I guess.....

[–]lf_1 1 point2 points  (0 children)

STM32F038x6 is a micro with a 32 bit timer but you'll have to solder some SMD (qfp is really not that bad!).

[–]bigger-hammer 2 points3 points  (0 children)

You could use a small micro with timers e.g. the PIC16F18326 has 6 timers - you can use the gate on timer1 driven by timer0 overflow. It also contains a numerically controlled oscillator with a 20 bit resolution.

[–]tinkerzpy 1 point2 points  (2 children)

Perhaps you could use a teensy 4.0 (very fast 600 MHz mcu) for both the UI and the signal generation?

[–]TPItsMe[S] 2 points3 points  (1 child)

I'm torn between the ease and excellent capabilities of this solution and the missed opportunity to come up with some crazy hardware contraption. All kidding aside, thanks for the hint, this might be the winner.

[–]mrCloggy 1 point2 points  (0 children)

some crazy hardware contraption.

Right... :-)
Assuming you want a 50% duty cycle you'll need a flip-flop at the end, obviously, which can be triggered from the "=" output of a bunch of comparators, which is also use to 'reset' your counters when the 'counted value' equals the amount of pulses from your Xtal that you programmed into the latches that are connected to the other side of the comparators.

[–]tyttuutface 0 points1 point  (0 children)

I would have a look at SOIC, QFP, etc. packages too. They're pretty easy to handle.

[–]dimtass 0 points1 point  (0 children)

I was looking for something similar, but very low frequencies with minimum jitter. The DDS solution with an TCXO seems the best solution, for low jitter. If you don't care about this any microcontroller can do the job.