Selecting Clock Supply - Renesas M30800T-CPE User Manual

Table of Contents

Advertisement

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
X
(main clock)
X
(sub-clock)
Note on Changing the Clock Supply:

(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.
Clock
Description
Internal oscillator circuit of emulator
-X
IN
OUT
Target System
Internal oscillator circuit of emulator
(32.768 kHz)
-X
CIN
COUT
Target System
• For using X
emulator to XCIN side. For how to set it, refer to "2.3 (2) P8
(page 20).
(1) Selecting by Init dialog box
• Main clock
• Sub-clock
(2) Selecting by CLK command
An example of CLK command input by the Script window is shown below.
example 1 When X
(sub-clock) is supplied from external (EXT):
CLK INT, EXT
example 2 When X
(sub-clock) is supplied from internal (INT):
CLK EXT, INT
(20 MHz)
IMPORTANT
-X
pins, it is necessary to set "P8
CIN
COUT
-X
(main clock) is supplied from internal (INT) and X
IN
OUT
-X
(main clock) is supplied from external (EXT) and X
IN
OUT
( 31 / 52 )
Display of emulator debugger Default setting
Internal
External
Internal
External
/X
select switch" of the
7
CIN
7
Yes
-
-
Yes
/X
Select Switch"
CIN
-X
CIN
COUT
-X
CIN
COUT

Advertisement

Table of Contents
loading

Table of Contents