Texas Instruments

CD74HC138 - 3-to-8 Line Decoder/Demux 2-6V | Texas Instruments

Teilenummer: CD74HC138 ✓ Aktiv
Auf Lager Versand in 1–3 Werktagen
2 V to 6 V Vdss 16-pin PDIP / SOIC (per ordering suffix) Package
Ab $0.18 USD / Stück
MOQ: 1 |
Preis aktualisiert: 2026-08-30
Mengenpreise
Menge Stückpreis Gesamt
1 $0.55 $0,55
10 $0.45 $4,50
100 $0.32 $32,00
500 $0.26 $130,00
1.000 $0.21 $210,00
3.000 $0.18 $540,00
ℹ️ Alle Preise sind in USD

CD74HC138 Übersicht

The Texas Instruments CD74HC138 is a high-speed silicon-gate CMOS 3-to-8 line decoder/demultiplexer with inverting outputs, supplied in a 16-pin package (PDIP, SOIC, and other variants), operating from a 2V to 6V supply with three binary select inputs and eight active-low outputs. According to the TI datasheet SCHS147J, the device is well suited to memory address decoding or data routing applications.

A decoder/demultiplexer is a combinational logic device in the broader logic IC family (logic -> decoder -> demultiplexer -> data routing IC). Decoders convert binary-coded inputs into one-hot outputs, while the same circuit used with enables asserted acts as a demultiplexer routing data to one of eight output lines. The CD74HC138 belongs to TI's High Speed CMOS (HC) logic family, offering CMOS low power with LSTTL-comparable speed.

Key features include three binary select inputs (A0, A1, A2) with full on-chip decoding, three enable inputs (two active-low, one active-high) supporting cascaded 4-to-16 or larger decoders without external gates, eight active-low outputs suited to memory chip-select (CS) and enable lines, low quiescent CMOS power consumption, and wide 2V to 6V supply operation typical of the HC family.

Architecturally, the CD74HC138 uses high-speed silicon-gate CMOS construction with speeds comparable to low-power Schottky TTL logic. When used as a demultiplexer, the active-low enables serve as the data input while the select inputs route the data to the addressed output, eliminating external inverter gates.

Typical applications include memory address decoding for SRAM/EPROM/Flash chip selects, I/O port expansion in microprocessor systems, data routing and demultiplexing, and address latching in embedded control systems. Its inverting outputs directly drive active-low memory CS/CE inputs without external inverters.

Design tip: tie unused enable inputs to their inactive levels and keep select lines short; for 4-to-16 decoding, cascade two devices using one enable as the MSB select. Verify AC timing at your supply voltage and load.

This page synthesizes distributor pricing, drop-in alternatives, cross-reference data, and practical design notes not found in the manufacturer datasheet.

Drop-in-Alternativen für CD74HC138 – gleiches Gehäuse, Pin-kompatibel. Bauteile mit anderem Gehäuse, die eine PCB-Überarbeitung erfordern, sind ausgeschlossen.

Varianten dieser Serie

Modelle derselben Serie, die drop-in-kompatibel sind mit CD74HC138 (gleiche Bauform und Footprint) – abweichend in Enable Inputs, Logic Family, Mounting Type, Package, Select Inputs.

Texas Instruments
Enable Inputs: 3 (G1 active-high, G2A/G2B active-low)
Logic Family: 74LS (Schottky-clamped TTL)
Mounting Type: Through Hole (PDIP variant)
Vergleichen mit CD74HC138 →

Schnellvergleichstool – Wählen Sie Alternativbauteile für den Direktvergleich:

SN74HC138

✅ Drop-In
📦 16-pin (PDIP/SOIC per suffix)
same function and 16-pin pinout, SN product line, confirmed equivalent in TI E2E forum

📋 Referenzalternative (nicht im Katalog)

CD74HCT138

