The 74F402 expandable Serial Data Polynomial generator/
checker is an expandable versio n of the 74F401. It provides an advanced tool for th e implem entation of th e most
widely used error detection scheme in serial dig ital handling systems. A 4-bit control input sel ects one-of-six generator polynomials. The list of polynomials includes CRC16, CRC-CCITT and Ethernet, as well as three other
standard polynomials (56
Individual clear and pre set 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.
th
order, 48th order, 32nd order).
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 othe r disk stora ge sys-
tems Digital cassette and cartridge systems Data communication systems
CWGCheck Word Generate Input1.0/0.6720 µA/−0.4 mA
D/CWSerial Data/Check Word285(100)/13.3(6.7)−5.7 mA(−2 mA)/8 mA (4 mA)
DData Input1.0/0.6720 µA/−0.4 mA
ER
RORegister Output285(100)/13.3(6.7)−5.7 mA(−2 mA)/8 mA (4 mA)
CPClock Pulse1.0/0.6720 µA/−0.4 mA
SEISerial Expansion Input1.0/0.6720 µA/−0.4 mA
RFBRegister Feedback1.0/0.6720 µA/−0.4 mA
MRMaster Reset1.0/0.6720 µA/−0.4 mA
P
Polynomial Select Inputs1.0/0.6720 µA/−0.4 mA
3
Error Output(Note 1) /26.7(13.3)(Note 1) /16 mA (8 mA)
Preset1.0/0.6720 µA/−0.4 mA
Functional Description
The 74F402 Serial Data Polynomial Generato r/Checker is
an expandable 16-bit programmable device which operates on serial data streams and provides a means of
detecting transmission er rors. Cyclic encod ing and decoding schemes for err or detection are based on poly nomial
manipulation in m odulo arithmetic . For encoding , the data
stream (message polynomial) is divided by a selected polynomial. This division results in a remainder (or residue)
which is appended t o th e m essa ge a s che ck bi t s. Fo r e rro r
checking, the bit st ream containing both data and check
bits is d ivided by the same selected polynomial. If there are
no detectable errors, th is division results in a zero remain der. Although it is possible to choose many generating
polynomials of a given de gre e, stan dar ds exist tha t spe cify
a small number of usefu l polynomials. The 7 4F402 implements the polynomials listed in Table 1 by applying the
appropriate logic levels to the select pins S
The 74F402 consists of a 16-bit register, a Read Only
Memory (ROM) and associated control circuitry as show n
in the Block Diagram. The polynomial control code presented at inputs S
selecting the desir ed polynom ial o r part of a p olyno mia l by
establishing shift mode operation on the register with
Exclusive OR (XOR) gates at appropriate inputs. To generate the check bits, the data stre am is entered via the Data
Inputs (D), using the LOW-to-HIGH transit ion 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-
, S1, S2 and S3 is decoded by the ROM,
0
, S1, S2 and S3.
0
U.L.
HIGH/LOW
erate (CWG) mu st be held HIGH while t he data is being
entered. After the last data bit is entered, the CWG is
brought LOW and the check b its are shift ed ou t of the register(s) and appended to the data bits (no external gating is
needed).
To check an incoming messa ge for errors, both the data
and check bits are enter ed through the D Input with the
CWG Input held HIGH. The Error Output becom es 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 ha ve occurred during the data transmission, the resultant internal register bits are all LOW and the
Error Output (ER
occurred, ER
to-HIGH transition o f CP or until th e device has b een preset or reset.
A HIGH on the Master Reset Input (MR) asynchronous ly
clears the entire register. A LOW on the Preset Input (P
asynchronously sets the enti re register with the exception
of:
1. The Ethernet residue se lection, in which the regist ers
containing the non-zero res idue are cleared;
2. The 56th order polynomial, in which the 8 least significant register bits of the least significant device are
cleared; and,
In addition to polynomial selection there are four other
capabilities provided for in the 74F402 ROM. The first is set
or clear selectability. The sixteen internal registers have the
capability to be either set or cleared when P
LOW. This set or clear capability is done in four groups of 4
(see Table 2, P
). The second ROM capability (C0) is in
0–P3
determining the po larity of the check word. A s is the case
with the Ethernet polynomial the check word can be
inverted when it is appended to the data stream or as is the
case with the other polynom ials, the residue is appended
with no inversion. Thirdly, the ROM contains a bit (C
which is used to select th e RFB input instead of the SEI
input to be fed into the LSB. This is used whe n th e p ol yno mial selected is actually a residu e (least signific ant) stored
in the ROM which indicates whether the selected locatio n
is a polynomia l o r a re si due . If the l a tter, then it in hi bits th e
RFB input.
As mentioned previously, upon a successful data transmission, the CRC register has a zero residue. There is an
exception to this, however, with respect to the Ethernet
polynomial. This polynom ial, upo n a successful dat a transmission, has a non-zero residue in the CRC register (C7 04
DD 7B)
. In order to provide a no-error indication, two
16
ROM locations have b een preloaded with the residue so
that by selecting these loca tions and clocking the device
one additional time, after the last check bit has been
entered, will result in zeroing the CRC register. In this manner a no-error indication is achieved.
With the present mix of polynomials, the largest is 56
order requiring four device s while the smallest is 16th order
requiring just one de vice. In order to acc ommodate multiplexing between h igh orde r pol ynomi als (X 16
lower order polynomials, a location of all zeros is provided.
is brought
th
order) and
P
1
TABLE 2.
P
C
C
C
0
2
1
0
Polynomial
This allows the user to choose a lower or der polynomial
even if the system is configured for a higher order one.
The 74F402 expandable CRC generator checker contains
6 popular CRC polynomials, 2-16
th
Order and 1-56th Order. The application diagram
48
shows the 74F402 connecte d for a 56
th
Order, 2-32nd Order, 1-
th
Order polynomial.
Also shown are the inp ut patterns for other polynomials.
When the 74F402 is used with a gated clock, d isablin g the
clock in a HIGH state will ensure no errone ous clocking
occurs when the clock is re-enabl ed. Preset and Master
)
1
Reset are asynchronou s inputs p resettin g the re giste r to S
or clearing to 1s re spectively (note Ethernet resi due and
th
Order select code 8, LSB, are exceptions to th is).
56
To generate a CRC, the pattern for the selected polynomial
is applied to the S inputs, t he register is preset or cleared
as required, clock is enabled, CW G is set HIGH, data is
applied to D input, output data is on D/CW. When the last
data bit has been enter ed, CWG is set L O W an d th e re gi ster is clocked for n bits (where n is the ord er of the polyn omial). The clock may now be stopped if desired (holding
CWG LOW and clocki ng t he re gi ste r w ill ou tpu t ze ros from
D/CW after the residue has been shifted out).
To check a CRC, the pattern for the selected polynomial is
applied to the S inputs, the re gister is preset or cleared as
required, clock is enabled, CWG is set HIGH, the data
stream including the CRC is applied to D input. When the
last bit of the CRC has been entered, the ER
checked: HIGH = error free data , LOW = cor rupt data. T he
th
clock may now be stopped if desired.
To implement polynomials of lower order than 56
the number of packa ges required for the order of pol ynomial and apply the pattern for the selected polynomial to
the S inputs (0000 on S inputs disab les the pac kage from
the feedback chain).
output is
th
, select
www.fairchildsemi.com4
Page 5
74F402
5www.fairchildsemi.com
Page 6
Absolute Maximum Ratings(Note 2)Recommended Operating
Storage Temperature−65°C to +150°C
74F402
Ambient Temperature under Bias−55°C to +125°C
Junction Temperature under Bias−55°C to +150°C
Pin Potential to Ground Pin−0.5V to +7.0V
V
CC
Input Voltage (Note 3)−0.5V to +7.0V
Input Current (Note 3)−30 mA to +5.0 mA
Voltage Applied to Output
in HIGH State (with V
CC
= 0V)
Standard Output−0.5V to V
3-STATE Output−0.5V to +5.5V
Current Applied to Output
in LOW State (Max)twice the rated I
OL
Conditions
Free Air Ambient Temperature0°C to +70°C
Supply Voltage+4.5V to +5.5V
Note 2: Absolute maximum ratings are values beyond which the device
may be damaged or have its useful life impaired. Functional operation
CC
under these conditi ons is not implied.
Note 3: Either voltage limit or curren t limit is sufficient to protect in put s .
(mA)
DC Electrical Characteristics
SymbolParameterMinTypMaxUnits
V
V
V
V
V
I
I
I
V
I
I
I
I
I
IH
IL
CD
OH
OL
IH
BVI
CEX
ID
OD
IL
OS
OHC
CC
Input HIGH Voltage2.0VRecognized as a HIGH Signal
Input LOW Voltage0.8VRecognized as a LOW Signal
Input Clamp Diode Voltage−1.2VMinIIN =−18 mA
Output HIGH10% V
Voltage 5% V
Output LOW10% V
Voltage10% V
Input HIGH
Current
Input HIGH Current
Breakdown Test
Output HIGH
Leakage Current
Input Leakage
TestAll Other Pins Grounded
Output Leakage
Circuit CurrentAll Other Pins Grounded
Input LOW Current−0.4mAMaxVIN = 0.5V
Output Short-Circuit Current−20−130mAMaxV
Open Collector, Output
OFF Leakage Test
Power Supply Current110165mAMax
2.4
CC
2.7IOH =−5.7 mA (RO, D/CW)
CC
CC
CC
4.75V0.0
0.5
0.5IOL = 8 mA (D/CW, RO)
5.0µAMaxVIN = 2.7V
7.0µAMaxVIN = 7.0V
50µAMaxV
3.75µA0.0
250µAMin
V
CC
VMin
IOH =−5.7 mA (RO, D/CW)
IOL = 16 mA (ER)
IID = 1.9 µA
V
V
Conditions
= V
OUT
CC
= 150 mV
IOD
= 0V (D/CW, RO)
OUT
= VCC (ER)
OUT
www.fairchildsemi.com6
Page 7
AC Electrical Characteristics
SymbolParameter
f
t
t
t
t
t
t
t
t
t
t
t
t
t
t
t
t
t
t
t
t
MAX
PLH
PHL
PLH
PHL
PLH
PHL
PLH
PHL
PLH
PLH
PLH
PHL
PHL
PLH
PLH
PHL
PLH
PHL
PLH
PHL
Maximum Clock Frequency30453030MHz
Propagation Delay8.515.019.07.526.57.521.0
CP to D/CW10.518.023.09.526.59.525.0
Propagation Delay8.013.517.07.026.07.019.0
CP to RO8.014.018.07.022.57.020.0
Propagation Delay15.526.033.014.038.514.035.0
CP to ER
Propagation Delay11.018.523.510.031.010.025.5
P to D/CW11.519.524.510.532.010.526.5
Propagation Delay
P to RO
Propagation Delay
P to ER
Propagation Delay10.518.023.09.529.09.525.5
MR to D/CW11.019.024.010.028.510.026.0
Propagation Delay
MR to RO
Propagation Delay
MR to ER
Propagation Delay6.010.513.55.019.55.015.0
D to D/CW7.512.016.06.520.06.518.0
Propagation Delay6.511.014.05.521.55.515.5
CWG to D/CW7.012.015.56.021.56.017.5
Propagation Delay11.519.524.59.029.010.526.5
Sn to D/CW9.516.020.08 .525.08.522.0
TA =+25°CT
VCC =+5.0VVCC =+5.0VVCC =+5.0V
CL = 50 pFCL = 50 pFCL = 50 pF
=−55°C to +125°CTA = 0°C to +70°C
A
Units
MinTypMaxMinMaxMinMax
8.514.518.57.523.57.520.5
9.516.020.58.531.58.522.5ns
10.017.021.59.026.09.023.5ns
9.015.519.58.023.58.021.5ns
16.528.035.514.539.014.537.5ns
74F402
ns
ns
ns
ns
ns
ns
ns
ns
7www.fairchildsemi.com
Page 8
AC Operating Requirements
74F402
SymbolParameter
tS(H)Setup Time, HIGH or LOW4.56.05.0
tS(L)SEI to CP4.56.05.0
tH(H)Hold Time, HIGH or LOW01.00
tH(L)SEI to CP01.00
tS(H)Setup Time, HIGH or LOW11.014.012.5
tS(L)RFB to CP11.014.012.5
tH(H)Hold Time, HIGH or LOW000
tH(L)RFB to CP000
tS(H)Setup Time, HIGH or LOW13.516.015.0
tS(L)S1 to CP13.015.514.5
tH(H)Hold Time, HIGH or LOW000
tH(L)S1 to CP000
tS(H)Setup Time, HIGH or LOW9.011.510.0
tS(L)D to CP9.011.510.0
tH(H)Hold Time, HIGH or LOW000
tH(L)D to CP000
tS(H)Setup Time, HIGH or LOW7.09.08.0
tS(L)CWG to CP5.58.06.5
tH(H)Hold Time, HIGH or LOW000
tH(L)CWG to CP000
tW(H)Clock Pulse Width4.07.04.5
tW(L)HIGH or LOW4.05.04.5
tW(H)MR Pulse Width, HIGH4.07.04.5ns
Fairchild does not assume any responsibility for use of any circuitry described, no circuit patent license s are implied and
Fairchild reserves the right at any time without notice to change said circuitry and specifications.
LIFE SUPPORT POLICY
FAIRCHILD’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT
DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT OF FAIRCHILD
SEMICONDUCTOR CORPORATION. As used herein:
1. Life support devices or systems are devices or systems
which, (a) are intended for surgical implant into the
body, or (b) support or sustain life, and (c) whose failure
to perform when properly used in accordance with
instructions for use provide d in the labe l ing, can be re asonably expected to result in a significant injury to the
user.
Package Number N16E
2. A critical componen t in any com ponen t of a life s upport
device or system whose failu re to perform can b e reasonably expected to cause the failure of the life support
device or system, or to affect its safety or effectiveness.
www.fairchildsemi.com
9www.fairchildsemi.com
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.