EasyManuals Logo
Home>Renesas>Microcontrollers>RX Series

Renesas RX Series User Manual

Renesas RX Series
1823 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #611 background imageLoading...
Page #611 background image
R01UH0823EJ0100 Rev.1.00 Page 611 of 1823
Jul 31, 2019
RX23W Group 23. Multi-Function Timer Pulse Unit 2 (MTU2a)
23.7 MTU Output Pin Initialization
23.7.1 Operating Modes
The MTU has the following six operating modes. Waveforms can be output in any of these modes.
ï‚· Normal mode (MTU0 to MTU4)
ï‚· PWM mode 1 (MTU0 to MTU4)
ï‚· PWM mode 2 (MTU0 to MTU2)
ï‚· Phase counting modes 1 to 4 (MTU1 and MTU2)
ï‚· Complementary PWM mode (MTU3 and MTU4)
ï‚· Reset-synchronized PWM mode (MTU3 and MTU4)
This section describes how to initialize the MTU output pins in each of these modes.
23.7.2 Operation in Case of Re-Setting Due to Error during Operation
If an error occurs during MTU operation, MTU output should be cut off by the system. For an I/O port that is shut down,
set the port direction registers (PDR), the port output data register (PODR), and the port mode register (PMR) to switch
the port pins to be general output pins and for output of the non-active level. Set the TIOR for the MTU pins to disable
output. Set the TOER register for the complementary PWM output pins (MTIOC3B, MTIOC3D, MTIOC4A,
MTIOC4B, MTIOC4C, and MTIOC4D). For PWM output pins, output can also be cut by hardware, using port output
enable 2(POE). The pin initialization procedures for re-setting due to an error during operation and the procedures for
restarting in a different mode after re-setting are described below.
The MTU has six operating modes, as stated above. There are thus 36 mode transition combinations, but some transitions
are not available with certain channel and mode combinations. Available mode transition combinations are listed in
Table 23.56.
Note that the following notations are used for operating modes.
Normal: Normal mode PWM1: PWM mode 1 PWM2: PWM mode 2
PCM: Phase counting modes 1 to 4 CPWM: Complementary PWM mode RPWM: Reset-synchronized PWM mode
Table 23.56 Mode Transition Combinations
Normal PWM1 PWM2 PCM CPWM RPWM
Normal (1) (2) (3) (4) (5) (6)
PWM1 (7) (8) (9) (10) (11) (12)
PWM2 (13) (14) (15) (16) Not available Not available
PCM (17) (18) (19) (20) Not available Not available
CPWM (21) (22) Not available Not available (23), (24) (25)
RPWM (26) (27) Not available Not available (28) (29)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RX Series and is the answer not in the manual?

Renesas RX Series Specifications

General IconGeneral
BrandRenesas
ModelRX Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals