Renesas RX100 Series User Manual page 510

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

Advertisement

RX13T Group
(11) Operation When Error Occurs in PWM Mode 1 and Operation is Restarted in Complementary
PWM Mode
Figure 19.153 shows a case in which an error occurs in PWM mode 1 and operation is restarted in complementary
PWM mode after re-setting.
Reset
MTU module output
MTIOC3A
MTIOC3B
MTIOC3D
PORT output
Pxx
Pxx
Pxx
Figure 19.153
Error Occurrence in PWM Mode 1, Recovery in Complementary PWM Mode
(1) to (10) are the same as in Figure 19.149 .
(11) Set normal mode to initialize the normal mode waveform generation block.
(12) Initialize the PWM mode 1 waveform generation block with the TIOR register.
(13) Disable operation of the PWM mode 1 waveform generation block with the TIOR register.
(14) Disable output in MTU3 and MTU4 with the TOERA register.
(15) Select the complementary PWM output level and enable or disable cyclic output with registers TOCR1A and
TOCR2A.
(16) Set complementary PWM mode.
(17) Enable output in MTU3 and MTU4 with the TOERA register.
(18) Set MTU output using the MPC and port mode registers (PMR) corresponding to the I/O ports.
(19) Restart operation by setting the TSTRA register.
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
(1)
(2)
(3)
(4)
(6)
(5)
TMDR
TOER
TIOR
MPC
TSTR
(PWM1)
(1)
(1 init
(1)
(MTU)
0 out)
Not initialized (MTIOCnB)
Not initialized (MTIOCnD)
Hi-Z
Hi-Z
Hi-Z
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
(7)
(8)
(9)
(10)
(11)
(12)
Match
Error
Port
TSTR
TMDR
TIOR
occurs
output
(0)
(normal)
(0 init
0 out)
(13)
(14)
(15)
(16)
(17)
(18)
MPC
TIOR
TOER
TOCR
TMDR
TOER
(MTU)
(disabled)
(0)
(CPWM)
(1)
Page 510 of 1041
(19)
TSTR
(1)

Advertisement

Table of Contents
loading

Table of Contents