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

no-image

upd78f0114m6gb-8es

Manufacturer Part Number
upd78f0114m6gb-8es
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
516
8-bit
timers H0,
H1
(TMH0,
TMH1)
Function
TMHMD0: 8-bit
timer H mode
register 0
TMHMD1: 8-bit
timer H mode
register 1
PWM output
Carrier
generator mode
(TMH1 only)
Details of
Function
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 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 the CMP10 register).
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 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 the CMP11 register).
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.
In PWM output mode, three operation clocks (signal selected using the CKSn2 to
CKSn0 bits of the TMHMDn register) are required to transfer the CMP1n register
value after rewriting the register.
Be sure to set the CMP1n register 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 the CMP1n register).
Make sure that the CMP1n register setting value (M) and CMP0n register setting
value (N) are within the following range.
00H ≤ CMP1n (M) < CMP0n (N) ≤ FFH
Do not rewrite the NRZB1 bit again until at least the second clock after it has been
rewritten, or else the transfer from the NRZB1 bit to the NRZ1 bit is not
guaranteed.
When 8-bit timer/event counter 51 is used in the carrier generator mode, an
interrupt is generated at the timing of <1>. When 8-bit timer/event counter 51 is
used in a mode other than the carrier generator mode, the timing of the interrupt
generation differs.
Be sure to set the CMP11 register 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 the CMP11 register).
Set so that the count clock frequency of TMH1 becomes more than 6 times the
count clock frequency of TM51.
Set the values of the CMP01 and CMP11 registers in a range of 01H to FFH.
In the carrier generator mode, three operating clocks (signal selected by CKS12
to CKS10 bits of TMHMD1 register) or more are required from when the CMP11
register value is changed to when the value is transferred to the register.
Be sure to set the RMC1 bit before the count operation is started.
APPENDIX D LIST OF CAUTIONS
User’s Manual U16227EJ3V0UD
Cautions
R
/2
7
)).
p. 187
p. 187
p. 187
p. 188
p. 188
p. 188
p. 188
p. 194
p. 194
p. 195
p. 200
p. 200
p. 202
p. 202
p. 202
p. 202
p. 202
Page
(9/22)

Related parts for upd78f0114m6gb-8es