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