|
PIC24EP256GU810-I Datasheet, PDF (461/622 Pages) Electronic Film Capacitors, Inc. – 16-Bit Microcontrollers and Digital Signal Controllers with High-Speed PWM, USB and Advanced Analog | |||
|
◁ |
dsPIC33EPXXX(GP/MC/MU)806/810/814 and PIC24EPXXX(GP/GU)810/814
27.0 PROGRAMMABLE CYCLIC
REDUNDANCY CHECK (CRC)
GENERATOR
Note 1: This data sheet summarizes the features of
the dsPIC33EPXXX(GP/MC/MU)806/810/
814 and PIC24EPXXX(GP/GU)810/814
families of devices. It is not intended to be
a comprehensive reference source. To
complement the information in this data
sheet, refer to Section 27. âProgramma-
ble Cyclic Redundancy Check (CRC)â
(DS70346) of the âdsPIC33E/PIC24E
Family Reference Manualâ, which is
available from the Microchip web site
(www.microchip.com).
2: Some registers and associated bits
described in this section may not be available
on all devices. Refer to Section 4.0 âMem-
ory Organizationâ in this data sheet for
device-specific register and bit information.
The programmable CRC generator offers the following
features:
⢠User-Programmable (up to 32nd order)
Polynomial CRC Equation
⢠Interrupt Output
⢠Data FIFO
The programmable CRC generator provides a
hardware implemented method of quickly generating
checksums for various networking and security
applications. It offers the following features:
⢠User-Programmable CRC Polynomial Equation,
up to 32 bits
⢠Programmable Shift Direction (little or big-endian)
⢠Independent Data and Polynomial Lengths
⢠Configurable Interrupt Output
⢠Data FIFO
A simplified block diagram of the CRC generator is
shown in Figure 27-1. A simple version of the CRC shift
engine is shown in Figure 27-2.
FIGURE 27-1:
PROGRAMMABLE CRC BLOCK DIAGRAM
CRCDATH
CRCDATL
2 * FP Shift Clock
Variable FIFO
(4x32, 8x16 or 16x8)
FIFO Empty Event
Shift Buffer
0 1 LENDIAN
CRCISEL
1
Set CRCIF
0
CRC Shift Engine
Shift Complete Event
CRCWDATH CRCWDATL
FIGURE 27-2:
Shift Buffer
Data
CRC SHIFT ENGINE DETAIL
CRCWDATH
Read/Write Bus
X(1)(1)
X(2)(1)
Bit 0
Bit 1
Bit 2
CRCWDATL
X(n)(1)
Bit n(2)
Note 1: Each XOR stage of the shift engine is programmable. See text for details.
2: Polynomial Length n is determined by ([PLEN<4:0>] + 1).
ï£ 2009-2012 Microchip Technology Inc.
DS70616G-page 461
|
▷ |