Opens in a new tab

Authorized electronic component supplier · 12,000+ part numbers in stock

MENU

Instant Quote

SEARCH PARTS

74HC238PW

3-to-8 decoder/demux, active-HIGH outputs, 3 enable inputs, 2-6V, TSSOP-16, -40~125C, similar to 74HC138 but non-inverting

Effective inventoryPCS

85000
in stock

SpecificationsTechnical data

Manufacturer part

74HC238PW

Package

TSSOP-16 (SOT403-1) (5.0 x 4.4 x 1.2 mm)

Brand

NEXPERIA

Category

Integrated Circuits ICs, Logic Chips

Quality Commitment

Shipping & Payment

Service & Packaging

DescriptionProduct overview

The 74HC238PW from Nexperia is a high-speed Si-gate CMOS 3-to-8 line decoder/demultiplexer in a TSSOP-16 package (SOT403-1, 5.0 x 4.4 mm). It accepts three binary-weighted address inputs (A0, A1, A2) and, when enabled, provides 8 mutually exclusive active-HIGH outputs (Y0 to Y7). Three enable inputs (two active-LOW E1, E2 and one active-HIGH E3) allow easy parallel expansion to a 1-of-32 decoder using just four 74HC238 devices and one inverter. The 74HC238 is similar to the 74HC138 but features non-inverting (active-HIGH) outputs. Supply voltage: 2.0V to 6.0V (74HC), 4.5V to 5.5V (74HCT). Propagation delay: 18ns typ at 4.5V. Output drive: +/-4mA. Quiescent supply current: 40uA max at 6.0V. Power dissipation: 500mW (TSSOP-16 derates at 5.5mW/K above 60C). Latch-up exceeds 100mA per JESD 78 Class II Level B. ESD: HBM exceeds 2000V, CDM exceeds 1000V. Operating temperature: -40C to +125C. Active product, RoHS compliant.

0174HC238PW · Product Introduction
The 74HC238PW from Nexperia is a high-speed Si-gate CMOS 3-to-8 line decoder/demultiplexer housed in a 16-pin TSSOP package. It is a member of the 74HC/HCT logic family, which provides pin compatibility with the older 74LS Low-Power Schottky TTL family while offering the low power consumption and wide supply voltage range of CMOS technology.

The 74HC238 decodes three binary-weighted address inputs (A0, A1, A2) to eight mutually exclusive active-HIGH outputs (Y0 to Y7). When the device is enabled (E1=LOW, E2=LOW, E3=HIGH), the output corresponding to the binary address is driven HIGH while all other outputs remain LOW. When the device is disabled (any enable condition not met), all outputs are LOW.

The key distinction between the 74HC238 and the more common 74HC138 is the output polarity: the 74HC238 has active-HIGH outputs, while the 74HC138 has active-LOW outputs. This difference is significant in memory chip-select decoding, where active-HIGH chip selects are required. Using the 74HC238 eliminates the need for inverter buffers that would otherwise be required with the 74HC138, saving board space and propagation delay.

The three enable inputs provide flexible expansion capability. Two active-LOW enables (E1, E2) and one active-HIGH enable (E3) allow four 74HC238 devices to be combined into a 5-to-32 line decoder without additional logic gates (except one inverter). Each 74HC238 handles a different 8-output segment, with the two higher-order address bits driving the enable inputs through a simple decoding scheme. This cascading capability makes the 74HC238 ideal for address decoding in memory-mapped systems.

The device can also function as a 1-to-8 demultiplexer by applying the data signal to one of the active-LOW enable inputs (E1 or E2) while using the other enable inputs as strobes. The address inputs select which output receives the data, and the remaining outputs remain LOW. This demultiplexer mode is useful for distributing clock signals, enable pulses, or serial data to one of eight destinations.

Input clamp diodes are integrated on all inputs, allowing the use of current-limiting resistors to interface inputs to voltages in excess of VCC. This feature is useful in mixed-voltage systems where input signals may come from a higher-voltage domain.

The 74HC variant operates over a wide supply voltage range (2.0V to 6.0V) with CMOS input switching levels, while the 74HCT variant operates at 4.5V to 5.5V with TTL-compatible input switching levels. Both variants share the same pinout and functional behavior, differing only in input threshold voltages. The HCT variant is recommended when interfacing with TTL or 5V CMOS logic, while the HC variant is preferred for lower-voltage and battery-powered applications.

The TSSOP-16 (PW suffix) package is the most compact through-hole/surface-mount option for this device, with a body width of 4.4mm. Other available packages include SO-16 (D suffix, 3.9mm body width), SSOP-16 (DB suffix, 5.3mm body width), and DHVQFN-16 (BQ suffix, 2.5 x 3.5mm, no leads).

