EasyManuals Logo

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 #629 background imageLoading...
Page #629 background image
R01UH0823EJ0100 Rev.1.00 Page 629 of 1823
Jul 31, 2019
RX23W Group 23. Multi-Function Timer Pulse Unit 2 (MTU2a)
(21) Operation When Error Occurs in Complementary PWM Mode and Operation is Restarted in
Normal Mode
Figure 23.136 shows a case in which an error occurs in complementary PWM mode and operation is restarted in normal
mode after re-setting.
Figure 23.136 Error Occurrence in Complementary 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 complementary PWM mode output level and enable or disable cyclic output with the TOCR register.
(3) Set complementary PWM mode.
(4) Enable output in MTU3 and MTU4 with the TOER register.
(5) Use the MPC and the port mode register (PMR) for the I/O port to set up MTU output.
(6) Start count operation by setting the TSTR register.
(7) The complementary PWM waveform is output on compare match occurrence.
(8) An error occurs.
(9) Use the port direction register (PDR) and port mode register (PMR) for the input port pin to switch it to operate as a
general output port pin, and the port output data register (PODR) to select output of the non-active level.
(10) Stop count operation by setting the TSTR register. (MTU output becomes the initial complementary PWM output
value).
(11) Set normal mode (MTU output goes low).
(12) Initialize the pins with the TIOR register.
(13) Use the MPC and the port mode register (PMR) for the I/O port to set up MTU output.
(14) Restart operation by setting the TSTR register.
(1)
Reset
MTU module output
(2)
TOCR
(3)
TMDR
(CPWM)
(4)
TOER
(1)
(6)
TSTR
(1)
(7)
Match
(8)
Error
occurs
(9)
Port
output
(10)
TSTR
(0)
(11)
TMDR
(normal)
(12)
TIOR
(1 init
0 out)
(14)
TSTR
(1)
MTIOC3A
MTIOC3B
MTIOC3D
PORT output
Pxx
Pxx
Pxx
(5)
MPC
(MTU)
(13)
MPC
(MTU)
Hi-Z
Hi-Z
Hi-Z

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
CoreRXv1, RXv2, RXv3
Flash MemoryUp to 8 MB
RAMUp to 1 MB
Operating Voltage1.62V to 5.5V
Operating Temperature-40°C to +85°C or +105°C
PackageBGA, LQFP
ADC Resolution12-bit
DAC Resolution12-bit
Communication InterfacesSCI, SPI, I2C, USB, Ethernet, CAN
Architecture32-bit
Security FeaturesMemory Protection Unit (MPU)

Related product manuals