Skip to datasheet
The Engineering ProjectsAI Interactive Datasheet

74HC245Octal bidirectional bus transceiver

Eight logic channels. One direction. A controlled handoff.

Manufacturer-referenced

Texas Instruments · SN74HC245N

PDIP-20SCLS131F · August 2022

74HC245 moves eight logic signals between two buses. A direction input selects which side receives data, and one active-LOW enable controls all eight channels together. There is no clock, latch or stored byte. With DIR HIGH, each B output follows its matching A input. With DIR LOW, data travels from B to A. A HIGH enable releases both output banks, so external circuitry can take ownership without two active drivers fighting. Both sides operate from the same supply. This page covers TI SN74HC245N PDIP and SN74HC245DWR wide SOIC packages, with the SN74 temperature range of −40 to +85°C. The 5 V example fixes direction from eight switches to eight LED branches and shows the byte A5 hexadecimal. Every input and disabled output has a defined external bias.

Real View

SN74HC245N black PDIP-20 package with silver contacts and readable marking.
SN74HC245N · PDIP-20Package illustration

Pinout

74HC245PDIP-20Top view
Select a pin to see its functionPDIP-20 · 20 pins

PCB Footprint

Loading footprint…
Powered by
Finding PDIP-20 packageTop view · mm

3D View

Preparing 3D preview…
3D packageDrag to rotate · Scroll to zoom
Direction and output enableEight A-side portsSupply and returnEight B-side ports
74HC245PDIP-20Top view

Click a lead or use the arrow keys. Top view

1
PIN 1 · Direction and output enable

DIR

Direction input

Function

HIGH selects A-to-B; LOW selects B-to-A while /OE is LOW.

How to connect

Tie to +5 V in this one-way demonstration.

Electrical note

Disable the bus before changing direction. Release the old source before enabling the new one.

At a glance

Octal bidirectional bus transceiver

Eight noninverting paths share DIR and /OE. The selected output bank drives only while /OE is LOW; the other bank receives. /OE HIGH releases both banks.

8 Noninverting, bidirectionalParallel channels
2–6 VOperating supply
DIR + /OE Direction and active-LOW enableShared controls
−40 to +85 °CSN74 ambient

Operating profile

SN74HC245N

Selected package
PDIP-20SN74HC245N
Illustrated transfer
0xA5A → B · 1010 0101
Typical data delay
15ns · 4.5 V, 50 pF, 25°C

Direction and enable

Key parameters and their test conditions

/OE LOW; DIR HIGH
A inputs → B outputsConditions / notes: Noninverting, asynchronous transfer
/OE LOW; DIR LOW
B inputs → A outputsConditions / notes: Reverse direction
/OE HIGH; DIR either level
Both output banks high impedanceConditions / notes: External bias determines node voltages
Output state
LOW, HIGH or Z drive conditionConditions / notes: Z is not a third voltage
Data storage
NoneConditions / notes: Output follows after propagation delay; no clock
Direction changes
Disable first; release old sourceConditions / notes: Prevent bus contention during handoff

Package details

Follows the selected physical package

Manufacturer
Texas Instruments
Part number
SN74HC245N
Package
PDIP-20
Connections
20 pins
Mounting
Through-hole
Lead pitch
2.54 mm
Package code
PDIP-20
Thermal reference
See operating and package limits

Connections by function

Select a pin to open its function, electrical notes and wiring guidance.

Direction and output enable2 pins

Eight A-side ports8 pins

Supply and return2 pins

Eight B-side ports8 pins

Present a byte

Eight switches establish A1 through A8. A1 is the least significant bit in this example. A8…A1 = 1010 0101 gives hexadecimal A5.

Select and enable

DIR pin 1 is held HIGH. Closing the /OE switch pulls pin 19 LOW and enables A-to-B transfer.

Observe or release

B1, B3, B6 and B8 light their LEDs. Opening /OE releases all eight drivers; external pull-downs define the disabled nodes.

Disable, release the old source, select direction and enable the new transfer. High impedance is not a logic LOW, and a shared supply does not make HC a universal voltage translator.

Compact physical chip cutaway with eight two-way buffer paths, shared DIR and active-low output enable.
Functional architecture; opposite drivers are not enabled simultaneously.
SN74HC245N A-to-B example with eight data switches, 10k input pull-downs, 1k LED branches, 100k output bias, shared enable and 100n supply bypass.
A8…A1 = 1010 0101, DIR HIGH, /OE LOW. All same-name power and ground labels connect.

