Warming-Up Function; The Warming-Up Timer For A High Speed Oscillation - Toshiba TXZ+ TMPM4MNFYAFG Reference Manual

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

Advertisement

1.2.4. Warming-up function

A warming-up function starts the warming-up timer for high speed oscillator automatically to secure the
oscillation stable time when the STOP1 mode is released.
It is also available as a count-up timer which uses the warming-up timer for high speed oscillator to secure the
stability of an external oscillator or an internal oscillator.
This chapter explains the setting method to the register for warming-up timers, and the case where it is used as a
count-up timer. The detailed explanation at the time of STOP1 mode release, refer to "1.3.3.2. Warming-up at the
release of Low Power Consumption mode".

The warming-up timer for a high speed oscillation

A 16-bit up timer is built in as a warming-up timer only for a high speed oscillation. Also when setting it before
changes to the STOP1 mode, calculate with the following formula and set [CGWUPHCR]<WUPT[15:4]> to the
upper 12 bits of the result. Lower 4bits are ignored.
<Formula>
(Using external high speed oscillator)
Warming-up timer setting value (16 bits)
= (warming-up time (s) / clock period (s)) - 16
(Example) When 5 ms of warming-up time is set up with 10 MHz (100 ns of clock periods) of oscillators
Warming-up timer setting value (16 bits)
Since upper 12 bits are used, set the register as follows.
[CGWUPHCR]<WUPT[15:4]> = 0xC34
(Using internal high speed oscillator 1)
-
timer
Warming
up
= ((warming
(Example) When 163.4 µs of warming
Warming
Since upper 12 bits are used, set the register as follows.
[CGWUPHCR]<WUPT[15:4]> = 0x03C
In the case of 10 MHz, the setting range is 0x03C ≤ <WUPT[15:4]> ≤ 0xFFF, warming
163.4 μs to 6.6194 ms.
setting value (16 bits)
up time (s) – 63.3(µs) / clock period (s)) - 41
-
-
up time is set up with 10 MHz (100 ns of clock periods) of oscillators
-
timer setting
up
value (16 bits)
Clock Control and Operation Mode
= (5ms / 100ns) - 16
= 50000 - 16
= 49984
= 0xC340
= ((163.4µs – 63.3µs) / 100ns) - 41
= (100.1µs / 100ns) - 41
= 960
= 0x03C0
13 / 64
TXZ+ Family
TMPM4M Group(1)
-
up time is set to the value from
2022-06-24
Rev. 1.1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cg-m4m(1)-e

Table of Contents