upd78f0114m6gb-8es Renesas Electronics Corporation., upd78f0114m6gb-8es Datasheet - Page 515

no-image

upd78f0114m6gb-8es

Manufacturer Part Number
upd78f0114m6gb-8es
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
8-bit timer/
event
counters
50, 51
(TM50,
TM51)
8-bit
timers H0,
H1
(TMH0,
TMH1)
Function
CR5n: 8-bit
timer compare
register 5n
TCL50: Timer
clock selection
register 50
TCL51: Timer
clock selection
register 51
TMC5n: 8-bit
timer mode
control register
5n
Interval
timer/square
waveform
output
PWM output
Timer start error An error of up to one clock may occur in the time required for a match signal to be
CMP0n: 8-bit
timer H
compare
register 0n
CMP1n: 8-bit
timer H
compare
register 1n
Details of
Function
In the mode in which clear & start occurs on a match of TM5n and CR5n (TMC5n6
= 0), do not write other values to CR5n during operation.
In PWM mode, make the CR5n rewrite period 3 count clocks of the count clock
(clock selected by TCL5n) or more.
When the Ring-OSC clock is selected as the clock to be supplied to the CPU, the
clock of the Ring-OSC oscillator is divided and supplied as the count clock. If the
count clock is the Ring-OSC clock, the operation of 8-bit timer/event counter 50 is
not guaranteed.
When rewriting TCL50 to other data, stop the timer operation beforehand.
Be sure to clear bits 3 to 7 to 0.
When the Ring-OSC clock is selected as the clock to be supplied to the CPU, the
clock of the Ring-OSC oscillator is divided and supplied as the count clock. If the
count clock is the Ring-OSC clock, the operation of 8-bit timer/event counter 51 is
not guaranteed.
When rewriting TCL51 to other data, stop the timer operation beforehand.
Be sure to clear bits 3 to 7 to 0.
The settings of LVS5n and LVR5n are valid in other than PWM mode.
Perform <1> to <4> below in the following order, not at the same time.
<1> Set TMC5n1, TMC5n6: Operation mode setting
<2> Set TOE5n to enable output: Timer output enable
<3> Set LVS5n, LVR5n (see Caution 1): Timer F/F setting
<4> Set TCE5n
Stop operation before rewriting TMC5n6.
Do not write other values to CR5n during operation.
In PWM mode, make the CR5n rewrite period 3 count clocks of the count clock
(clock selected by TCL5n) or more.
When reading from CR5n between <1> and <2> in Figure 7-15, the value read
differs from the actual value (read value: M, actual value of CR5n: N).
generated after timer start. This is because 8-bit timer counters 50 and 51 (TM50,
TM51) are started asynchronously to the count clock.
CMP0n cannot be rewritten during timer count operation.
In the PWM output mode and carrier generator mode, be sure to set CMP1n when
starting the timer count operation (TMHEn = 1) after the timer count operation was
stopped (TMHEn = 0) (be sure to set again even if setting the same value to
CMP1n).
APPENDIX D LIST OF CAUTIONS
User’s Manual U16227EJ3V0UD
Cautions
p. 166
p. 166
p. 167
p. 167
p. 167
p. 168
p. 168
p. 168
p. 170
p. 170
p. 170
pp. 172,
175
p. 176
p. 179
p. 180
p. 184
p. 184
Page
(8/22)
515

Related parts for upd78f0114m6gb-8es