✅ Drop-In
📦 16-pin (PDIP/SOIC per suffix)
TTL-compatible input thresholds vs CMOS-level HC inputs, same 2-6V family pinout

📋 Referenzalternative (nicht im Katalog)

CD74HC138-Q1

✅ Drop-In
📦 16-pin (PDIP/SOIC per suffix)
AEC-Q100 automotive qualified variant of the same die, wider temperature range

📋 Referenzalternative (nicht im Katalog)

CD74HC238

✅ Drop-In
📦 16-pin (PDIP/SOIC per suffix)
non-inverting (active-high) outputs vs active-low outputs, same pinout - output polarity must be checked in circuit

📋 Referenzalternative (nicht im Katalog)

MC74HC138ANG

✅ Drop-In
📦 PDIP-16
onsemi HC138 equivalent, same 16-pin pinout, 2-6V HC family, cross-reference listed by DigiKey tool

📋 Referenzalternative (nicht im Katalog)

MC74HC138AFG

✅ Drop-In
📦 SOIC-16
onsemi HC138 in SOIC-16, pin-compatible surface-mount equivalent

📋 Referenzalternative (nicht im Katalog)

74HC138D

✅ Drop-In
📦 SOIC-16
Nexperia 74HC138 SOIC-16, industry-standard HC138 pinout, 2-6V supply

📋 Referenzalternative (nicht im Katalog)

CD74HC138 Grenzwerte & elektrische Eigenschaften

Logic Function 3-to-8 Line Decoder/Demultiplexer, inverting outputs
Logic Family HC (High Speed CMOS)
Supply Voltage Range 2 V to 6 V
Select Inputs 3 (A0, A1, A2)
Outputs 8 active-low (Y0-Y7)
Enable Inputs 3 (two active-low, one active-high)
Ausgangstyp Inverting (active-low)
Technology High-speed silicon-gate CMOS
Input Logic Compatibility CMOS (HC level)
Gehäuse 16-pin PDIP / SOIC (per ordering suffix)
Montageart Through-Hole (PDIP variant) / Surface Mount (SOIC variant)
RoHS-Status Compliant
Datasheet Document SCHS147J (November 1998 - Revised November 2021)
Typical Use Memory address decoding, data routing

CD74HC138 Pin-Konfiguration

DIP-16 Package Pinout Diagram DIP-16 16-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 16 2 15 3 14 4 13 5 12 6 11 7 10 8 9 DIP-16
Pin 1 A0 — Select input 0 (LSB)
Pin 2 A1 — Select input 1
Pin 3 A2 — Select input 2 (MSB)
Pin 4 E1 — Enable input, active-low
Pin 5 E2 — Enable input, active-low
Pin 6 E3 — Enable input, active-high
Pin 7 O7 — Output 7, active-low (O7 bar)
Pin 8 GND — Ground
Pin 9 O6 — Output 6, active-low (O6 bar)
Pin 10 O5 — Output 5, active-low (O5 bar)
Pin 11 O4 — Output 4, active-low (O4 bar)
Pin 12 O3 — Output 3, active-low (O3 bar)
Pin 13 O2 — Output 2, active-low (O2 bar)
Pin 14 O1 — Output 1, active-low (O1 bar)
Pin 15 O0 — Output 0, active-low (O0 bar)
Pin 16 VCC — Supply voltage, 2 V to 6 V

Typische Anwendungen

CD74HC138 ist geeignet für 6 Anwendungs: Memory Address Decoding, I/O Port Expansion in Microprocessor Systems, 4-to-16 Cascaded Decoding, LED and Indicator Multiplexing, Automotive Body and Module Control, Data Routing and Demultiplexing.

🖥️

Memory Address Decoding

