Datasheet

Table Of Contents
Section 14 16-Bit Timer Pulse Unit (TPU)
Rev. 2.00 Jul. 04, 2007 Page 303 of 692
REJ09B0309-0200
Figure 14.19 shows an example of PWM mode 2 operation. In this example, synchronous
operation is designated for channels 1 and 2, TGRB_2 compare match is set as the TCNT clearing
source, and 0 is set for the initial output value and 1 for the output value of the other TGR registers
(TGRA_1, TGRB_1, and TGRA_2), outputting a 3-phase PWM waveform.
In this case, the value set in TGRB_2 is used as the cycle, and the values set in the other TGRs are
used as the duty levels.
TCNT_1 and TCNT_2
Synchronous clearing by
TGRB_2 compare match
Time
H'0000
TIOCA1
TGRA_1
TGRB_1
TGRA_2
TGRB_2
TIOCB1
TIOCA2
Figure 14.19 Example of PWM Mode Operation (2)
Figure 14.20 shows examples of PWM waveform output with 0% duty and 100% duty in PWM
mode.