R01UH0822EJ0100 Rev.1.00
Page 522 of 1041
Jul 31, 2019
RX13T Group
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
(25) Operation When Error Occurs in Complementary PWM Mode and Operation is Restarted in
Reset-Synchronized PWM Mode
shows a case in which an error occurs in complementary PWM mode and operation is restarted in reset-
synchronized PWM mode after re-setting.
Figure 19.167
Error Occurrence in Complementary PWM Mode, Recovery in Reset-Synchronized PWM Mode
(1) to (10) are the same as in
(11) Set normal mode (MTU output goes low).
(12) Disable output in MTU3 and MTU4 with the TOERA register.
(13) Select the reset-synchronized PWM output level and enable or disable cyclic output with registers TOCR1A and
TOCR2A.
(14) Set reset-synchronized PWM mode.
(15) Enable output in MTU3 and MTU4 with the TOERA register.
(16) Set MTU output using the MPC and port mode registers (PMR) corresponding to the I/O ports.
(17) Restart operation by setting the TSTRA register.
(1)
Reset
Hi-Z
Hi-Z
Hi-Z
MTU module output
(2)
TOCR
(3)
TMDR
(CPWM)
(4)
TOER
(1)
(6)
TSTR
(1)
(7)
Match
(8)
Error
occurs
(9)
Port
output
(10)
TSTR
(0)
(11)
TMDR
(normal)
(12)
TOER
(0)
(13)
TOCR
(14)
TMDR
(RPWM)
(15)
TOER
(1)
(17)
TSTR
(1)
MTIOC3A
MTIOC3B
MTIOC3D
PORT output
Pxx
Pxx
Pxx
(5)
MPC
(MTU)
(16)
MPC
(MTU)