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

32-bit risc microcontroller
Hide thumbs Also See for TXZ+ TMPM3H:
Table of Contents

Advertisement

1.2.4. Warming up function

A warming up function is used to secure the oscillation stable time at the time of the STOP1 mode release which
starts the warming up timer for high speed oscillation automatically.
It is available also as a count up timer which uses the exclusive warming up timer of high speed clock /each low
speed clock for the waiting for 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".

1.2.4.1. The warming up timer for a high speed oscillation

A 16-bit up counter is built in as a warming up timer only for a high speed oscillation. Also when setting before
changing to the STOP1 mode, the setting value is calculated in the following formula, set
[CGWUPHCR]<WUPT[15:4]> to the upper 12 bits of the setting value. Lower 4 bits are ignored.
<Formula>
(Using EHOSC)
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 10MHz (100ns of clock periods) of oscillators
Warming up timer setting value (16 bits)
Since upper 12 bits are set to a register, they are set as follows.
[CGWUPHCR]<WUPT[15:4]> = 0xC34
(Using IHOSC1)
Warming up timer setting value (16 bits)
= - ((warming up time (s) -63.3 (μs)) / clock period (s)) -41
(Example) When 163.4μs of warming up time is set up with 10MHz (100ns of clock periods) of oscillators
Warming up timer setting value (16 bits)
Since upper 12 bits are set to register, they are set as follows.
[CGWUPHCR]<WUPT[15:4]> = 0x03C
In the case of 10MHz, the setting range is 0x03C ≤ <WUPT[15:4]> ≤ 0xFFF, the warming up time is set from
163.4μs to 6.6194ms.
Clock Control and Operation Mode
= (5ms / 100ns) - 16
= 50000 - 16
= 49984
= 0xC340
= ((163.4-63.3) / 100ns) - 41
= (100.1μs / 100ns) - 41
= 960
= 0x03C0
13 / 71
TXZ+ Family
TMPM3H Group(2)
2023-04-28
Rev. 1.0

Advertisement

Table of Contents
loading

Table of Contents