EasyManuals Logo
Home>Renesas>Computer Hardware>RL78 Series

Renesas RL78 Series Application Note

Renesas RL78 Series
53 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #4 background imageLoading...
Page #4 background image
RL78 Family VDE Certified IEC60730/60335 Self Test Library
R01AN0749EG0201 Rev.2.01 Page 4 of 50
Mar 04, 2014
1. Self Test Libraries Introduction
The self test library (STL) provides self test functions covering the CPU registers, internal memory and system clock.
The library test harness provides an Application Programmers Interface (API) for each of the self test modules, which
are described in this applications note. These can be used in customer’s application wherever required.
For the purposes of VDE certification, the self test library functions are built as separate modules. The IAR Embedded
Workbench test harness allows each of the tests functions to be selected in turn and run as a stand alone function. In
order to minimise the affects of the optimisation in the C compiler and minimise resources used, all of the self test
library files have been written in assembler. The default build of the test harness C files has been built with the
optimisation set to “None” in the IAR Embedded workbench.
All of the STL modules and test harness files are MISRA-C compliant
The system hardware requirements include that at least two independent clock sources are available, e.g. Crystal /
ceramic oscillator and an independent oscillator or external input source. The requirement is needed to provide an
independent clock reference for monitoring the system clock. The RL78 is able to provide these using the High speed
and Low speed internal oscillators which are independent of each other.
Equally the application can provide a more accurate external reference clock or external crystal/resonators for the main
system clock can equally be used.
Figure 1 Self Test Library (STL) Configuration
The following CPU self test functions are included in the RL78 self test library.
CPU Registers
The following CPU registers tests are included in this library
All CPU working Registers in all four register banks, Stack Pointer (SP), Processor Status
word (PSW), Extension registers ES and CS.
Internal data path are verified as part of the correct operation of these register tests
IEC Reference - IEC 60730: 1999+A1:2003 Annex H - Table H.11.12.7
Invariable Memory
This tests the MCU internal Flash memory
IEC Reference - IEC 60730: 1999+A1:2003 Annex H - Table H.11.12.7
Variable Memory
This tests the Internal SRAM memory
IEC Reference - IEC 60730: 1999+A1:2003 Annex H - Table H.11.12.7
System Clock
Verifies the system clock operation and correct frequency against a reference clock source
IEC Reference - IEC 60730: 1999+A1:2003 Annex H - Table H.11.12.7
fin
Sub
Clock
HS
Oscillator
LS
Oscillator
Application
Software
STL
Call
Return
fin
Sub
Clock
HS
Oscillator
LS
Oscillator
Application
Software
STL
Call
Return

Other manuals for Renesas RL78 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RL78 Series and is the answer not in the manual?

Renesas RL78 Series Specifications

General IconGeneral
BrandRenesas
ModelRL78 Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals