Renesas RX100 Series User Manual page 517

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

Advertisement

RX13T Group
(19) Operation When Error Occurs in Phase Counting Mode and Operation is Restarted in PWM
Mode 2
Figure 19.161 shows a case in which an error occurs in phase counting mode and operation is restarted in PWM mode 2
after re-setting.
MTU module output
MTIOCnA
MTIOCnB
PORT output
Pxx
Pxx
Figure 19.161
Error Occurrence in Phase Counting Mode, Recovery in PWM Mode 2
(1) to (9) are the same as in Figure 19.159 .
(10) Set PWM mode 2.
(11) Initialize the pins with the TIOR register. (In PWM mode 2, a waveform is not output to the pin that corresponds to
the TGR register used as a period register. To output a specified level, make necessary settings for general output
ports in the port direction registers (PDR) and port output data registers (PODR) of the I/O ports.)
(12) Set MTU output using the MPC and port mode registers (PMR) corresponding to the I/O ports.
(13) Restart operation by setting the TSTRA register.
(20) Operation When Error Occurs in Phase Counting Mode and Operation is Restarted in Phase
Counting Mode
Figure 19.162 shows a case in which an error occurs in phase counting mode and operation is restarted in phase
counting mode after re-setting.
MTU module output
MTIOCnA
MTIOCnB
PORT output
Pxx
Pxx
Figure 19.162
Error Occurrence in Phase Counting Mode, Recovery in Phase Counting Mode
(1) to (9) are the same as in Figure 19.159 .
(10) This step is not necessary when restarting in phase counting mode.
(11) Initialize the pins with the TIOR register.
(12) Set MTU output using the MPC and port mode registers (PMR) corresponding to the I/O ports.
(13) Restart operation by setting the TSTRA register.
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
(1)
(2)
(3)
(4)
(5)
Reset
TMDR
TIOR
MPC
TSTR
Match
(PCM)
(1 init
(MTU)
(1)
0 out)
Hi-Z
Hi-Z
(1)
(2)
(3)
(4)
(5)
Reset
TMDR
TIOR
MPC
TSTR
Match
(PCM)
(1 init
(MTU)
(1)
0 out)
Hi-Z
Hi-Z
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
(6)
(8)
(9)
(9)
(10)
(11)
Error
Port
TSTR
TMDR
TIOR
occurs
output
(0)
(PWM2)
(1 init
0 out)
(6)
(8)
(9)
(9)
(10)
(11)
Error
Port
TSTR
TMDR
TIOR
occurs
output
(0)
(PCM)
(1 init
0 out)
(12)
(13)
MPC
TSTR
(MTU)
(1)
Not initialized (period register)
(13)
(12)
TSTR
MPC
(1)
(MTU)
Page 517 of 1041

Advertisement

Table of Contents
loading

Table of Contents