Figure 18.95 Error Occurrence In Pwm Mode 1, Recovery In Complementary Pwm Mode - Renesas HD6417641 Hardware Manual

32-bit risc microcomputer superh risc engine family / sh7641 series
Table of Contents

Advertisement

Section 18 Multi-Function Timer Pulse Unit (MTU)
(11) Operation when Error Occurs during PWM Mode 1 Operation, and Operation is
Restarted in Complementary PWM Mode
Figure 18.95 shows an explanatory diagram of the case where an error occurs in PWM mode 1
and operation is restarted in complementary PWM mode after re-setting.
1
2
RESET
TMDR
(PWM1)
MTU module
output
TIOC3A
TIOC3B
TIOC3D
Port output
TIOC3A/PTE[7]
TIOC3B/PTE[6]
TIOC3D/PTE[4]

Figure 18.95 Error Occurrence in PWM Mode 1, Recovery in Complementary PWM Mode

1 to 10 are the same as in figure 18.91.
11. Set normal mode for initialization of the normal mode waveform generation section.
12. Initialize the PWM mode 1 waveform generation section with TIOR.
13. Disable operation of the PWM mode 1 waveform generation section with TIOR.
14. Disable channel 3 and 4 output with TOER.
15. Select the complementary PWM output level and cyclic output enabling/disabling with
TOCR.
16. Set complementary PWM.
17. Enable channel 3 and 4 output with TOER.
18. Set MTU output with the PFC.
19. Operation is restarted by TSTR.
Rev. 4.00 Sep. 14, 2005 Page 654 of 982
REJ09B0023-0400
3
4
5
6
7
TOER
TIOR
PFC
TSTR
Match
(1)
(1 init
(MTU)
(1)
0 out)
• Not initialized (TIOC3B)
• Not initialized (TIOC3D)
High-Z
High-Z
High-Z
8
9
10
11
12
Error
PFC
TSTR
TMDR
TIOR
occurs
(PORT)
(0)
(normal)
(0 init
0 out)
13
14
15
16
17
TIOR
TOER
TOCR
TMDR
TOER
(disabled)
(0)
(CPWM)
(1)
18
19
PFC
TSTR
(MTU)
(1)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7641

Table of Contents