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 5 CLOCK GENERATOR<br />

5.4 Clock monitor (CLM)<br />

The clock monitor uses the low-speed on-chip oscillator to sample the main system clock (fMAIN) and PLL clock(fPLL). If<br />

oscillation of the main system clock stops, a reset request signal (RESFCLM) is generated. If the PLL clock stops, an<br />

interrupt request signal (INTCLM) is generated. Up to 4 clocks of fIL is necessary to detect stop of Main OSC/PLL. After<br />

detection, reset/interrupt request will immediately occurs.<br />

When CLM macro monitors PLL clock (fPLL) and PLL clock stops, clock through is selected (original clock to PLL<br />

input), but the FF/flag of SELPLL/SELPLLS itself is not cleared, so it is necessary to reset chip before select PLL clock<br />

again.<br />

Table 5-4: Clock Monitor Operation Conditions<br />

Condition Optionbyte Clock monitor operation<br />

fCLK=fSUB - Stop<br />

fIL Stop - Stop<br />

STOP mode - Stop<br />

During oscillation<br />

fCLK=fMP/2 stabilization after MCM0<br />

setting<br />

- Stop<br />

CLKMB=1 Stop<br />

N<br />

fIL Operation<br />

Other than above<br />

CLKMB=0 Operation<br />

As described in above table, fIL must be operated to activate CLM.<br />

fIL operation is controled by the combination of below factor.<br />

- WDSTBYON option byte<br />

- WDTON option byte<br />

- WUTMMCK0 bit<br />

- Chip status (RUN/HALT/STOP/SNOOZE)<br />

Please refer to the description of “Clock tree” for detail.<br />

R01UH0317EJ0004 Rev. 0.04 290<br />

Feb. 22, 2013

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

Saved successfully!

Ooh no, something went wrong!