R01UH0823EJ0100 Rev.1.00 Page 1419 of 1823
Jul 31, 2019
RX23W Group 39. CRC Calculator (CRC)
39.4 Usage Notes
39.4.1 Module Stop Function Setting
Operation of the CRC calculator can be disabled or enabled using the module stop control register B (MSTPCRB). After
a reset, the CRC is in the module stop state. Register access is enabled by releasing the module stop state. For details,
refer to
section 11, Low Power Consumption.
39.4.2 Note on Transmission
Note that the sequence of transmission for the CRC code differs according to whether transmission is LSB first or MSB
first.
Figure 39.6 LSB First and MSB First Data Transmission
CRCDIR
CRCDOR
1. CRC code
CRC code generation
After specifying the method for generation calculation, write data to CRCDIR register in the order of (1), (2), (3), and (4).
Output
15
770 0
0
0
70
000777 7
(1)
CRC code (H)
CRC code
Output
7700 00 007777
2. Transmit data
CRC code (L)
(H) (L) (4) (3) (2) (1)
(i) When transmission is LSB first
(ii) When transmission is MSB first
(1) (2) (3) (4) (H) (L)
CRC code
CRCDIR
70
(2)
CRCDIR
70
(3)
CRCDIR
70
(4)
78
When transmitting 32-bit data