The CD74HC138's primary application is memory address decoding for SRAM, EPROM, and Flash chip-select lines. Its eight active-low outputs directly drive active-low CS and CE memory pins without external inverter gates, saving board space and propagation delay in the critical address-to-select path. Three select inputs (A0-A2) decode high address bits into one of eight chip-select strobes, while the three enables (two active-low, one active-high) can qualify the decode with a bus or memory-region signal. With HC-family CMOS speed comparable to low-power Schottky TTL per the TI datasheet SCHS147J, the device keeps address-setup timing margins healthy in embedded systems running at 5V or 3.3V, and its CMOS quiescent current keeps standby power low in battery-backed memory subsystems.

🔧

I/O Port Expansion in Microprocessor Systems

In microprocessor and microcontroller systems, the CD74HC138 expands a few address lines into eight peripheral-select strobes, letting one 3-bit port address up to eight devices such as UARTs, timers, and port expanders. The active-low outputs suit peripheral CS inputs directly, and the enable inputs allow a read/write or address-valid signal to gate the strobe so devices only see a select pulse when the bus transaction is valid. Operating from 2V to 6V, the decoder works with both 5V legacy MCUs and 3.3V systems. Designers should verify propagation delay against peripheral setup requirements and tie unused enables to their inactive levels to prevent spurious selects, per TI datasheet SCHS147J guidance for data routing applications.

🧩

4-to-16 Cascaded Decoding

Two CD74HC138 devices cascade into a 4-to-16 decoder with zero external gates: the MSB (A3) drives the active-high enable of the lower device and, through its polarity, an active-low enable of the upper device, so exactly one of the sixteen outputs asserts at any time. This is a textbook technique described in the TI datasheet SCHS147J and is widely used when memory maps or I/O spaces exceed eight regions. The approach preserves the CMOS low power of the HC family while doubling decode capacity, and it can be extended further by using additional enables as higher-order selects. Ensure all select lines switch monotonically to avoid decode glitches during address transitions, and consider Schmitt-trigger buffers on slow address lines.

💡

LED and Indicator Multiplexing

The CD74HC138 is used to time-multiplex LED banks, segment displays, and indicator arrays by driving one row or digit at a time through its decoded outputs. The inverting (active-low) outputs match common-anode LED row drivers or the enable inputs of row-driver transistors directly. Because the decoder asserts exactly one output per select code, scanning logic only needs a 3-bit counter on A0-A2, and the enable inputs provide a blanking function - deasserting the enables turns all rows off instantly, which prevents ghosting between scan steps. At 5V the HC outputs source and sink enough current to drive transistor base resistors, though series resistors or driver transistors are recommended for the LED load itself, since HC outputs are specified for logic drive rather than high LED current.

🚗

Automotive Body and Module Control

For automotive modules that need multiple low-side select strobes - relay banks, lamp circuits, sensor enables - the CD74HC138-Q1 variant provides the same 3-to-8 decode function with AEC-Q100 qualification and extended temperature capability. A microcontroller's 3 GPIO pins become eight qualified select lines, reducing pin count and wiring harness complexity. The active-low outputs suit the enable inputs of high-side drivers and automotive power switches, and the enable inputs allow a master-fault or ignition signal to gate all strobes off simultaneously for safe-state control. Because the entire function is pure combinational CMOS logic with no software dependency, the decoder provides deterministic, glitch-free select behavior valued in safety-related body electronics, according to TI's CD74HC138-Q1 product documentation.

🌐

Data Routing and Demultiplexing

Used as a demultiplexer, the CD74HC138 routes a single data stream to one of eight destinations: the data input drives an active-low enable while A0-A2 select the destination output, whose value becomes the inverse of the data when asserted. This topology is described in the TI datasheet SCHS147J and suits clock distribution, one-wire bus fan-out, and control-line routing in industrial and test systems. The HC family's 2V to 6V range lets the same routing block serve both 5V and 3.3V signal domains. Designers should account for the output inversion (add an inverter on the data line or invert the data logically), and for duty-cycle distortion at low supply voltages where HC propagation delays increase relative to the 5V characterization data.

