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 />

Table 5-5. CPU Clock Transition and SFR Register Setting Examples (3/6)<br />

(4) CPU clock changing from high-speed on-chip oscillator clock (B) to high-speed system clock (C)<br />

(Setting sequence of SFR registers)<br />

Status Transition<br />

(B) (C)<br />

Setting Flag of SFR Register<br />

(X1 clock: 1 MHz fX 10 MHz)<br />

(B) (C)<br />

(X1 clock: 10 MHz < fX 20 MHz)<br />

(B) (C)<br />

(external main clock)<br />

CMC Register Note 1 OSTS CSC<br />

EXCLK OSCSEL AMPH<br />

Register<br />

Register<br />

MSTOP<br />

OSTC Register<br />

CKC<br />

Register<br />

R01UH0317EJ0004 Rev. 0.04 305<br />

Feb. 22, 2013<br />

MCM0<br />

0 1 0 Note 2 0 Must be checked 1<br />

0 1 1 Note 2 0 Must be checked 1<br />

1 1 Note 2 0 Must not be checked 1<br />

Unnecessary if these registers<br />

are already set<br />

Unnecessary if the CPU is operating with<br />

the high-speed system clock<br />

Notes 1. The clock operation mode control register (CMC) can be changed only once after reset release. This<br />

setting is not necessary if it has already been set.<br />

2. Set the oscillation stabilization time as follows.<br />

Desired the oscillation stabilization time counter status register (OSTC) oscillation stabilization time <br />

Oscillation stabilization time set by the oscillation stabilization time select register (OSTS)<br />

Caution Set the clock after the supply voltage has reached the operable voltage of the clock to be set (see<br />

CHAPTER 32 ELECTRICAL SPECIFICATIONS (J GRADE PRODUCT) (TARGET) and CHAPTER 33<br />

ELECTRICAL SPECIFICATIONS (L GRADE PRODUCT) (TARGET).<br />

(5) CPU clock changing from high-speed on-chip oscillator clock (B) to subsystem clock (D)<br />

Status Transition<br />

(B) (D)<br />

(XT1 clock)<br />

(Setting sequence of SFR registers)<br />

Setting Flag of SFR Register<br />

CMC<br />

Register Note<br />

CSC Register Waiting for CKC Register<br />

Oscillation<br />

OSCSELS XTSTOP<br />

Stabilization<br />

CSS<br />

1 0 Necessary 1<br />

Note The clock operation mode control register (CMC) can be written only once by an 8-bit memory manipulation<br />

instruction after reset release.<br />

Remark (A) to (J) in Table 5-5 correspond to (A) to (J) in Figure 5-20.<br />

Unnecessary if the CPU is operating<br />

with the subsystem clock

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

Saved successfully!

Ooh no, something went wrong!