R01UH0823EJ0100 Rev.1.00
Page 1417 of 1823
Jul 31, 2019
RX23W Group
39. CRC Calculator (CRC)
Figure 39.4
LSB First Data Reception
CRCCR
CRCDOR
Clear CRCDOR
1
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
CRCDIR
1
1
1
1
0
0
0
0
1
1
1
1
0
1
1
1
1
0
0
0
1
1
1
1
1
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
1
1
1
1
0
1
1
1
1
1
1
1
0
1
1
1
Input
Data
7
F
F
F
0
8
7
0
1
1
1
1
0
1
1
1
1
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
7
0
7
0
7
0
7
0
7
0
7
0
7
0
7
0
CRC code
CRC code generation
1. 8-bit serial reception (LSB first)
2. Write 83h to the CRC control register (CRCCR)
3. Write F0h to the CRC data input register (CRCDIR)
4. Write 8Fh to the CRC data input register (CRCDIR)
5. Write F7h to the CRC data input register (CRCDIR)
6. Read the calculation result in the CRC data output register (CRCDOR)
CRC code = 0000h
no error
CRCDIR
CRCDIR
7
0 7
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
CRC code generation
CRC code generation
8
15
15
15
15
8
8
8
CRCDOR
CRCDOR
CRCDOR