( 31 / 56 )
3.3 Selecting a Clock Supplied to an MCU
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
(16 MHz)
Target system
Internal oscillator circuit of emulator
(32.768 kHz)
Target system
Internal
External
External
Internal
Yes
-
Yes
-
(1) How to Select a Clock Supplied to an MCU
Change a 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 the Init dialog box
Select main clock supply
Select sub-clock supply
(2) Selecting by CLK command
Examples of CLK command input by the script window is shown below.
Example 1) When X
IN
-X
OUT
(main clock) is supplied internally and X
CIN
-X
COUT
(sub-clock) is
supplied externally:
CLK INT, EXT
Example 2) When X
IN
-X
OUT
(main clock) is supplied externally and X
CIN
-X
COUT
(sub-clock)
is supplied internally:
CLK EXT, INT
IMPORTANT
Note on Changing the Clock Supply:
• For using pins X
CIN
-X
COUT
, it is necessary to set the function selection switch (SW1)
of the emulator to XCIN side. For details, refer to "2.3 (2) Function Selection
Switches" (page 21).
Содержание M306K9T2-CPE
Страница 14: ...14 56 MEMO...
Страница 28: ...28 56 MEMO...
Страница 36: ...36 56 MEMO...
Страница 42: ...42 56 MEMO...
Страница 54: ...54 56 MEMO...
Страница 56: ......