0274HC238PW · Working Principle
The 74HC238PW operates as a combinational logic decoder that converts a 3-bit binary address to one of eight active-HIGH outputs.

Decoder Logic: The core function is implemented using AND-OR logic gates. Each output Y(n) is driven by an AND gate that takes the decoded address inputs and the enable signals as inputs. For output Y0 to be HIGH, the conditions are: A0=LOW, A1=LOW, A2=LOW, E1=LOW, E2=LOW, E3=HIGH. Similarly, Y5 is HIGH when: A0=HIGH, A1=LOW, A2=HIGH, and all enables are active. The complete decoding logic ensures that exactly one output (or none) is HIGH at any time when the device is enabled.

Address Decoding: The three address inputs (A0, A1, A2) represent a 3-bit binary number from 0 to 7. A0 is the least significant bit and A2 is the most significant bit. The output Y(n) corresponds to the decimal value of the binary address: address 000 selects Y0, address 101 selects Y5, address 111 selects Y7.

Enable Logic: The three enable inputs are combined in an AND function: Enable = NOT(E1) AND NOT(E2) AND E3. Only when all three enable conditions are satisfied (E1=LOW, E2=LOW, E3=HIGH) does the decoder activate the selected output. When the enable condition is not met, all outputs are forced LOW regardless of the address inputs. This enable logic serves multiple purposes: (1) it allows the device to be completely disabled to prevent bus contention; (2) it provides the cascading mechanism for building larger decoders; (3) it allows the device to function as a demultiplexer.

Demultiplexer Operation: To use the 74HC238 as a 1-to-8 demultiplexer, one of the active-LOW enable inputs (e.g., E1) serves as the data input, while E2 is tied LOW and E3 is tied HIGH. The address inputs select which output receives the data. When E1 is LOW (data=1), the selected output is HIGH. When E1 is HIGH (data=0), all outputs are LOW regardless of the address. Thus, the data on E1 is routed to the selected output, and the data is active-HIGH at the output (since the enable is active-LOW, inverting the data polarity).

Cascading for 5-to-32 Decoding: Four 74HC238 devices can implement a 5-to-32 line decoder using the two higher-order address bits (A3, A4) to enable the appropriate device. A simple 2-to-4 decoder (or two inverters and some NOR gates) generates the four enable signals from A3 and A4. Each 74HC238 handles eight outputs within its address range. The lower three address bits (A0, A1, A2) connect in parallel to all four devices. Only one device is enabled at a time, so only the selected output among all 32 outputs goes HIGH.

CMOS Implementation: The 74HC238 uses silicon-gate CMOS technology, with complementary N-channel and P-channel MOSFETs forming the logic gates. CMOS provides several advantages over bipolar TTL: (1) virtually zero static power dissipation (only leakage current flows when inputs are stable); (2) wide supply voltage range (2.0V to 6.0V); (3) high noise immunity due to the rail-to-rail output swing; (4) symmetrical output drive capability (+/-4mA source and sink). The propagation delay of approximately 18ns at VCC=4.5V is adequate for most address decoding applications.

Input Clamp Diodes: All inputs have integrated clamp diodes connected between the input pin and VCC/GND. These diodes limit input voltage excursions beyond the supply rails, protecting the input gates from electrostatic discharge and overvoltage. They also allow the use of series current-limiting resistors to interface with higher-voltage signals, as the clamp diodes will conduct and limit the input voltage while the resistor limits the current.

