Opens in a new tab

CD4040BE

12-stage binary ripple counter, all Q1-Q12 outputs, CMOS 3-18V, PDIP-16

4000

Effective Inventory

Image for reference only

Manufacturer Part:

CD4040BE

Package:

PDIP-16 (19.3 x 9.4 x 4.57mm, 2.54mm pitch, through-hole)

Brand:

Quality Commitment

Shipping & Payment

Service & Packaging

Product Manual

Other recommendations you may be interested in.

Description

Product Overview

The CD4040BE from Texas Instruments is a 12-stage binary ripple counter with all 12 outputs accessible — unlike the CD4060, it has no oscillator but provides outputs from Q1 through Q12 for maximum flexibility in a 16-pin PDIP package.

Key Specifications

Function 12-stage binary ripple counter
Technology CD4000B CMOS
Supply Voltage 3V to 18V
Counter Stages 12 (all outputs accessible: Q1-Q12)
Max Clock Frequency 8MHz @ VDD=10V
Trigger Negative edge on CLK
Reset Asynchronous, active HIGH (MR)
Propagation Delay 200ns typical @ VDD=10V
Operating Temperature -55°C to +125°C
Package PDIP-16 (19.3 x 9.4mm)

Features

  • All 12 counter outputs accessible (Q1-Q12)
  • Division ratios: 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096
  • Schmitt trigger clock input
  • Asynchronous master reset
  • No oscillator (external clock required)
  • 3V-18V wide supply range

Applications

  • Frequency division (÷2 to ÷4096)
  • Time delay generation
  • Binary counting
  • Address generation
Product Introduction: CD4040BE Product Introduction

The CD4040BE from Texas Instruments is a 12-stage binary ripple counter with all 12 outputs accessible on external pins. Unlike the CD4060 (which has an integrated oscillator but hides Q1-Q3), the CD4040 has no oscillator but provides every output from Q1 (÷2) through Q12 (÷4096). This makes the CD4040 more flexible when all division ratios are needed or when the clock source is external (from a microcontroller, crystal oscillator module, or another counter). The maximum division is 2^12 = 4096. Two CD4040s can be cascaded for 24-bit counting (÷2 to ÷16,777,216) by connecting Q12 of the first to the CLK of the second. The counter advances on the negative-going transition of the clock input. The master reset (MR=HIGH) clears all stages asynchronously. The Schmitt trigger on the clock input allows very slow clock edges. At 5V, the CD4040 can count up to about 3MHz, making it suitable for audio-range frequency division. The BE suffix denotes the PDIP-16 package.

Working Principle: CD4040BE Working Principle

The CD4040BE consists of 12 master-slave flip-flops connected as a binary ripple counter. Each flip-flop divides its input by 2. The clock input (CLK) drives the first flip-flop (Q1), Q1 drives Q2, Q2 drives Q3, and so on to Q12. The counter advances on the HIGH-to-LOW (negative-going) transition of the clock. Starting from all zeros, the outputs sequence through all 4096 combinations (000000000000 to 111111111111) before rolling over. The reset input (MR) is asynchronous: when MR=HIGH, all outputs are forced to 0 immediately, regardless of the clock state. For normal counting, MR must be LOW. Because it’s a ripple counter, the outputs don’t change simultaneously — Q2 changes after Q1, Q3 after Q2, etc., with a propagation delay of about 16ns per stage at 10V. This means decoded outputs can have glitches and shouldn’t be used as clocks for other synchronous logic. For frequency division, the output at Qn is a square wave at f_CLK/2^n. For cascading: Q12 of the first CD4040 connects to CLK of the second; the second counter increments each time the first rolls over from 4095 to 0.

