RL78/F13, F14 CHAPTER 27 SAFETY FUNCTIONS
R01UH0368EJ0210 Rev.2.10 1579
Dec 10, 2015
CHAPTER 27 SAFETY FUNCTIONS
27.1 Overview of Safety Functions
The following safety functions are provided in the RL78/F13 and RL78/F14 to comply with the IEC60730 and IEC61508
safety standards.
These functions enable the microcontroller to self-diagnose abnormalities and stop operating if an abnormality is detected.
(1) Flash memory CRC operation function (high-speed CRC, general-purpose CRC)
This detects data errors in the flash memory by performing CRC operations.
Two CRC functions are provided in the RL78/F13 and RL78/F14 that can be used according to the application or
purpose of use.
ï‚· High-speed CRC: The CPU can be stopped and a high-speed check executed on its entire code flash memory
area during the initialization routine.
ï‚· General CRC: This can be used for checking various data in addition to the code flash memory area while the
CPU is running.
(2) RAM-ECC function
2-bit error detection and 1- bit error correction are available.
(3) CPU stack pointer monitor function
This detects underflows and overflows of the stack pointer.
(4) Clock monitoring function
The system clock (f
MAIN) and main/PLL select clock (fMP) are monitored to detect oscillation stopping.
(5) RAM guard function
This prevents RAM data from being rewritten when the CPU freezes.
(6) SFR guard function
This prevents SFRs from being rewritten when the CPU freezes.
(7) Invalid memory access detection function
This detects illegal accesses to invalid memory areas (such as areas where no memory is allocated and areas to
which access is restricted).
(8) Frequency detection function
This uses TAU to detect the oscillation frequency.
(9) A/D test function
This is used to perform a self-check of A/D conversion by performing A/D conversion on the internal reference voltage.