Renesas RX100 Series User Manual page 509

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

Advertisement

RX13T Group
(10) Operation When Error Occurs in PWM Mode 1 and Operation is Restarted in Phase Counting
Mode
Figure 19.152 shows a case in which an error occurs in PWM mode 1 and operation is restarted in phase counting mode
after re-setting.
MTU module output
MTIOCnA
MTIOCnB
PORT output
Pxx
Pxx
Figure 19.152
Error Occurrence in PWM Mode 1, Recovery in Phase Counting Mode
(1) to (10) are the same as in Figure 19.149 .
(11) Set the phase counting mode.
(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.
Note:
The phase counting mode can only be selected for MTU1 and MTU2, and therefore the TOERA register setting is
not necessary.
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
(1)
(2)
(3)
(4)
(5)
Reset
TMDR
TOER
TIOR
MPC
(PWM1)
(1)
(1 init
(MTU)
0 out)
Not initialized (MTIOCnB)
Hi-Z
Hi-Z
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
(6)
(7)
(8)
(9)
(10)
TSTR
Match
Error
Port
TSTR
(1)
occurs
output
(0)
(11)
(12)
(13)
(14)
MPC
TMDR
TIOR
TSTR
(PCM)
(1 init
(MTU)
(1)
0 out)
Page 509 of 1041

Advertisement

Table of Contents
loading

Table of Contents