What is the CD74HC138 and what does it do?
The CD74HC138 is a Texas Instruments high-speed silicon-gate CMOS 3-to-8 line decoder/demultiplexer with inverting outputs. It decodes three binary select inputs (A0, A1, A2) into one of eight active-low outputs (Y0-Y7) and operates from a 2V to 6V supply. According to the TI datasheet SCHS147J, it is well suited to memory address decoding and data routing, with speeds comparable to low-power Schottky TTL.
What is the supply voltage range of the CD74HC138?
The CD74HC138 operates from a 2V to 6V supply voltage range, which is standard for the HC (High Speed CMOS) logic family. This wide range supports 5V legacy systems as well as 3.3V logic designs. Always verify AC parameters such as propagation delay at your specific supply voltage, because HC family speeds vary with VCC, from the TI datasheet SCHS147J.
What is the difference between CD74HC138 and SN74HC138?
The CD74HC138 and SN74HC138 are functionally identical 3-to-8 decoders with inverting outputs; the difference is primarily the TI product line (CD vs SN naming), packaging variants, and characterization data sets. TI E2E forum discussions confirm they are treated as equivalent parts. Both use the same 16-pin pinout with active-low outputs and three enables, so they are drop-in replaceable in most designs.
What is the best drop-in replacement for CD74HC138?
The best drop-in replacements are the CD74HCT138 (TTL-input version, same 16-pin pinout) for mixed TTL/CMOS systems, and the SN74HC138 from TI for the same HC performance. Cross-brand pin-compatible equivalents include the onsemi MC74HC138 and the generic 74HC138 family parts from NXP, Nexperia, and Toshiba, all sharing the same 16-pin footprint and 2V to 6V supply range.
Can the CD74HC138 be used as a demultiplexer?
Yes. When one enable input is used as the data input and held in its asserted state, the selected output becomes the inverse of the data, effectively routing data to one of eight lines. Tie the other two enables to their inactive levels. The TI datasheet SCHS147J describes this demultiplexer mode using the active-low enables as data inputs with the select inputs A0-A2 routing the data.
How do I cascade two CD74HC138 devices into a 4-to-16 decoder?
Connect A0-A2 of both devices in parallel, connect the MSB (A3) to the active-high enable (E3) of the lower device and to one active-low enable of the upper device, and tie remaining enables appropriately. This enables exactly one device at a time, producing sixteen active-low outputs Y0-Y15 with no external gates. This cascade method is described in the TI datasheet SCHS147J application sections.
What are the key specifications of the CD74HC138 that engineers should know?
The CD74HC138 is a 3-to-8 line decoder/demultiplexer with eight inverting (active-low) outputs, three select inputs (A0-A2), and three enables (two active-low, one active-high), operating from 2V to 6V in the HC CMOS family. It is available in 16-pin PDIP and SOIC packages, offers CMOS low quiescent power with LSTTL-comparable speed, and is qualified per TI datasheet SCHS147J for memory address decoding and data routing.
Where to buy CD74HC138 online?
The CD74HC138 can be purchased online from XAIPART and major authorized distributors including DigiKey and Mouser, which stock the CD74HC138 series encoder/decoder/demultiplexer family. TI also lists authorized distributors on the official ti.com product page. Pricing on XAIPART starts at approximately $0.55 at quantity 1 and drops to about $0.21 at 1000 pieces, as of 2026-08-30.
What is the price of CD74HC138?
XAIPART pricing for the CD74HC138 is approximately $0.55 at quantity 1, $0.45 at 10 pieces, $0.32 at 100 pieces, $0.26 at 500 pieces, and $0.21 at 1000 pieces, as of 2026-08-30. Distributor pricing varies by package suffix (PDIP vs SOIC) and order volume; check Mouser and DigiKey for current stock-based pricing before ordering.
Is the CD74HC138 still in production and available?
Yes, the CD74HC138 is an active product per TI's product page. However, note that specific package variants such as the CD74HC138M (SOIC, original Harris line) have been discontinued per TI E2E forum reports from January 2025, with TI recommending SN74HC138 and SN74HCS138 as replacements. Standard plastic-DIP and current SOIC suffixes remain in production.
CD74HC138 vs CD74HCT138 - which should I choose?
Choose the CD74HC138 for pure CMOS systems where input levels swing rail-to-rail; choose the CD74HCT138 when driving from TTL-level outputs, because HCT inputs guarantee TTL-compatible threshold levels (about 1.4V VIH at 4.5V VCC) while HC inputs need VIH near 70% of VCC. Both share the same 16-pin pinout, active-low outputs, and three-enable structure, so they are footprint-identical drop-in alternatives.
What is the best onsemi equivalent for CD74HC138?
The onsemi MC74HC138 is the best cross-brand equivalent for the CD74HC138. It is a 3-to-8 line decoder with the same 16-pin pinout, active-low outputs, three enables (two active-low, one active-high), and 2V to 6V HC-family supply range. DigiKey's cross-reference tool lists the MC74HC138ANG (through-hole) and MC74HC138AFG (SOIC) as parametrically similar substitutes, making them pin-compatible drop-in options.
Where can I download the CD74HC138 datasheet PDF?
The official CD74HC138 datasheet PDF is available free from Texas Instruments at https://www.ti.com/lit/ds/symlink/cd74hc138.pdf. The current revision is SCHS147J, revised November 2021, covering CD54HC138, CD74HC138, CD54HCT138, CD74HCT138, and the 238 non-inverting variants. It includes pinouts, truth tables, absolute maximum ratings, recommended operating conditions, and AC/DC electrical characteristics.
How does the enable logic of the CD74HC138 work?
The CD74HC138 has three enables: E1 and E2 are active-low and E3 is active-high. All three must be asserted (E1 low, E2 low, E3 high) for the selected output to go low; otherwise all eight outputs remain high. This three-enable structure allows parallel device cascading for 4-to-16 decoding and provides built-in demultiplexing, per the TI datasheet SCHS147J truth table.

