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

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

Advertisement

1.2.4.2. The warming up timer for a low speed oscillation

A 19-bit up-timer is built in as a warming up timer only for a low speed oscillation. The setting value is calculated
in the following formula, set [CGWUPLCR]<WUPT[18:4]> to the upper 15 bits of the setting value. Lower 4 bits
are ignored. 16 is subtracted in order to perform the count for 4 bits of low ranks, even when a set point is "0".
<Formula>
Warming up timer setting value (19 bits)
= (warming up time (s) / clock period (s)) - 16
(Example) When 50ms of warming up time is set up with 32kHz (clock period 31.25μs) of oscillators
Warming up timer setting value (19 bits)
Since upper 15 bits are set to a register, they are set as follows.
[CGWUPLCR]<WUPTL[18:4]> = 0x0063
In the case of 32kHz, the setting range is 0 ≤ <WUPTL[18:4]> ≤ 0x7FFF, the warming up time is set from 500μs
to 16.384s.

1.2.4.3. The directions for warming up timer

The directions for a warming up function are explained.
(1) Selection of a clock
In a high speed oscillation, the clock classification (internal oscillation/external oscillation) counted with a
warming up timer is selected by [CGWUPHCR]<WUCLK>.
(2) Calculation of warming up timer setting value
The warming up time can set any value to the timer for a high speed oscillation/for a low speed oscillation.
Please compute and set up from each formula.
(3) The start of warming up, and termination confirmation
When software (instruction) performs to start warming up and to confirms termination of warming up, a
warming up timer starts by setting [CGWUPHCR]<WUON> (or [CGWUPLCR] <WULON>) to "1".
Termination is confirmed with [CGWUPHCR]<WUEF> (or [CGWUPLCR]<WULEF>) that becomes from
"1" to "0". "1" indicates under warming up and "0" indicates termination. After a counting end, a timer is
reset and returns to an initial state.
It is not forced to terminate, although "0" is written to [CGWUPHCR]<WUON> (or [CGWUPLCR]
<WULON>) during timer operation. Writing "0" is ignored.
Note: Since it is operating with the oscillating clock, a warming up timer includes an error, when Oscillation
frequency has fluctuation. Therefore, it should be taken as an approximate time.
Clock Control and Operation Mode
= (50ms / 31.25μs) - 16
= 1600 - 16
= 1584
= 0x00630
14 / 71
TXZ+ Family
TMPM3H Group(2)
2023-04-28
Rev. 1.0

Advertisement

Table of Contents
loading

Table of Contents