Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC24F16KA102 Datasheet(PDF) 165 Page - Microchip Technology

Part # PIC24F16KA102
Description  20/28-Pin General Purpose, 16-Bit Flash Microcontrollers with nanoWatt XLP??Technology
PDF  254 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC24F16KA102 Datasheet(HTML) 165 Page - Microchip Technology

Back Button PIC24F16KA102 Datasheet HTML 161Page - Microchip Technology PIC24F16KA102 Datasheet HTML 162Page - Microchip Technology PIC24F16KA102 Datasheet HTML 163Page - Microchip Technology PIC24F16KA102 Datasheet HTML 164Page - Microchip Technology PIC24F16KA102 Datasheet HTML 165Page - Microchip Technology PIC24F16KA102 Datasheet HTML 166Page - Microchip Technology PIC24F16KA102 Datasheet HTML 167Page - Microchip Technology PIC24F16KA102 Datasheet HTML 168Page - Microchip Technology PIC24F16KA102 Datasheet HTML 169Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 165 / 254 page
background image
© 2009 Microchip Technology Inc.
Preliminary
DS39927B-page 163
PIC24F16KA102 FAMILY
20.0
PROGRAMMABLE CYCLIC
REDUNDANCY CHECK (CRC)
GENERATOR
The programmable Cyclic Redundancy Check (CRC)
module in PIC24F devices is a software-configurable
CRC checksum generator. The CRC algorithm treats a
message as a binary bit stream and divides it by a fixed
binary number.
The remainder from this division is considered the
checksum. As in division, the CRC calculation is also
an iterative process. The only difference is that these
operations are done on modulo arithmetic based on
mod2. For example, division is replaced with the XOR
operation (i.e., subtraction without carry). The CRC
algorithm uses the term, polynomial, to perform all of
its calculations.
The divisor, dividend and remainder that are
represented by numbers are termed as polynomials
with binary coefficients.
The programmable CRC generator offers the following
features:
• User-programmable polynomial CRC equation
• Interrupt output
• Data FIFO
The module implements a software-configurable CRC
generator. The terms of the polynomial and its length
can be programmed using the CRCXOR (X<15:1>) bits
and the CRCCON (PLEN<3:0>) bits, respectively.
Consider the CRC equation:
x16 + x12 + x5 + 1
To program this polynomial into the CRC generator, the
CRC register bits should be set as provided in
Table 20-1.
TABLE 20-1:
EXAMPLE CRC SETUP
The value of X<15:1>, the 12th bit and the 5th bit are set
to ‘1’, as required by the equation. The 0 bit required by
the equation is always XORed. For a 16-bit polynomial,
the 16th bit is also always assumed to be XORed;
therefore, the X<15:1> bits do not have the 0 bit or the
16th bit.
The topology of a standard CRC generator is displayed
in Figure 20-2.
FIGURE 20-1:
CRC SHIFTER DETAILS
Note:
This data sheet summarizes the features of
this group of PIC24F devices. It is not
intended to be a comprehensive reference
source. For more information on Program-
mable Cyclic Redundancy Check, refer to
the “PIC24F Family Reference Manual”,
Section
30.
“Programmable
Cyclic
Redundancy Check (CRC)”
(DS39714).
Bit Name
Bit Value
PLEN<3:0>
1111
X<15:1>
000100000010000
IN
OUT
BIT 0
0
1
clk
X1
IN
OUT
BIT 1
0
1
clk
X2
IN
OUT
BIT 2
0
1
clk
X3
IN
OUT
BIT 15
0
1
clk
X15
XOR
DOUT
01
2
15
PLEN<3:0>
Hold
Hold
Hold
Hold
CRC Read Bus
CRC Write Bus
CRC Shift Register



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com