m5m51016btp Renesas Electronics Corporation., m5m51016btp Datasheet - Page 260

no-image

m5m51016btp

Manufacturer Part Number
m5m51016btp
Description
Renesas 16-bit Single-chip Microcomputer M16c Family / M16c/20 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
m5m51016btp-10LL/-10L
Manufacturer:
MIT
Quantity:
4 390
Part Number:
m5m51016btp-10LL/-10L
Manufacturer:
MIT
Quantity:
4 390
Part Number:
m5m51016btp-10VHTC4
Manufacturer:
MIT
Quantity:
20 000
Part Number:
m5m51016btp-10VLL
Manufacturer:
MIT
Quantity:
3 909
Part Number:
m5m51016btp-10VLL
Manufacturer:
MIT
Quantity:
3 909
Part Number:
m5m51016btp-10VLL
Manufacturer:
MITSUMI
Quantity:
20 000
Part Number:
m5m51016btp-12LL
Manufacturer:
MIT
Quantity:
4 390
Part Number:
m5m51016btp-70LL
Manufacturer:
MIT
Quantity:
20 000
Part Number:
m5m51016btp-70LLTC4
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
m5m51016btp-70LLTC4
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
M30245 Group
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
Operation (1) Select CRC-CCITT or CRC-16, and LSB first or MSB first by bit 0 and bit 5 of CRC mode
Figure 2.11.3. Calculation example using the CRC calculation circuit (when using CRC-CCITT)
2.11.2 Operation of CRC Calculation Circuit
The following describes the operation of the CRC calculation. Figure 2.11.3 shows an example of calcu-
lation using the CRC-CCITT.
(2) Setting 01
(3) Setting 23
(1) Setting 0000
(2) The CRC calculation circuit sets an initial value in the CRC data register.
(3) Writing 1 byte data to the CRC input register generates CRC code based on the data register.
(4) When several bytes of CRC calculation is performed in succession, write the following data in
(5) The content of CRC data register after all data is written becomes CRC code.
The code resulting from sending 01
(X
conformity with the modulo-2 operation.
Thus the CRC code becomes (1001 0001 1000 1000). Since the operation is in LSB first mode, the (1001 0001 1000 1000)
corresponds to 1189
circuit built in the M16C, switch between the LSB side and the MSB side of the input-holding bits, and carry out the CRC
operation. Also switch between the MSB and LSB of the result as stored in CRC data.
16
register.
CRC code generation for 1 byte data finishes in two machine cycles.
the CRC input register continuously.
+ X
16
16
1 0001 0000 0010 0001 1000 0000 0000 0000 0000 0000
16
12
+ X
page 251 of 354
5
+ 1), becomes the remainder resulting from dividing (1000 0000) X
b15
b15
b15
16
in hexadecimal notation. If the CRC operation in MSB first mode is necessary in the CRC operation
LSB
9
1000 1000 0001 0000 1
1189
0A41
16
8
LSB
b7
b7
in LSB first mode is (1000 0000). Thus the CRC code in the generating polynomial,
16
1000 0001 0000 1000 0
1000 1000 0001 0000 1
16
1001 0001 1000 1000
1
1
b0
b0
b0
b0
b0
1000 1000
CRC data register
2 cycles
After CRC calculation is complete
Stores CRC code
CRC data register
Stores CRC code
CRC input register
After CRC calculation is complete
CRC data register CRCD
CRC input register
MSB
MSB
16
[03BD
CRCD
[03BD
CRCIN
[03BE
CRCIN
[03BE
CRCD
[03BD
by (1 0001 0000 0010 0001) in
16
16
16
16
16
Modulo-2 operation is
operation that complies
with the law given below.
, 03BC
]
, 03BC
]
, 03BC
16
16
16
0 + 0 = 0
0 + 1 = 1
1 + 0 = 1
1 + 1 = 0
2. CRC Calculation Circuit
]
]
]
-1 = 1

Related parts for m5m51016btp