74F402PC

© 1999 Fairchild Semiconductor Corporation DS009535 www.fairchildsemi.com
April 1988
Revised August 1999
74F402 Serial Data Polynomial Generator/Checker
74F402
Serial Data Polynomial Generator/Checker
General Description
The 74F402 expandable Serial Data Polynomial generator/
checker is an expandable version of the 74F401. It pro-
vides an advanced tool for the implementation of the most
widely used error detection scheme in serial digital han-
dling systems. A 4-bit control input selects one-of-six gen-
erator polynomials. The list of polynomials includes CRC-
16, CRC-CCITT and Ethernet, as well as three other
standard polynomials (56
th
order, 48
th
order, 32
nd
order).
Individual clear and preset inputs are provided for floppy
disk and other applications. The Error output indicates
whether or not a transmission error has occurred. The
CWG Control input inhibits feedback during check word
transmission. The 74F402 is compatible with FAST
devices and with all TTL families.
Features
Guaranteed 30 MHz data rate
Six selectable polynomials
Other polynomials available
Separate preset and clear controls
Expandable
Automatic right justification
Error output open collector
Typical applications: Floppy and other disk storage sys-
tems Digital cassette and cartridge systems Data com-
munication systems
Ordering Code:
Logic Symbol Connection Diagram
FAST is a registered trademark of Fairchild Semiconductor Corporation.
Ethernet is a registered trademark of Xerox Corporation.
Order Number Package Number Package Description
74F402PC N16E 16-Lead Plastic Dual-In-Line Package (PDIP), JEDEC MS-001, 0.300 Wide
www.fairchildsemi.com 2
74F402
Unit Loading/Fan Out
Note 1: Open Collector
Functional Description
The 74F402 Serial Data Polynomial Generator/Checker is
an expandable 16-bit programmable device which oper-
ates on serial data streams and provides a means of
detecting transmission errors. Cyclic encoding and decod-
ing schemes for error detection are based on polynomial
manipulation in modulo arithmetic. For encoding, the data
stream (message polynomial) is divided by a selected poly-
nomial. This division results in a remainder (or residue)
which is appended to the message as check bits. For error
checking, the bit stream containing both data and check
bits is divided by the same selected polynomial. If there are
no detectable errors, this division results in a zero remain-
der. Although it is possible to choose many generating
polynomials of a given degree, standards exist that specify
a small number of useful polynomials. The 74F402 imple-
ments the polynomials listed in Table 1 by applying the
appropriate logic levels to the select pins S
0
, S
1
, S
2
and S
3
.
The 74F402 consists of a 16-bit register, a Read Only
Memory (ROM) and associated control circuitry as shown
in the Block Diagram. The polynomial control code pre-
sented at inputs S
0
, S
1
, S
2
and S
3
is decoded by the ROM,
selecting the desired polynomial or part of a polynomial by
establishing shift mode operation on the register with
Exclusive OR (XOR) gates at appropriate inputs. To gener-
ate the check bits, the data stream is entered via the Data
Inputs (D), using the LOW-to-HIGH transition of the Clock
Input (CP). This data is gated with the most significant
Register Output (RO) via the Register Feedback Input
(RFB), and controls the XOR gates. The Check Word Gen-
erate (CWG) must be held HIGH while the data is being
entered. After the last data bit is entered, the CWG is
brought LOW and the check bits are shifted out of the reg-
ister(s) and appended to the data bits (no external gating is
needed).
To check an incoming message for errors, both the data
and check bits are entered through the D Input with the
CWG Input held HIGH. The Error Output becomes valid
after the last check bit has been entered into the ’F402 by a
LOW-to-HIGH transition of CP, with the exception of the
Ethernet polynomial (see Applications paragraph). If no
detectable errors have occurred during the data transmis-
sion, the resultant internal register bits are all LOW and the
Error Output (ER
) is HIGH. If a detectable error has
occurred, ER
is LOW. ER remains valid until the next LOW-
to-HIGH transition of CP or until the device has been pre-
set or reset.
A HIGH on the Master Reset Input (MR) asynchronously
clears the entire register. A LOW on the Preset Input (P
)
asynchronously sets the entire register with the exception
of:
1. The Ethernet residue selection, in which the registers
containing the non-zero residue are cleared;
2. The 56th order polynomial, in which the 8 least signifi-
cant register bits of the least significant device are
cleared; and,
3. Register S = 0, in which all bits are cleared.
Pin Names Description
U.L.
Input I
IH
/I
IL
HIGH/LOW
Output I
OH
/I
OL
S
0
–S
3
Polynomial Select Inputs 1.0/0.67 20 µA/0.4 mA
CWG Check Word Generate Input 1.0/0.67 20 µA/0.4 mA
D/CW Serial Data/Check Word 285(100)/13.3(6.7) 5.7 mA(2 mA)/8 mA (4 mA)
D Data Input 1.0/0.67 20 µA/0.4 mA
ER
Error Output (Note 1) /26.7(13.3) (Note 1) /16 mA (8 mA)
RO Register Output 285(100)/13.3(6.7) 5.7 mA(2 mA)/8 mA (4 mA)
CP Clock Pulse 1.0/0.67 20 µA/0.4 mA
SEI Serial Expansion Input 1.0/0.67 20 µA/0.4 mA
RFB Register Feedback 1.0/0.67 20 µA/0.4 mA
MR Master Reset 1.0/0.67 20 µA/0.4 mA
P
Preset 1.0/0.67 20 µA/0.4 mA
3 www.fairchildsemi.com
74F402
TABLE 1.
Block Diagram
Hex
Select Code
Polynomial Remarks
S
3
S
2
S
1
S
0
0LLLL0 S = 0
CHHL LX
32
+X
26
+X
23
+X
22
+X
16
+ Ethernet
DHHLHX
12
+X
11
+X
10
+X
8
+X
7
+X
5
+X
4
+X
2
+X+1 Polynomial
EHHHLX
32
+X
31
+X
27
+X
26
+X
25
+X
19
+X
16
+ Ethernet
FHHHHX
15
+X
13
+X
12
+X
11
+X
9
+X
7
+X
6
+X
5
+X
4
+X
2
+X+1 Residue
7LHHHX
16
+X
15
+X
2
+1 CRC-16
BHLHHX
16
+X
12
+X
5
+1 CRC-CCITT
3LLHHX
56
+X
55
+X
49
+X
45
+X
41
+
2LLHLX
39
+X
38
+X
37
+X
36
+X
31
+ 56th
4LHLLX
22
+X
19
+X
17
+X
16
+X
15
+X
14
+X
12
+X
11
+X
9
+ Order
8HLLLX
5
+X+1
5LHLHX
48
+X
36
+X
35+
9HLLHX
23
+X
21
+ 48th
1LLLHX
15
+X
13
+X
8
+X
2
+1Order
6LHHLX
32
+X
23
+X
21
+ 32nd
AHLHLX
11
+X
2
+1Order

74F402PC

Mfr. #:
Manufacturer:
ON Semiconductor
Description:
IC 16-BIT GEN/CHKER 16DIP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet