Product Info

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 644 of 1852
Nov 30, 2020
RX23W Group 23. Multi-Function Timer Pulse Unit 2 (MTU2a)
(28) Operation When Error Occurs in Reset-Synchronized PWM Mode and Operation is Restarted
in Complementary PWM Mode
Figure 23.143 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 23.143 Error Occurrence in Reset-Synchronized PWM Mode, Recovery in Complementary PWM Mode
(1) to (10) are the same as in Figure 23.141.
(11) Disable output in MTU3 and MTU4 with the TOER register.
(12) Select the complementary PWM mode output level and enable or disable cyclic output with the TOCR register.
(13) Set complementary PWM mode (MTU cyclic output pin goes low).
(14) Enable output in MTU3 and MTU4 with the TOER register.
(15) Use the MPC and the port mode register (PMR) for the I/O port to set up MTU output.
(16) Restart operation by setting the TSTR register.
(1)
Reset
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)
Hi-Z
Hi-Z
Hi-Z