The Setting Method Of A System Clock; Osc Setup (Internal Oscillation >>> External Oscillation); Table 1.7 Operating Frequency Examples Of High Speed And Middle Speed System Clocks - Toshiba TXZ+ TMPM4MNFYAFG Reference Manual

32-bit risc microcontroller, clock control and operation mode
Table of Contents

Advertisement

Table 1.7 Operating frequency examples of High speed and Middle speed system clocks

Note: The maximum frequency of Middle speed system clock is 80 MHz.

The setting method of a system clock

(1) f
setup (Internal oscillation >>> External oscillation)
OSC
As a f
setup, the example of switching procedure to the external high speed oscillator (EHOSC) from an
OSC
internal high speed oscillator 1 (IHOSC1) is shown below.
<< The state before switching >>
[CGOSCCR]<IHOSC1EN> =1
[CGOSCCR]<OSCSEL> =0
[CGOSCCR]<OSCF> =0
A resonator is connected to X1 / X2 pin.
<< The example of switching procedure >>
[PHPDN]<bit[1:0]> =00
1
[PHIE]<bit[1:0]> =00
[CGOSCCR]<EOSCEN[1:0]> =01
2
[CGWUPHCR]<WUCLK> =1
3
[CGWUPHCR]<WUPT[15:4]> = arbitrary
value
[CGWUPHCR]<WUON> =1
4
5
[CGWUPHCR]<WUEF> is read.
[CGOSCCR]<OSCSEL> =1
6
7
[CGOSCCR]<OSCF> is read
8
[CGOSCCR]<IHOSC1EN> =0
Middle speed system
High speed
system clock
fsysm (MHz)
fsysh (MHz)
1/1
160
-
80
80
An internal high speed oscillator1 oscillates.
The high speed oscillation selection for f
oscillator1 (IHOSC1).
The high speed oscillation selection status for f
speed oscillator1 (IHOSC1).
Do not connect any devices except a resonator.
Disable the pull-down resistors of X1 and X2 pins.
Disable input control of X1 and X2 pins.
It is an external high speed oscillator (EHOSC) about selection of an
external high speed oscillator of operation.
It is the external high speed oscillator (EHOSC) about high speed
oscillation warming-up clock selection.
A warming-up timer is set to oscillator stable time.
High speed oscillation warming-up is started.
It waits until it becomes the termination of high speed oscillation
warming-up (= 0).
It is high speed oscillation selection for f
oscillator (EHOSC).
It waits until the high speed oscillation selection status for f
external high speed oscillator (=1).
An internal high speed oscillator1 is suspended.
19 / 64
Clock Control and Operation Mode
clock
1/2
1/4
80
40
40
20
is an internal high speed
OSC
to the external high speed
OSC
TXZ+ Family
TMPM4M Group(1)
is an internal high
OSC
becomes
OSC
2022-06-24
Rev. 1.1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cg-m4m(1)-e

Table of Contents