R01UH0823EJ0100 Rev.1.00
Page 631 of 1823
Jul 31, 2019
RX23W Group
23. Multi-Function Timer Pulse Unit 2 (MTU2a)
(23) Operation When Error Occurs in Complementary PWM Mode and Operation is Restarted in
Complementary PWM Mode
shows a case in which an error occurs in complementary PWM mode and operation is restarted in
complementary PWM mode after re-setting (when operation is restarted using the cycle and duty settings at the time of
stopping the counter).
Figure 23.138
Error Occurrence in Complementary PWM Mode, Recovery in Complementary PWM Mode
(1) to (10) are the same as in
(11) Use the MPC and the port mode register (PMR) for the I/O port to set up MTU output.
(12) Restart operation by setting the TSTR register.
(13) The complementary PWM waveform is output on compare match occurrence.
(1)
Reset
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)
(12)
TSTR
(1)
(13)
Match
MTIOC3A
MTIOC3B
MTIOC3D
PORT output
Pxx
Pxx
Pxx
(5)
MPC
(MTU)
(11)
MPC
(MTU)
Hi-Z
Hi-Z
Hi-Z