0374HC238PW · Pin Description
Pin Name Type Description
1 A0 Input Address input bit 0 (least significant); used to select which output is active; CMOS input level for HC variant; TTL level for HCT variant
2 A1 Input Address input bit 1 (middle bit)
3 A2 Input Address input bit 2 (most significant); determines which group of outputs (Y0-Y3 or Y4-Y7) is selected
4 E1 Input Enable input 1; active LOW; must be LOW for device to decode; can be used as data input in demultiplexer mode; tie to GND if not used for enable control
5 E2 Input Enable input 2; active LOW; must be LOW for device to decode; can be used as data input in demultiplexer mode; tie to GND if not used for enable control
6 E3 Input Enable input 3; active HIGH; must be HIGH for device to decode; tie to VCC if not used for enable control
7 Y7 Output Decoded output 7; active HIGH; goes HIGH when address=111 (A2=1,A1=1,A0=1) and device is enabled
8 GND Power Ground (0V)
9 Y6 Output Decoded output 6; active HIGH; goes HIGH when address=110 and device is enabled
10 Y5 Output Decoded output 5; active HIGH; goes HIGH when address=101 and device is enabled
11 Y4 Output Decoded output 4; active HIGH; goes HIGH when address=100 and device is enabled
12 Y3 Output Decoded output 3; active HIGH; goes HIGH when address=011 and device is enabled
13 Y2 Output Decoded output 2; active HIGH; goes HIGH when address=010 and device is enabled
14 Y1 Output Decoded output 1; active HIGH; goes HIGH when address=001 and device is enabled
15 Y0 Output Decoded output 0; active HIGH; goes HIGH when address=000 (A2=0,A1=0,A0=0) and device is enabled
16 VCC Power Supply voltage; 2.0V to 6.0V for 74HC238; 4.5V to 5.5V for 74HCT238; decouple with 0.1uF capacitor to GND
0474HC238PW · Application Scenarios
Application Description
Memory Chip Select Decoding Decode high-order address bits to generate active-HIGH chip select signals for up to 8 memory devices; 3 address lines select which memory chip is accessed; active-HIGH outputs directly drive chip select inputs without inverter buffers; multiple enable inputs support address range segmentation
I/O Port Address Decoding Generate active-HIGH select signals for up to 8 I/O ports from a 3-bit port address; each output enables one I/O port; enable inputs can be gated with I/O read/write signals for qualified selection; propagation delay of 18ns supports fast bus cycles
1-to-8 Demultiplexer Route a single data signal (applied to E1 or E2) to one of 8 outputs selected by address inputs; useful for distributing clock enables, interrupt acknowledges, or serial data channels; data appears active-HIGH on selected output
5-to-32 Line Decoder Expansion Four 74HC238 devices plus a simple 2-to-4 decoder expand to 32 active-HIGH outputs from 5 address bits; each device handles 8 outputs; higher address bits select which device is enabled; eliminates need for 74HC138 plus inverters
LED Sequencer Drive 8 LEDs with one active at a time based on 3-bit counter output; each Y output drives one LED through a current-limiting resistor; counter increments cycle through LEDs; enable input controls animation on/off
0574HC238PW · Alternative Models
Model Manufacturer Compatibility Key Difference
74HC138PW Nexperia Active-LOW Output Variant Same function but with active-LOW outputs; most common decoder; use when chip selects or enables are active-LOW; same pinout and enable structure; identical propagation delay and power consumption
74HCT238PW Nexperia TTL-Level Variant Same as 74HC238PW but with TTL-compatible input thresholds (VIL=0.8V, VIH=2.0V); operates at 4.5V-5.5V only; use when interfacing with 5V TTL logic; same pinout and package
74HC238D Nexperia Same in SO-16 Package Identical function in SO-16 package (3.9mm body width); slightly larger footprint but easier to hand-solder; same pinout; use when TSSOP is too small for assembly capability
74HC239D Nexperia Dual 2-to-4 Decoder Dual 2-to-4 line decoder with active-HIGH outputs in SO-16; two independent 2-to-4 decoders; use when only 4 decoded outputs are needed per section; different pinout
CD74HC238EE TI Functionally Equivalent Same function from Texas Instruments; same pinout in DIP-16; equivalent electrical characteristics; different manufacturer; use as second source

Request a quoteWithin 24h

Tell us the quantity you need. We confirm price and availability within one business day.

DatasheetPDF

Specifications subject to change by the manufacturer.

IC-Vendor · Sourcing

Verified stock, quoted fast.

AuthenticityOriginal parts
Lead time1 business day
ShippingDHL / FedEx / UPS

Recommended

Related parts you may need

EP4CE6F17C8N

Cyclone IV E FPGA, 6272 LE, 270Kb BRAM, 15 multipliers, 2 PLL, 179 I/O, FBGA-256, C8 commercial

Brand: ALTERAPackage: FBGA-256 (17 x 17 mm, 1.0mm pitch, 0.8mm ball diameter)

IN STOCK: 176pcs

Cargo cycle: 3~7 Days

The minimum order is 1

LCMX02-640HC-4TG100T

MachXO2 non-volatile FPGA, 640 LUTs, 78 I/O, 18kbit EBR, 100-TQFP

Brand: LatticePackage: 100-pin TQFP (14 x 14 x 1.4 mm, 0.5mm pitch, tray)

IN STOCK: 2057pcs

Cargo cycle: 3~7 Days

The minimum order is 1

74HCT245PW

Octal bus transceiver, 3-state, non-inverting, TTL-input, 4.5-5.5V, 10ns prop delay, TSSOP-20, -40~125C

Brand: NEXPERIAPackage: TSSOP-20 (SOT360-1) (6.50 x 6.40 x 1.10 mm, 0.65mm pitch)

IN STOCK: 550000pcs

Cargo cycle: 3~7 Days

The minimum order is 1