Technische Referenzdaten für CD74HC138 – Vergleich, Designhinweise und Compliance-Informationen.

Auswahlhilfe

Choose the CD74HC138 for 5V or 3.3V CMOS-only systems needing an 8-way active-low decoder with glueless cascading, especially for memory address decoding where its active-low outputs connect directly to CS/CE pins. Choose the CD74HCT138 instead when the driving signals are TTL-level, since HCT inputs guarantee TTL thresholds in the identical pinout. Choose the CD74HC138-Q1 for automotive applications requiring AEC-Q100 qualification. If TI's CD74HC138M (Harris SOIC) suffix is unavailable, TI's own E2E recommendation is the SN74HC138 or SN74HCS138. For cross-brand second sourcing, the onsemi MC74HC138 and Nexperia 74HC138D share the same 16-pin footprint and 2V to 6V operation. If you need active-high outputs, select the CD74HC238, but verify output polarity in your schematic first since it is not polarity-compatible despite the same pinout.

Vergleich mit Alternativen

Parameter Dieses Produkt SN74HC138 CD74HCT138 CD74HC138-Q1 MC74HC138ANG 74HC138D
Package 16-pin PDIP/SOIC 16-pin PDIP/SOIC/TSSOP - same footprint per suffix 16-pin PDIP/SOIC - same 16-pin - same PDIP-16 - same SOIC-16 - same
Brand Texas Instruments Texas Instruments Texas Instruments Texas Instruments onsemi Nexperia
Logic Function 3-to-8 decoder, inverting outputs 3-to-8 decoder, inverting 3-to-8 decoder, inverting 3-to-8 decoder, inverting 3-to-8 decoder, inverting 3-to-8 decoder, inverting
Supply Voltage 2 V to 6 V 2 V to 6 V 4.5 V to 5.5 V (TTL) 2 V to 6 V 2 V to 6 V 2 V to 6 V
Input Thresholds CMOS level (HC) CMOS level (HC) TTL-compatible CMOS level (HC) CMOS level (HC) CMOS level (HC)
Automotive Grade No No No Yes (AEC-Q100) No No
Output Polarity Active-low Active-low Active-low Active-low Active-low Active-low

