NEC UPD703116 User Manual page 264

32-bit single-chip microcontrollers
Table of Contents

Advertisement

(a) When BFCMnx ≥ CM0n3 is set in software processing started by INTCM0n3
Figure 9-22. Operation Timing in PWM Mode 1 (Asymmetric Triangular Wave, BFCMnx ≥ CM0n3)
count value
Interrupt request
Positive phase
(TO0n0, TO0n2, TO0n4)
Negative phase
(TO0n1, TO0n3, TO0n5)
Remarks 1. n = 0, 1
2. x = 0 to 2
3. c ≥ CM0n3
4. t: Dead time = (DTRRn + 1)/f
5. The above figure shows an active high case.
When a value greater than CM0n3 is set to BFCMnx, the positive phase side (TO0n0, TO0n2, TO0n4
pins) outputs a low level, and the negative phase side (TO0n1, TO0n3, TO0n5 pins) continues to output
a high level. This feature is effective for outputting a low-level or high-level width exceeding the PWM
cycle in an application such as inverter control. Furthermore, if CM0nx = CM0n3 is set, matching of TM0n
and CM0nx is detected during down counting by TM0n, so that the F/F remains reset as is, and does not
get set.
The above explanation applies to an active high case. In an active low case, the levels of positive and
negative phases are merely inverted and other operations remain the same.
264
CHAPTER 9 TIMER/COUNTER FUNCTION
CM0n3
a
TM0n
0000H
CM0nx
match
BFCMnx
a
b
a
CM0nx
INTCM0n3
F/F
DTMnx
t
(f
CLK
CLK
User's Manual U14492EJ5V0UD
CM0n3
b
CM0nx
match
c
c
b
c
INTTM0n
INTCM0n3
t
: Base clock)
c
c
c
INTTM0n

Advertisement

Table of Contents
loading

Table of Contents