upd78f0124hgba1-8et-a Renesas Electronics Corporation., upd78f0124hgba1-8et-a Datasheet - Page 485

no-image

upd78f0124hgba1-8et-a

Manufacturer Part Number
upd78f0124hgba1-8et-a
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
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
TMHMD0: 8-bit
timer H mode
register 0
TMHMD1: 8-bit
timer H mode
register 1
Details of
Function
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 interval 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).
When the internal oscillation clock is selected as the clock to be supplied to the
CPU, the clock of the internal oscillator is divided and supplied as the count clock.
If the count clock is the internal oscillation clock, the operation of 8-bit timer H0 is
not guaranteed.
When TMHE0 = 1, setting the other bits of the TMHMD0 register is prohibited.
In the PWM output mode, be sure to set 8-bit timer H compare register 10
(CMP10) when starting the timer count operation (TMHE0 = 1) after the timer
count operation was stopped (TMHE0 = 0) (be sure to set again even if setting the
same value to CMP10).
When the internal oscillation clock is selected as the clock to be supplied to the
CPU, the clock of the internal oscillator is divided and supplied as the count clock.
If the count clock is the internal oscillation clock, the operation of 8-bit timer H1 is
not guaranteed (except when CKS12, CKS11, CKS10 = 1, 0, 1 (f
When TMHE1 = 1, setting the other bits of the TMHMD1 register is prohibited.
In the PWM output mode and carrier generator mode, be sure to set 8-bit timer H
compare register 11 (CMP11) when starting the timer count operation (TMHE1 =
1) after the timer count operation was stopped (TMHE1 = 0) (be sure to set again
even if setting the same value to CMP11).
When the carrier generator mode is used, set so that the count clock frequency of
TMH1 becomes more than 6 times the count clock frequency of TM51.
APPENDIX D LIST OF CAUTIONS
User’s Manual U16962EJ3V0UD
Cautions
R
/2
7
)).
p. 167
p. 167
p. 167
pp. 169,
172
p. 173
p. 176
p. 177
p. 181
p. 181
p. 184
p. 184
p. 184
p. 186
p. 186
p. 186
p. 186
Page
(9/23)
485

Related parts for upd78f0124hgba1-8et-a