Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

M32C/86 Datasheet(PDF) 281 Page - Renesas Technology Corp

Part # M32C/86
Description  RENESAS 16/32-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M32C/80 SERIES
PDF  505 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

M32C/86 Datasheet(HTML) 281 Page - Renesas Technology Corp

Back Button M32C/86 Datasheet HTML 277Page - Renesas Technology Corp M32C/86 Datasheet HTML 278Page - Renesas Technology Corp M32C/86 Datasheet HTML 279Page - Renesas Technology Corp M32C/86 Datasheet HTML 280Page - Renesas Technology Corp M32C/86 Datasheet HTML 281Page - Renesas Technology Corp M32C/86 Datasheet HTML 282Page - Renesas Technology Corp M32C/86 Datasheet HTML 283Page - Renesas Technology Corp M32C/86 Datasheet HTML 284Page - Renesas Technology Corp M32C/86 Datasheet HTML 285Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 281 / 505 page
background image
Page 258
9
7
4
f
o
5
0
0
2
,
8
0
.
p
e
S
0
0
.
1
.
v
e
R
0
0
1
0
-
4
0
2
0
B
9
0
J
E
R
20. CRC Calculation
)
T
6
8
/
C
2
3
M
,
6
8
/
C
2
3
M
(
p
u
o
r
G
6
8
/
C
2
3
M
CRC Calculation and Setup Procedure to Generate CRC Code for "80C416"
CRC Code : a remainder of a division,
(1) Inverse a bit position of "80C416" per byte by program
(2) Set "000016" (default value)
CRCD register
CRCD register
CRCIN register
Generator Polynomial : X
16
+ X
12
+ X
5
+ 1 (1 0001 0000 0010 00012)
value of the CRCIN register with inversed bit position
generator polynomial
CRC Calculation for M32C
Setting Steps
Details of CRC Calculation
(3) Set "0116"
"8016"
"0116", "C416""2316"
Bit position of the CRC code for "8016"
(918816) is inversed to "118916", which is
stored into the CRCD register in 3rd cycle.
CRCD register
Generator Polynomial
data
0 + 0 = 0
0 + 1 = 1
1 + 0 = 1
1 + 1 = 0
- 1 = 1
CRCIN register
(4) Set "2316"
CRC Code
1 0001 0000 0010 0001
1000 1000
1000 0000 0000 0000 0000 0000
1000 1000 0001 0000 1
1000 0001 0000 1000 0
1000 1000 0001 0000 1
1001 0001 1000 1000
Bit position of the CRC code for "80C416"
(825016) is inversed to "0A4116", which is
stored into the CRCD register in 3rd cycle.
As shown in (3) above, bit position of "0116" (000000012) written to the CRCIN register is inversed and becomes
"100000002".
Add "1000 0000 0000 0000 0000 00002", as "100000002" plus 16 digits, to "000016" as the default value of the
CRCD register to perform the modulo-2 division.
"0001 0001 1000 10012 (118916)", the remainder "1001 0001 1000 10002 (918816)" with inversed bit position, can
be read from the CRCD register.
When going on to (4) above, "2316 (001000112)" written in the CRCIN register is inversed and becomes
"110001002".
Add "1100 0100 0000 0000 0000 00002", as "110001002" plus 16 digits, to "1001 0001 1000 10002" as a
remainder of (3) left in the CRCD register to perform the modulo-2 division.
"0000 1010 0100 00012 (0A4116)", the remainder with inversed bit position, can be read from CRCD register.
Modulo-2 Arithmetic is
calculated on the law below.
b15
b0
b15
b0
b7
b0
118916
b15
b0
b7
b0
0A4116
Figure 20.3 CRC Calculation



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