công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

M32C/8B bảng dữ liệu(PDF) 292 Page - Renesas Technology Corp

tên linh kiện M32C/8B
Giải thích chi tiết về linh kiện  RENESAS MCU M16C FAMILY / M32C/80 SERIES
PDF  406 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  RENESAS [Renesas Technology Corp]
Trang chủ  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

M32C/8B bảng dữ liệu(HTML) 292 Page - Renesas Technology Corp

Back Button M32C/8B Datasheet HTML 288Page - Renesas Technology Corp M32C/8B Datasheet HTML 289Page - Renesas Technology Corp M32C/8B Datasheet HTML 290Page - Renesas Technology Corp M32C/8B Datasheet HTML 291Page - Renesas Technology Corp M32C/8B Datasheet HTML 292Page - Renesas Technology Corp M32C/8B Datasheet HTML 293Page - Renesas Technology Corp M32C/8B Datasheet HTML 294Page - Renesas Technology Corp M32C/8B Datasheet HTML 295Page - Renesas Technology Corp M32C/8B Datasheet HTML 296Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 292 / 406 page
background image
Under development
M32C/8B Group
20. CRC Calculation
Preliminary specification
Specifications in this manual are tentative and subject to change.
REJ09B0450-0050 Rev.0.50 Oct 31, 2008
Page 275 of 385
Figure 20.3
CRC Calculation
CRC Calculation for M32C
CRC Calculation and Setup Procedure to Generate CRC Code for 80C4h
CRC code: a remainder of division,
Generator polynomial: X16 + X12 + X5 + 1 (1 0001 0000 0010 0001b)
CRCD register
Setting Steps
(1) Invert a bit position of 80C4h per byte by a program
80h
01h, C4h
23h
(2) Set 0000h (default value)
CRCIN register
(3) Set 01h
Bit position of the CRC code for 80h (9188h)
is inverted to 1189h, which is stored into the
CRCD register in the 3rd cycle.
(4) Set 23h
CRCD register
CRCIN register
Bit position of the CRC code for 80C4h
(8250h) is inverted to 0A41h, which is stored
into the CRCD register in the 3rd cycle.
CRCD register
Details of CRC Calculation
As shown in (3) above, bit position of 01h (00000001b) written to the CRCIN register is inverted to 10000000b.
Add 1000 0000 0000 0000 0000 0000b, as 10000000b plus 16 digits, to 0000h as the initial value of the CRCD
register to perform the modulo-2 division.
1 0001 0000 0010 0001 1000 0000 0000 0000 0000 0000
0001 0001 1000 1001b (1189h), the remainder 1001 0001 1000 1000b (9188h) with inversed bit position, can be
read from the CRCD register.
When going on to (4) above, 23h (00100011b) written in the CRCIN register is inverted to 11000100b.
Add 1100 0100 0000 0000 0000 0000b plus 16 digits, to 1001 0001 1000 1000b as a remainder of (3) left in the
CRCD register to perform the modulo-2 division.
0000 1010 0100 0001b (0A41h), the remainder with inverted bit position, can be read from CRCD register.
1189h
0A41h
Generator
polynomial
1000 1000
Data
1000 1000 0001 0000 1
1000 0001 0000 1000 0
1001 0001 1000 1000
Modulo-2 Arithmetic is
calculated on the law below
0 + 0 = 0
0 + 1 = 1
1 + 0 = 1
1 + 1 = 0
-1 = 1
1000 1000 0001 0000 1
CRC code
b15
b0
b0
b0
b0
b0
b15
b15
b7
b7
value of the CRCIN register with inversed bit position
Generator polynomial



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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