QMC5883L

3-axis AMR magnetic sensor, +/-8G range, 16-bit resolution, I2C interface up to 400kHz, built-in SET/RESET, integrated t

Brand: QstPackage: LGA-16 (3.0×3.0x0.9mm)

IN STOCK: 10158pcs

Cargo cycle: 3~7 Days

The minimum order is 1

MV-CNF10518A1-CF425AA-X200-CP

High-performance baseband processing SoC for 5G base stations

Brand: MarvellPackage: DFN-8

IN STOCK: 500pcs

Cargo cycle: 3~7 Days

The minimum order is 1

TXB0108PWR

8-bit bidirectional voltage translator, 1.2-3.6V A / 1.65-5.5V B, auto-direction, 100Mbps, TSSOP-20, -40~85C

Brand: TIPackage: TSSOP-20 (PW Package) (6.5 x 4.4 x 1.15 mm)

IN STOCK: 3053pcs

Cargo cycle: 3~7 Days

The minimum order is 1

QUALITY COMMITMENT

Quality Commitment

Every order is sourced, inspected and documented so your production line receives parts that meet specification.

Authenticity & traceability

We supply original manufacturer parts or material from authorized distribution channels. Unless a listing states otherwise, parts are new and unused — not refurbished, re-marked or pulled from used equipment. Each shipment is traceable to its purchase lot, date code and supplier record.

Incoming inspection

  • Visual inspection of labels, packaging, marking and date codes.
  • Lot and quantity verification against the purchase order.
  • Moisture-sensitivity and ESD packaging checks.
  • Electrical and functional testing, curve tracing, X-ray or decapsulation available on request.

Documentation

Commercial invoice and packing list are included with every shipment. A Certificate of Conformance (CoC) showing part number, quantity, lot/date code and inspection result is available on request. RoHS/REACH declarations and conflict-minerals statements can be supplied for compliance programs.

Warranty & returns

Parts are warranted against manufacturer defects for 12 months from shipment unless otherwise agreed in writing. Quality claims should be raised within 30 days of receipt with photos, the quantity affected and lot/date-code information. Special-order and non-cancellable/non-returnable (NCNR) items are handled case by case.

Counterfeit prevention

Suspect material is quarantined, documented and never resold. Suppliers are screened and monitored, and we support customer audits and third-party verification when required.

SHIPPING & PAYMENT

Shipping & Payment

From same-day dispatch on stock lines to consolidated production shipments, we keep logistics and payment predictable.

Lead time

In-stock lines usually ship the same or next business day. For backorder and factory-order items, lead time is confirmed in the quotation before you commit.

Carriers & tracking

We ship worldwide with DHL, FedEx, UPS and SF Express. Tracking details are sent as soon as the shipment is handed to the carrier. Customer carrier accounts can be used on request.

Freight & insurance

Freight is quoted prepaid-and-added, collect, or included depending on the agreed Incoterm (EXW, FOB, CIF or DDP). Shipment insurance is available on request; risk passes according to the agreed Incoterm.

Payment methods

  • Bank transfer (T/T) in USD, EUR or CNY.
  • PayPal for smaller or sample orders.
  • Alipay / RMB transfer for domestic settlement.

A proforma invoice is issued for every order. New customers are normally prepaid; repeat customers may apply for net terms.

Order changes & cancellation

Please confirm changes before dispatch. Once material is allocated, cut tape/reel or shipped, cancellation may not be possible. Non-standard items are subject to NCNR terms.

Customs & duties

We provide commercial invoices and origin documentation. Import duties, taxes and customs clearance are the buyer’s responsibility unless DDP terms are agreed.

SERVICE & PACKAGING

Service & Packaging

Beyond supplying the part, we support BOM sourcing, value-added processing and packaging that fits your line.

BOM sourcing & kitting

Send your BOM and we will cross-reference alternatives, consolidate lines and quote shortages. Kitting and kit-level labeling are available for production and repair centers.

Value-added services

  • Programming and firmware loading.
  • Tape-and-reel, re-reeling and tray packing.
  • Baking and dry-pack for moisture-sensitive parts.
  • Barcode, QR and custom label generation.

Packaging options

Parts are packed in ESD-safe bags, moisture-barrier bags with desiccant and humidity indicator, tape-and-reel, trays, tubes or bulk cartons. Custom labels, mixed kits and drop-ship to your contract manufacturer can be arranged.

Documentation & traceability

Each package carries the part number, quantity, lot/date code and country of origin. Packing lists and CoCs can be formatted to match your receiving process.

After-sales support

For returns, please contact us with the invoice number, part number and reason. We will issue an RMA and instructions before material is returned. Technical and order-status questions are answered within one business day.