Pin Description: CD4040BE Pin Definition and Functions
Pin Name Type Description
1 Q12 Output Stage 12 output (÷4096)
2 Q6 Output Stage 6 output (÷64)
3 Q5 Output Stage 5 output (÷32)
4 Q7 Output Stage 7 output (÷128)
5 Q4 Output Stage 4 output (÷16)
6 Q3 Output Stage 3 output (÷8)
7 Q2 Output Stage 2 output (÷4)
8 VSS Power Ground
9 Q1 Output Stage 1 output (÷2)
10 CLK Input Clock input (negative edge triggered, Schmitt trigger)
11 MR Input Master reset (active HIGH)
12 Q9 Output Stage 9 output (÷512)
13 Q8 Output Stage 8 output (÷256)
14 Q10 Output Stage 10 output (÷1024)
15 Q11 Output Stage 11 output (÷2048)
16 VDD Power Supply (3V to 18V)
Application Scenarios: In which products and applications is CD4040BE used
  • Multi-Tap Frequency Divider: 1MHz input; Q1=500kHz, Q2=250kHz, Q3=125kHz, Q4=62.5kHz, … Q12=244Hz; 12 different frequencies from one IC
  • 24-Bit Counter: Two CD4040s; Q12(#1) → CLK(#2); 24-bit binary count; max division = 16,777,216
  • Time Delay: 60Hz clock → Q12 = 60/4096 ≈ 0.0146Hz; period ≈ 68 seconds; precise 1-minute timer
  • Audio Note Generator: 2MHz clock → various Q outputs produce different audio frequencies; Q7=15.6kHz, Q8=7.8kHz, Q9=3.9kHz, Q10=1.95kHz
Alternative Models: What chips are recommended as replacements for CD4040BE
Model Manufacturer Key Difference Package Supply
CD4040BM TI SOIC-16 surface-mount version with identical logic function and 3-18V range SOIC-16 3-18V
CD4040BE TI Through-hole DIP version for prototyping and legacy board repair DIP-16 3-18V
HEF4040BT NXP Pin-compatible CMOS version with improved ESD protection and 3-15V supply SOIC-16 3-15V
MC144040BDR2G onsemi Pin-compatible equivalent with RoHS compliance and AEC-Q100 automotive option SOIC-16 3-18V
74HC4040D TI/Nexperia HC CMOS version with higher speed and 2-6V supply for modern logic systems SOIC-16 2-6V
74HC4040N TI/Nexperia HC CMOS through-hole version for prototyping with 2-6V supply range DIP-16 2-6V
74HCT4040D Nexperia HCT version with TTL-compatible inputs for mixed 5V TTL/CMOS systems SOIC-16 4.5-5.5V

CD4040 is the CMOS 4000-series 12-stage ripple-carry counter operating over the wide 3-18V supply range. The HEF4040 (NXP) and MC144040 (onsemi) are direct pin-compatible equivalents. For higher speed at the cost of narrower voltage range, the 74HC4040 HC/HCT families offer significantly faster propagation delay and lower power consumption at 2-6V. Surface-mount versions use the BM/M suffix (SOIC); through-hole versions use the BE suffix (DIP).

Recommend Parts

IRFS4310ZTRLPBF

IRFS4310ZTRLPBF – 100V N-Channel HEXFET Power MOSFET, 7 mΩ RDS(on), D2PAK (TO-263AB)

Brand: infineon

Package: D2PAK (TO-263AB)

IN STOCK: 11137pcs

Cargo cycle: 3-7 Days

The minimum order is 1

MSASJ105BB5475MFNA01

4.7uF 6.3V X5R MLCC, 0402, Taiyo Yuden

Brand: gigadevice

Package: 0402 (1005 Metric, 1.0 x 0.5 x 0.5 mm)

IN STOCK: 9701pcs

Cargo cycle: 3-7 Days

The minimum order is 1

IRF3415PBF

150V N-channel power MOSFET, 43A, 41mΩ RDS(on), TO-220AB package

Brand: infineon

Package: TO-220AB

IN STOCK: 2940pcs

Cargo cycle: 3-7 Days

The minimum order is 1

105017-1001

USB Type-C receptacle connector, 24-pin, SMD

Brand: Amphenol

Package: SMD (8.9 x 7.3 x 3.2 mm, right angle)

IN STOCK: 5335pcs

Cargo cycle: 3-7 Days

The minimum order is 1

IRLB3034PBF

IRLB3034PBF – 40V N-Channel StrongIRFET Power MOSFET (Logic Level), 1.7 mΩ (max) @ 10V; 2.0 mΩ @ 4.5V RDS(on), TO-220AB

Brand: infineon

Package: TO-220AB

IN STOCK: 9724pcs

Cargo cycle: 3-7 Days

The minimum order is 1

XC6SLX75-2FGG484I

Spartan-6 LX75 FPGA, 74637 logic cells, 132 DSP, 3096KB BRAM, 408 I/O, FBGA-484 23x23mm, -2 speed, industrial -40~100C, AMD Xilinx

Brand: xilinx

Package: FGG484 (484-ball fine-pitch BGA, 23x23mm body, 1.0mm ball pitch, 22×22 ball array, 6 I/O banks, lead-free)

IN STOCK: 890pcs

Cargo cycle: 3-7 Days

The minimum order is 1