Renesas rl78 User Manual

Page of 1004
 
RL78/G1A 
CHAPTER  22   SAFETY  FUNCTIONS 
CHAPTER  22   SAFETY  FUNCTIONS 
 
 
22.1  Overview of Safety Functions 
 
The following safety functions are provided in the RL78/G1A 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/G1A 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 parity error detection function 
This detects parity errors when reading RAM data. 
 
(3)  RAM guard function 
This prevents RAM data from being rewritten when the CPU freezes. 
 
(4)  SFR guard function 
This prevents SFRs from being rewritten when the CPU freezes. 
 
(5)  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). 
 
(6)  Frequency detection function 
<R> 
This function allows a self-check of the CPU/peripheral hardware clock frequencies using the timer array unit. 
 
(7)  A/D test function 
This is used to perform a self-check of the A/D converter by performing A/D conversion of the A/D converter’s 
positive and negative reference voltages, analog input channel (ANI), temperature sensor output voltage, and 
internal reference voltage. 
 
Remark   For usage examples of the safety functions complying with the IEC60730 safety standards, refer to the 
RL78 MCU series IEC60730/60335 application notes (R01AN1062, R01AN1296). 
 
R01UH0305EJ0200  Rev.2.00 
 
 
772  
Jul 04, 2013