Overview
The CD4040 (CD4040B / HEF4040B / 74HC4040) is a 12-stage binary ripple counter and frequency divider IC manufactured by Texas Instruments, ON Semiconductor, and Renesas. Unlike the CD4020, all 12 stage outputs ( through ) are connected to external IC pins.
Operating from 3.0V to 18.0V DC, the CD4040 increments its 12-bit binary count on each negative-going clock transition (). It divides the input clock frequency by powers of 2 ( up to ), making it a favourite in audio synthesizers, frequency dividers, and multi-channel timing circuits.
Quick reference
Supply Voltage (VDD - VSS) | 3.0 V to 18.0 V DC (CD4000B) / 2.0V to 6.0V DC (74HC4040) |
| Divider Stages | 12 Binary Stages () |
| Exposed Outputs | ALL 12 Buffered Outputs () |
| Clock Input Trigger | Negative-Edge Triggered ( HIGH-to-LOW transition) |
| Reset Input | Asynchronous Active-HIGH Master Reset () |
| Max Clock Frequency | at ( at ) |
| Package | 16-pin DIP / SOIC-16 |
Pinout (DIP-16 Package)
text
┌───┴───┐
Q12 1│ 1 16│ VDD (+3V to +18V)
Q6 2│ │15 Q11
Q5 3│ CD4040│14 Q10
Q7 4│ │13 Q8
Q4 5│ │12 Q9
Q3 6│ │11 RESET (Master Reset)
Q2 7│ │10 /CLK (Clock In)
VSS(GND) 8│ │9 Q1
└───────┘
| Pin | Name | Type | Description |
|---|---|---|---|
| 1 | Q12 | Output | Stage 12 Output (, MSB) |
| 2 | Q6 | Output | Stage 6 Output () |
| 3 | Q5 | Output | Stage 5 Output () |
| 4 | Q7 | Output | Stage 7 Output () |
| 5 | Q4 | Output | Stage 4 Output () |
| 6 | Q3 | Output | Stage 3 Output () |
| 7 | Q2 | Output | Stage 2 Output () |
| 8 | VSS | Power | Digital Ground (0 V) |
| 9 | Q1 | Output | Stage 1 Output (, LSB) |
| 10 | \CLK | Input | Master Clock Input (Negative-edge triggered ) |
| 11 | RESET | Input | Master Reset (Active HIGH: High = Reset all outputs to LOW) |
| 12 | Q9 | Output | Stage 9 Output () |
| 13 | Q8 | Output | Stage 8 Output () |
| 14 | Q10 | Output | Stage 10 Output () |
| 15 | Q11 | Output | Stage 11 Output () |
| 16 | VDD | Power | Positive Power Supply (+3.0V to +18.0V DC) |
Frequency Division Ratios
| Stage Pin | Binary Power | Division Factor | Example () |
|---|---|---|---|
| (Pin 9) | |||
| (Pin 7) | |||
| (Pin 6) | |||
| (Pin 5) | |||
| (Pin 1) |
Common mistakes
- Assuming positive-edge clocking: The CD4040 triggers on falling clock edges ().
- Leaving
RESET(Pin 11) ungrounded:RESETis active-HIGH. ConnectRESETto GND to enable counting.
Notes
- CD4040 vs CD4020: CD4040 exposes all 12 stage outputs (); CD4020 is a 14-stage counter but omits and .
Assets & downloads
- datasheetdatasheet
- product-pagereference