A frequency divider takes a fast clock and produces a slower one. The simplest version is a single toggling flip-flop:
- A T flip-flop with T = 1, a JK with J = K = 1, or a D flip-flop with wired to D.
- Q flips at every rising clock edge, so one full cycle of Q (up and back down) takes two clock cycles.
- Q's frequency is half the clock's, and its period is twice as long.
Chain them: use each stage's Q as the next stage's clock and each stage halves the frequency again. With n stages the last output runs at f / 2ⁿ. That chain is exactly an asynchronous (ripple) counter, read sideways.
Frequency and period are reciprocals (period = 1 / frequency), so halving one doubles the other.
Where you meet them: microcontroller timers use divider chains, called prescalers, to make slow ticks from a fast oscillator. A 32.768 kHz watch crystal divided by 2 fifteen times gives exactly one tick per second.
A divider by a number that is not a power of 2 needs a mod n counter instead of a plain chain.