Selecting A Clock Supplied To An Mcu; How To Select A Clock Supplied To An Mcu - Renesas M306K9T2-CPE User Manual

Compact emulator with real-time trace functions for m306k9
Table of Contents

Advertisement

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

(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.
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 pins X
of the emulator to XCIN side. For details, refer to "2.3 (2) Function Selection
Switches" (page 21).
(1) Selecting by the Init dialog box
(2) Selecting by CLK command
Examples of CLK command input by the script window is shown below.
Example 1) When X
supplied externally:
CLK INT, EXT
Example 2) When X
is supplied internally:
CLK EXT, INT
(16 MHz)
IMPORTANT
-X
, it is necessary to set the function selection switch (SW1)
CIN
COUT
-X
(main clock) is supplied internally and X
IN
OUT
-X
(main clock) is supplied externally and X
IN
OUT
( 31 / 56 )
Display of emulator debugger Default setting
Internal
External
Internal
External
Select main clock supply
Select sub-clock supply
CIN
CIN
Yes
-
-
Yes
-X
(sub-clock) is
COUT
-X
(sub-clock)
COUT

Advertisement

Table of Contents
loading

Table of Contents