beautypg.com

5 selecting clock supply, 1) selecting clock supply, Important – Renesas Compact Emulator M30620T-CPE User Manual

Page 29

background image

( 29 / 52 )

3.5 Selecting Clock Supply

There are two ways to supply a clock to the MCU, using the oscillator circuit of the emulator or using
the oscillator circuit on the target system. Table 3.1 lists the factory-settings of each clock supply.

Table 3.1 Clock supply to the MCU

Clock

Description

Display of emulator debugger

Default setting

X

IN

-X

OUT

(main clock)

X

CIN

-X

COUT

(sub-clock)

Internal oscillator circuit of emulator

(10 MHz)

Target System

Internal oscillator circuit of emulator

(32.768 kHz)

Target System

Internal

External

External

Internal

Yes

-

Yes

-

(1) Selecting Clock Supply

To select the clock supply, change the clock by the Clock tab of the Init dialog box when starting up
the emulator debugger or the CLK command input on the Script Window. For details, refer to user's
manual of the emulator debugger.

(1) Selecting by Init dialog box

• Select main clock supply

• Select sub-clock supply

(2) Selecting by CLK command

An example of CLK command input by the script window is shown below.

example 1) When X

IN

-X

OUT

(main clock) is supplied from internal (INT) and X

CIN

-X

COUT

(sub-clock) is supplied from external (EXT)

CLK INT, EXT

example 2) When X

IN

-X

OUT

(main clock) is supplied from external (EXT) and X

CIN

-X

COUT

(sub-clock) is supplied from internal (INT)

CLK EXT, INT

IMPORTANT

Note on Changing the Clock Supply:

• For using X

CIN

-X

COUT

pins, it is necessary to set "P8

7

/X

CIN

selection switch" of the

emulator to X

CIN

side. For how to set it, refer to "2.3 (2) P8

7

/X

CIN

selection switch"

(page 20).