RL78/F13, F14 CHAPTER 27 SAFETY FUNCTIONS
R01UH0368EJ0210 Rev.2.10 1587
Dec 10, 2015
<Control register>
(1) CRC input register (CRCIN)
CRCIN register is an 8-bit register that is used to set the CRC operation data of general-purpose CRC.
The possible setting range is 00H to FFH.
The CRCIN register can be set by an 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Figure 27-4. Format of CRC Input Register (CRCIN)
Address: FFFACH After reset: 00H R/W
Symbol 7 6 5 4 3 2 1 0
CRCIN
CRCIN7 to CRCIN0 Setting the CRC operation data of general-purpose CRC
00H to FFH Data input when supporting CRC-CCITT
00H to 0FH Data input when conforming to SENT
Note
Note For CRCIN register write when conforming to SENT, write valid data to the lower 4 bits (bits 3 to 0) and
write 0 to the other bits (if any value other than 0 is written to, the written value is read because the bits
other than the lower 4 bits are not processed).
(2) CRC operation mode control register (CRCMD)
CRCMD register is used to select the general-purpose CRC operation mode.
The CRCMD register can be set by an 8-bit memory manipulation instruction.
Figure 27-5. Format of CRC Operation Mode Control Register (CRCMD)
Address: F02F9H After reset: 00H R/W
Symbol 7 6 5 4 3 2 1 0
CRCMD - - - - - - - POLYSEL
POLYSEL CRC code generation circuit select bit
0 CRC-CCITT (X
16
+ X
12
+ X
5
+ 1)
1 Conform to SENT (X
4
+ X
3
+ X
2
+ 1)
Cautions 1. To generate CRC code conforming to SENT, set the POLYSEL bit in the CRCMD register.
2. Bits 7 to 1 are always read as 0. The write value should always be 0.