Wichtigste Unterscheidungsmerkmale

  • Three enables enable glueless cascading (vs. Simple 2-input-select decoders)
  • TTL-input option in same footprint (vs. CD74HCT138)
  • Active-low outputs match memory CS pins (vs. CD74HC238)

Designhinweise

Tie all three enable inputs to their correct inactive levels: E1 and E2 must be pulled high and E3 pulled low (or driven deliberately) if unused. A floating CMOS enable can cause oscillation, increased ICC, or spurious output asserts because HC inputs must never be left floating. For 4-to-16 decoding, cascade two devices with the MSB on the enables rather than gating outputs externally, which adds delay.

During address transitions, two select codes can briefly be active simultaneously (decode glitches) because HC select inputs do not switch simultaneously. In memory chip-select applications, gate the decoder outputs with an address-valid or strobe signal via the enable inputs so that selects only pulse when the bus address is stable. Add 0.1uF decoupling close to the VCC pin; HC CMOS speed degrades at low VCC, so re-verify timing at 3.3V.

Estimated: HC-family CMOS quiescent current is microamps at room temperature, so static dissipation is negligible; dynamic dissipation dominates and scales as C x V x f per switching input/output. For a 74HC138 driving eight outputs at 5V and 1 MHz with 15 pF loads, estimated dynamic power is on the order of a few milliwatts. Avoid inputs floating and avoid signals exceeding VCC + 0.5V to prevent CMOS latch-up or excess current.

Compliance-Informationen

RoHS
Compliant
REACH
Unknown
AEC-Q100
Not Applicable
Bleifrei
Unknown
Halogenfrei
Unknown
Konfliktmineralien
Unknown

RoHS compliant per TI product page for current production suffixes; the AEC-Q100 qualified variant is the separate CD74HC138-Q1. Other compliance attributes should be confirmed on the TI quality summary page per ordering suffix.

Daten verifiziert am: 2026-08-30 – Daten geprüft und kuratiert vom Bauteil-Engineering-Team von XAIPART

Ähnliche Suchanfragen

CD74HC138 datasheet PDF CD74HC138 pinout 16-pin Texas Instruments CD74HC138 3-to-8 decoder CD74HC138 vs SN74HC138 difference CD74HC138 drop-in replacement CD74HC138 equivalent onsemi MC74HC138 3-to-8 line decoder demultiplexer active-low outputs 74HC138 memory address decoding circuit CD74HC138 buy price what can replace CD74HC138 cascade two 74HC138 4-to-16 decoder CD74HC138 supply voltage 2V to 6V

Verwandte Bauteile & Begriffe

Texas Instruments CD74HC138 SN74HC138 CD74HCT138 CD74HC138-Q1 CD74HC238 MC74HC138ANG 74HC138D Nexperia onsemi decoder/demultiplexer logic IC High Speed CMOS (HC) logic family 3-to-8 line decoder active-low output chip select (CS) PDIP-16 SOIC-16 AEC-Q100 RoHS SCHS147J datasheet memory address decoding data routing propagation delay 2V to 6V supply
Schnellangebot-RFQ
Geben Sie alle Details an – unser Vertriebsteam antwortet innerhalb von 24 Stunden
Teilenummer Hersteller Gehäuse QTY Zielpreis Gesamt
Gesamt: $0.00 USD
✓
Angebotsanfrage gesendet!

Wir antworten innerhalb von 24 Stunden auf Ihre E-Mail

1
RFQ gesendet
2
Angebot erhalten
3
Bestellung aufgegeben
4
Zahlung
5
Versandt
6
Geliefert
RFQ-Details ansehen