Pin reference

Select a pin to explore its function and connection.

20 pins
PinSignalTypeFunction
DIRDirection inputHIGH selects A-to-B; LOW selects B-to-A while /OE is LOW.
A1Bidirectional logic portChannel 1 A-side port. Input with DIR HIGH; output with DIR LOW.
A2Bidirectional logic portChannel 2 A-side port. Input with DIR HIGH; output with DIR LOW.
A3Bidirectional logic portChannel 3 A-side port. Input with DIR HIGH; output with DIR LOW.
A4Bidirectional logic portChannel 4 A-side port. Input with DIR HIGH; output with DIR LOW.
A5Bidirectional logic portChannel 5 A-side port. Input with DIR HIGH; output with DIR LOW.
A6Bidirectional logic portChannel 6 A-side port. Input with DIR HIGH; output with DIR LOW.
A7Bidirectional logic portChannel 7 A-side port. Input with DIR HIGH; output with DIR LOW.
A8Bidirectional logic portChannel 8 A-side port. Input with DIR HIGH; output with DIR LOW.
GNDGround returnCommon return for both buses and controls.
B8Bidirectional logic portChannel 8 B-side port. Output with DIR HIGH; input with DIR LOW.
B7Bidirectional logic portChannel 7 B-side port. Output with DIR HIGH; input with DIR LOW.
B6Bidirectional logic portChannel 6 B-side port. Output with DIR HIGH; input with DIR LOW.
B5Bidirectional logic portChannel 5 B-side port. Output with DIR HIGH; input with DIR LOW.
B4Bidirectional logic portChannel 4 B-side port. Output with DIR HIGH; input with DIR LOW.
B3Bidirectional logic portChannel 3 B-side port. Output with DIR HIGH; input with DIR LOW.
B2Bidirectional logic portChannel 2 B-side port. Output with DIR HIGH; input with DIR LOW.
B1Bidirectional logic portChannel 1 B-side port. Output with DIR HIGH; input with DIR LOW.
/OEActive-LOW output enableLOW enables the direction-selected paths; HIGH releases both sets of drivers.
VCCPositive supplyPowers the logic and output drivers.
PDIP-20 · Top view · Select a pin number to inspect its connection.

Direction and enable

Shared by all eight channels

ParameterValueConditions / notes
/OE LOW; DIR HIGHA inputs → B outputsNoninverting, asynchronous transfer
/OE LOW; DIR LOWB inputs → A outputsReverse direction
/OE HIGH; DIR either levelBoth output banks high impedanceExternal bias determines node voltages
Output stateLOW, HIGH or Z drive conditionZ is not a third voltage
Data storageNoneOutput follows after propagation delay; no clock
Direction changesDisable first; release old sourcePrevent bus contention during handoff

The illustrated switch/LED circuit is wired for A-to-B only. Reconfigure external sources before reversing direction.

Eight channel pairs

SN74HC245N · PDIP-20

ParameterValueConditions / notes
Channel 1A1 pin 2 ↔ B1 pin 18Same logic polarity in either direction
Channel 2A2 pin 3 ↔ B2 pin 17Same logic polarity in either direction
Channel 3A3 pin 4 ↔ B3 pin 16Same logic polarity in either direction
Channel 4A4 pin 5 ↔ B4 pin 15Same logic polarity in either direction
Channel 5A5 pin 6 ↔ B5 pin 14Same logic polarity in either direction
Channel 6A6 pin 7 ↔ B6 pin 13Same logic polarity in either direction
Channel 7A7 pin 8 ↔ B7 pin 12Same logic polarity in either direction
Channel 8A8 pin 9 ↔ B8 pin 11Same logic polarity in either direction
Control pinsDIR 1; /OE 19One direction and one enable for the entire byte
Power pinsVCC20; GND10100 nF bypass placed close to the package

The physical arrangement differs from latch/register ICs: this device does not capture or retain data.

Supply and logic thresholds

SN74 operating conditions

