MC74HC161A, MC74HC163A
http://onsemi.com
7
FUNCTION DESCRIPTION
The HC161A/163A are programmable 4bit synchronous
counters that feature parallel Load, synchronous or
asynchronous Reset, a Carry Output for cascading, and
countenable controls.
The HC161A and HC163A are binary counters with
asynchronous Reset and synchronous Reset, respectively.
INPUTS
Clock (Pin 2)
The internal flipflops toggle and the output count
advances with the rising edge of the Clock input. In addition,
control functions, such as resetting and loading, occur with
the rising edge of the Clock input.
Preset Data Inputs P0, P1, P2, P3 (Pins 3, 4, 5, 6)
These are the data inputs for programmable counting.
Data on these pins may be synchronously loaded into the
internal flipflops and appear at the counter outputs.
P0 (Pin 3) is the leastsignificant bit and P3 (Pin 6) is the
mostsignificant bit.
OUTPUTS
Q0, Q1, Q2, Q3 (Pins 14, 13, 12, 11)
These are the counter outputs. Q0 (Pin 14) is the
leastsignificant bit and Q3 (Pin 11) is the mostsignificant
bit.
Ripple Carry Out (Pin 15)
When the counter is in its maximum state, 1111, this
output goes high, providing an external lookahead carry
pulse that may be used to enable successive cascaded
counters. Ripple Carry Out remains high only during the
maximum count state. The logic equation for this output is:
Ripple Carry Out = Enable T Q0 Q1 Q2 Q3
OUTPUT STATE DIAGRAMS
01234
5
6
7
89101112
13
14
15
Figure 3. Binary Counters
CONTROL FUNCTIONS
Resetting
A low level on the Reset pin (Pin 1) resets the internal
flipflops and sets the outputs (Q0 through Q3) to a low
level. The HC161A resets asynchronously, and the HC163A
resets with the rising edge of the Clock input (synchronous
reset).
Loading
With the rising edge of the Clock, a low level on Load
(Pin 9) loads the data from the Preset Data input pins (P0,
P1, P2, P3) into the internal flipflops and onto the output
pins, Q0 through Q3. The count function is disabled as long
as Load is low.
Count Enable/Disable
These devices have two countenable control pins:
Enable P (Pin 7) and Enable T (Pin 10). The devices count
when these two pins and the Load pin are high. The logic
equation is:
Count Enable = Enable P Enable T Load
The count is either enabled or disabled by the control
inputs according to Table 1. In general, Enable P is a
countenable control: Enable T is both a countenable and
a RippleCarry Output control.
Table 1. Count Enable/Disable
Control Inputs Result at Outputs
Load Enable P Enable T Q0 Q3 Ripple Carry Out
H H H Count
High when Q0Q3
are maximum*
L H H No
Count
X L H No
Count
High when Q0Q3
are maximum*
X X L No
Count
L
*Q0 through Q3 are maximum when Q3, Q2, Q1, Q0 = 1111.
MC74HC161A, MC74HC163A
http://onsemi.com
8
Figure 4. Figure 5.
Figure 6. Figure 7. HC163A Only
Figure 8. Figure 9.
TEST CIRCUIT
Figure 10.
t
r
t
f
V
CC
GND
t
THL
t
TLH
ANY
OUTPUT
90%
50%
10%
90%
50%
10%
CLOCK
t
PLH
t
PHL
50%
t
PHL
V
CC
GND
V
CC
GND
ANY
OUTPUT
CLOCK
RESET
50%
50%
t
rec
t
r
t
f
V
CC
GND
t
PHL
t
PLH
90%
50%
10%
90%
50%
10%
t
THL
t
TLH
ENABLE T
RIPPLE
CARRY
OUT
CLOCK
RESET
50%
t
su
V
CC
GND
50%
INPUTS
P0, P1,
P2, P3
50%
V
CC
GND
V
CC
GND
GND
50%
50%
LOAD
CLOCK
V
CC
GND
V
CC
GND
ENABLE T
OR
ENABLE P
50%
50%
CLOCK
*Includes all probe and jig capacitance
C
L
*
TEST POINT
DEVICE
UNDER
TEST
OUTPUT
V
CC
t
w
1/fmax
t
w
t
h
VALID
t
su
t
h
t
su
t
h
t
rec
VALID
t
su
t
h
SWITCHING WAVEFORMS
MC74HC161A, MC74HC163A
http://onsemi.com
9
P0
P1
P2
P3
ENABLE P
ENABLE T
RESET
T0
R
C
C
LOAD
LOAD
P0
Q0 Q0
Q1
Q2
Q3
RIPPLE
CARRY
OUT
V
CC
= PIN 16
GND = PIN 8
14
The flipflops shown in the circuit diagrams are ToggleEnable flipflops. A Toggle
Enable flipflop is a combination of a D flipflop and a T flipflop. When loading data from
Preset inputs P0, P1, P2, and P3, the Load signal is used to disable the Toggle input (Tn) of
the flipflop. The logic level at the Pn input is then clocked to the Q output of the flipflop
on the next rising edge of the clock.
A logic zero on the Reset device input forces the internal clock (C) high and resets the Q
output of the flipflop low.
Q0
Q1
Q1
Q2
Q2
Q3
T1
R
C
C
LOAD
LOAD
P1
T2
R
C
C
LOAD
LOAD
P2
T3
R
C
C
LOAD
LOAD
P3
13
12
11
15
3
4
5
6
7
10
1
Figure 11. 4Bit Binary Counter with Asynchronous Reset (MC74HC161A)
R
C
C
LOAD
LOAD
CLOCK
LOAD
9
2

MC74HC161ADTG

Mfr. #:
Manufacturer:
ON Semiconductor
Description:
Counter ICs LOG CMOS COUNTER 4BIT
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union