74HC238PW


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

85000

Effective Inventory
Go to Inquiry

Image for reference only

Manufacturer Part:

74HC238PW

Package:

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

Brand:
Product Categories:
Other recommendations you may be interested in.
Description

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.

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).

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.

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
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
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
Recommend Parts
SPDT analog switch, 6Ω RON, 1.65-5.5V, 300MHz BW, BBM, TSSOP6

Brand:

Package:

TSSOP6 / SOT363-2 (2.1 x 1.25 x 0.95mm)
In stock:
14113pcs

Cargo cycle: 3~7 Days
The minimum order is 1

Go to Inquiry
Dual common-cathode Schottky, 30V, 200mA, 240mV@1mA, 5ns trr, SOT-23, AEC-Q101

Brand:

Package:

SOT-23 / TO-236AB (2.9 x 1.3 x 1.0 mm, 1.9mm pitch)
In stock:
362417pcs

Cargo cycle: 3~7 Days
The minimum order is 1

Go to Inquiry
PNP 40V 200mA, hFE 100-300, fT 250MHz, SOT-23, complementary to MMBT3904, general-purpose switching

Brand:

Package:

SOT-23 (TO-236) (2.9 x 1.3 x 1.0 mm, 1.9mm pitch)
In stock:
80000pcs

Cargo cycle: 3~7 Days
The minimum order is 1

Go to Inquiry
N-ch small-signal MOSFET, 50V/173mA, 15 ohm RDS(on)@10V, logic-level, TrenchMOS, SOT-23, -65~150C

Brand:

Package:

SOT-23 (TO-236AB) (2.9 x 1.3 x 1.0 mm, 1.9mm pitch)
In stock:
0pcs

Cargo cycle: 3~7 Days
The minimum order is 1

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

Brand:

Package:

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

Go to Inquiry
Octal D-type transparent latch, 3-state outputs, LE and OE control, 2-6V, TSSOP-20, -40~125C, I/O on opposite sides for bus interfacing

Brand:

Package:

TSSOP-20 (SOT360-1) (6.4 x 4.4 x 1.2 mm)
In stock:
24829pcs

Cargo cycle: 3~7 Days
The minimum order is 1

Go to Inquiry
Quality Assurance

All electronic components we source from our partnered supply chains go through strict incoming inspections.Through careful testing, we ensure everything delivered to customers is genuine original parts and meets quality requirements.In addition, we keep complete inspection records to make the entire supply chain process clear and traceable.

Certification
We have obtained a number of professional certifications and built our own professional testing laboratory.This ensures that every product we deliver to our customers meets the highest quality requirements.We conduct tests in strict accordance with procedures to ensure stable product quality and accurate parameters.To guarantee genuine original parts, we also cooperate with reliable third-party testing institutions for strict quality inspection.We always attach great importance to quality and fully comply with industry standards, relevant regulations, and ISO 9001:2015 requirements.

Shipping & Payment

All electronic components we source from our partnered supply chains go through strict incoming inspections.Through careful testing, we ensure everything delivered to customers is genuine original parts and meets quality requirements.In addition, we keep complete inspection records to make the entire supply chain process clear and traceable.

Certification
We have obtained a number of professional certifications and built our own professional testing laboratory.This ensures that every product we deliver to our customers meets the highest quality requirements.We conduct tests in strict accordance with procedures to ensure stable product quality and accurate parameters.To guarantee genuine original parts, we also cooperate with reliable third-party testing institutions for strict quality inspection.We always attach great importance to quality and fully comply with industry standards, relevant regulations, and ISO 9001:2015 requirements.

Service & Packaging

All electronic components we source from our partnered supply chains go through strict incoming inspections.Through careful testing, we ensure everything delivered to customers is genuine original parts and meets quality requirements.In addition, we keep complete inspection records to make the entire supply chain process clear and traceable.

Certification
We have obtained a number of professional certifications and built our own professional testing laboratory.This ensures that every product we deliver to our customers meets the highest quality requirements.We conduct tests in strict accordance with procedures to ensure stable product quality and accurate parameters.To guarantee genuine original parts, we also cooperate with reliable third-party testing institutions for strict quality inspection.We always attach great importance to quality and fully comply with industry standards, relevant regulations, and ISO 9001:2015 requirements.