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

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

0751.0505

Schurter fuse, 0751.0505

Brand: schurter

Package: See datasheet

IN STOCK: 6768pcs

Cargo cycle: 3-7 Days

The minimum order is 1

TL062CDR

Low-power JFET-input dual op-amp, 1MHz GBW, 30pA Ibias, SOIC-8, ±3.5V to ±18V

Brand: TI

Package: SOIC-8 (3.9 x 4.9 x 1.75mm)

IN STOCK: 11576pcs

Cargo cycle: 3-7 Days

The minimum order is 1

P89LPC922FN

8-bit 80C51 MCU, 8KB Flash, 256B RAM, 20-SSOP

Brand: NXP

Package: SSOP-20 (7.2 x 5.3 mm)

IN STOCK: 12628pcs

Cargo cycle: 3-7 Days

The minimum order is 1

AC0603JR-070RL

Chip Resistor, 0Ω (Zero Ohm Jumper), ±5%, 0603 (1608 Metric), 1/10W (100mW)

Brand: Yageo

Package: 0603 (1608 Metric)

IN STOCK: 100000pcs

Cargo cycle: 3-7 Days

The minimum order is 1

LMR34206FSC5RNXRQ1

42V 2A sync buck, 5V fixed, 2.2MHz, 18uA Iq, AEC-Q100, SOT-563

Brand: TI

Package: SOT-563 (1.6 x 1.2 x 0.55mm)

IN STOCK: 6500pcs

Cargo cycle: 3-7 Days

The minimum order is 1

AO3402

30V N-channel trench MOSFET, SOT-23, 4A, RDS(on) 52m ohm max @ 10V, Qg 10nC, 2.5V gate drive capable, -55C to +150C.

Brand: aosmd

Package: SOT-23 (2.9 x 1.6 x 1.25mm)

IN STOCK: 14066pcs

Cargo cycle: 3-7 Days

The minimum order is 1