( 31 / 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
(20 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
• 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
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
select switch" of the
emulator to XCIN side. For how to set it, refer to "2.3 (2) P8
7
/X
CIN
Select Switch"
(page 20).
Summary of Contents for M30800T-CPE
Page 15: ...15 52 1 2 Declaration Concerning EMC Directive...
Page 16: ...16 52 MEMO...
Page 34: ...34 52 MEMO...
Page 46: ...46 52 MEMO...
Page 50: ...50 52 MEMO...
Page 52: ......