English
Language : 

H8SX1520R Datasheet, PDF (344/826 Pages) Renesas Technology Corp – 32-Bit CISC Microcomputer H8SX Family H8SX/1500 Series
Section 9 16-Bit Timer Pulse Unit (TPU)
(2) Example of Synchronous Operation
Figure 9.12 shows an example of synchronous operation.
In this example, synchronous operation and PWM mode 1 have been designated for channels 0 to
2, TGRB_0 compare match has been set as the channel 0 counter clearing source, and
synchronous clearing has been set for the channel 1 and 2 counter clearing source.
Three-phase PWM waveforms are output from pins TIOCA0, TIOCA1, and TIOCA2. At this
time, synchronous presetting and synchronous clearing by TGRB_0 compare match are performed
for channel 0 to 2 TCNT counters, and the data set in TGRB_0 is used as the PWM cycle.
For details on PWM modes, see section 9.4.5, PWM Modes.
TCNT_0 to TCNT_2 values
TGRB_0
TGRB_1
TGRA_0
TGRB_2
TGRA_1
TGRA_2
H'0000
Synchronous clearing by TGRB_0 compare match
TIOCA_0
TIOCA_1
TIOCA_2
Figure 9.12 Example of Synchronous Operation
Time
Rev. 1.00 Mar. 06, 2006 Page 306 of 784
REJ09B0282-0100