ParameterValueConditions / notes
Recommended supply2–6 V5 V demonstration
Operating temperature−40 to +85°CSN74 grade; do not substitute SN54 limits
HIGH input at 4.5 VAt least 3.15 VHC CMOS threshold
LOW input at 4.5 VAt most 1.35 VIntermediate region is unspecified
Thresholds at 2 VHIGH ≥1.5 V; LOW ≤0.5 VManufacturer test point
Thresholds at 6 VHIGH ≥4.2 V; LOW ≤1.8 VA 3.3 V source does not guarantee HIGH here
Input rise/fall time maximum1000 / 500 / 400 nsAt 2 / 4.5 / 6 V
Normal port voltageBetween GND and VCCRespect power sequencing and clamp-current limits

A single VCC powers both buses. Use a suitable level translator where independent voltage domains are required.

Drive, leakage and current

Defined test conditions

ParameterValueConditions / notes
HIGH output at 4.5 V, −6 mA4.3 V typical; 3.98 V minimum at 25°C3.84 V minimum across SN74 temperature range
LOW output at 4.5 V, 6 mA0.17 V typical; 0.26 V maximum at 25°C0.33 V maximum across SN74 temperature range
Light-load output at 4.5 VHIGH ≥4.4 V; LOW ≤0.1 V20 µA load
Disabled-port leakage at 6 V±0.01 µA typical; ±0.5 µA maximum at 25°C±5 µA maximum across SN74 range
DIR / OE input leakage at 6 V±0.1 µA maximum at 25°C±1 µA maximum across temperature
Static supply current at 6 V8 µA max at 25°C; 80 µA max over rangeInputs at supply rails, no output load
Control input capacitance3 pF typical; 10 pF maximumDIR / OE, 2–6 V

Output drive and supply current are separate quantities. Add the loads of all active channels when checking package current.

Transfer and bus-handoff timing

4.5 V · CL = 50 pF

ParameterValueConditions / notes
Data propagation A↔B15 ns typical; 21 ns maximum at 25°C26 ns maximum across −40…85°C
Enable /OE to output23 ns typical; 46 ns maximum at 25°C58 ns maximum across temperature
Disable /OE to Z25 ns typical; 40 ns maximum at 25°C50 ns maximum across temperature
Output transition8 ns typical; 12 ns maximum at 25°C15 ns maximum across temperature
Data delay with 150 pF load18 ns typical; 27 ns max at 25°C34 ns maximum across SN74 temperature range
Break-before-make timingAccount for worst-case delay and control skewA released node may settle slowly through external bias

Typical values are descriptive, not guaranteed design limits. The headline 12 ns value is the 6 V, 50 pF typical data delay.

Eight-bit LED transfer

5 V · DIR HIGH · /OE LOW

ParameterValueConditions / notes
Input wordA8…A1 = 1010 01010xA5 = decimal 165
Input switchesEach A pin → switch → +5 VSeparate 10 kΩ from each A pin to GND
Output LEDsEach B pin → 1 kΩ → LED anode → cathode to GNDOne resistor per LED
Disabled-output bias100 kΩ from every B pin to GNDDefines nodes when the IC releases its drivers
Enable control10 kΩ pull-up on pin 19; switch to GNDOpen = disabled, closed = enabled
Illustrated LEDs onB1, B3, B6 and B8Four HIGH outputs
Ideal currentAbout 3 mA per lit red LED, about 12 mA totalAssumes 5 V output and 2 V LED drop; actual VOH changes it
Local bypass100 nF from VCC20 to GND10Short connection loop

The drawn switch positions are illustrative steady states. No clock is driven by the switches.

Current and layout boundaries

Stress ratings are not operating targets

ParameterValueConditions / notes
Absolute VCC maximum7 VNormal operating maximum is 6 V
Absolute per-output current±35 mAUse the specified loaded output levels for real designs
Absolute VCC / GND current±70 mATotal package current, not per channel
Absolute clamp current±20 mAAvoid normal use of protection diodes as voltage conversion
Bus contentionNever enable opposing driven levelsDisable before changing source ownership
Unused channel biasHold inputs at a valid railUse resistive bias if a port may become an output
RoutingShort returns and close bypassReduce capacitive load and ringing

Do not power LEDs, relays or other loads without checking their load currents and required external drivers.

Take it into ProTech

Find 74HC245 in the Components Library to place its schematic symbol and connect its pins.

Reference page · circuit simulation model not yet availableOpen ProTech

Component view