04.03.2013 Views

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Under development<br />

Preliminary document<br />

Specifications in this document are tentative and subject to change.<br />

<strong>RL78</strong>/<strong>D1A</strong> CHAPTER 25 SAFETY FUNCTIONS<br />

25.3.7 Frequency detection function<br />

The IEC60730 standard mandates checking that the oscillation frequency is correct.<br />

The frequency detection function can detect whether the clock is operating on an abnormal frequency by comparing the<br />

high-speed on-chip oscillator clock or external X1 oscillation clock with the low-speed on-chip oscillator clock (15 kHz).<br />

X1<br />

X2<br />

TI05<br />

Figure 25-13. Configuration of Frequency Detection Function<br />

High-speed on-chip<br />

oscillator (f IH)<br />

X1 oscillator<br />

(f MX)<br />

Low-speed on-chip<br />

oscillator<br />

(15 kHz)<br />

f IL<br />

Watchdog timer<br />

(WDT)<br />

Timer array unit 0<br />

(TAU0)<br />

<br />

Whether the clock frequency is correct or not can be judged by measuring the pulse width under the following<br />

conditions:<br />

● The high-speed on-chip oscillator clock (fIH) or the external X1 oscillation clock (fMX) is selected as the<br />

CPU/peripheral hardware clock (fCLK).<br />

● The low-speed on-chip oscillator clock (fIL:15kHz) is selected as the timer input for channel 5 of timer array unit 0<br />

(TAU0).<br />

If pulse width measurement results in an abnormal value, it can be concluded that the clock frequency is abnormal.<br />

For how to execute pulse width measurement, see 6.7.4 Operation as input pulse interval measurement.<br />

R01UH0317EJ0004 Rev. 0.04 1147<br />

Feb. 22, 2013<br />

Selector Selector<br />

fCLK

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!