Renesas RX100 Series User Manual page 523

32-bit mcu
Hide thumbs Also See for RX100 Series:
Table of Contents

Advertisement

RX13T Group
(26) Operation When Error Occurs in Reset-Synchronized PWM Mode and Operation is Restarted
in Normal Mode
Figure 19.168 shows a case in which an error occurs in reset-synchronized PWM mode and operation is restarted in
normal mode after re-setting.
MTU module output
MTIOC3A
MTIOC3B
MTIOC3D
PORT output
Pxx
Pxx
Pxx
Figure 19.168
Error Occurrence in Reset-Synchronized PWM Mode, Recovery in Normal Mode
(1) After a reset, the MTU output goes low and the ports enter high-impedance state.
(2) Select the reset-synchronized PWM output level and enable or disable cyclic output with registers TOCR1A and
TOCR2A.
(3) Set reset-synchronized PWM mode.
(4) Enable output in MTU3 and MTU4 with the TOERA register.
(5) Set MTU output using the MPC and port mode registers (PMR) corresponding to the I/O ports.
(6) Start count operation by setting the TSTRA register.
(7) The reset-synchronized PWM waveform is output on compare match occurrence.
(8) An error occurs.
(9) Allow non-active level output by setting the pins as general output ports using the port direction registers (PDR),
port output data registers (PODR), and port mode registers (PMR) of the I/O ports.
(10) Stop count operation by setting the TSTRA register. (MTU output becomes the initial reset-synchronized PWM
output value.)
(11) Set normal mode (positive-phase MTU output goes low, and negative-phase output goes high).
(12) Initialize the pins with the TIOR register.
(13) Set MTU output using the MPC and port mode registers (PMR) corresponding to the I/O ports.
(14) Restart operation by setting the TSTRA register.
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
(5)
(1)
(2)
(3)
(4)
MPC
Reset
TOCR
TMDR
TOER
TSTR
(MTU)
(RPWM)
(1)
Hi-Z
Hi-Z
Hi-Z
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
(6)
(7)
(8)
(9)
(10)
(11)
Match
Error
Port
TSTR
TMDR
(1)
occurs
output
(0)
(normal)
(12)
(14)
(13)
TIOR
MPC
TSTR
(1 init
(MTU)
(1)
0 out)
Page 523 of 1041

Advertisement

Table of Contents
loading

Table of Contents