Cascaded counters live or die on enable and carry handshaking. This page covers the 74LS161 control pins, ripple versus synchronous cascades, and programmable-modulus traps.
The 74LS161 is a synchronous 4-bit binary counter (0~15) with CEP and CET enables (both high to count), a synchronous LOAD̄, asynchronous CLR̄, and RCO - carry output - high when the count is 1111 with CET=1, for exactly one clock period. Priority runs CLR̄ over LOAD̄ over counting. The 163 differs only in synchronous clear, which matters: the 161 asynchronous clear generates a decode glitch when making arbitrary moduli, so prefer the 163 or the load method.
Two cascade styles. Ripple: each RCO drives the next CEP/CET - simple, but the carry crawls chip by chip, ten LS161s at 20ns each eat 200ns and a 5MHz clock starts mis-counting. Synchronous: one clock to all chips, each RCO to the next CEP with CET chained - the whole train updates on the same edge and 25MHz is comfortable. Arbitrary modulus: decode N−1 into LOAD̄ for a glitch-free synchronous reload; the 161 clear-at-N method leaves a tens-of-nanoseconds ghost state that downstream logic occasionally samples. And do not treat RCO as a general output - one-clock-wide pulses lose beats.
| Method | Wiring | Max clock | Suitable for |
|---|---|---|---|
| Ripple cascade | RCO to next CEP/CET | Limited by n-stage delay | Slow instrumentation |
| Synchronous cascade | Shared clock, RCO to CEP, CET chain | One-stage limited, 25MHz | High-speed counting |
| Modulus by load | Decode N−1 into LOAD̄ | Glitch-free | Recommended |
| Modulus by 161 clear | Decode N into CLR̄ | Glitchy | Low speed only |
| Modulus with 163 | Decode N−1 into CLR̄ | Clears on the edge | First choice |
| RCO purpose | Carry/enable handshake | One-period pulse | Never a clock source |
Motto: synchronous for speed, ripple for simplicity; arbitrary modulus by load or 163; wire the P inputs solid, never forget CET, and let RCO carry - not clock.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Digital IC specification per GB/T 17574 (IEC 60748 series); logic symbols per GB/T 4728. Always check the device datasheet and the product design file for ratings and derating.
Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.