English
Language : 

SH7147 Datasheet, PDF (487/1108 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperH™ RISC engine Family
Section 10 Multi-Function Timer Pulse Unit 2 (MTU2) and Multi-Function Timer Pulse Unit 2S (MTU2S)
Operation when Error Occurs during Normal Mode Operation, and Operation is Restarted
in Complementary PWM Mode: Figure 10.141 shows an explanatory diagram of the case where
an error occurs in normal mode and operation is restarted in complementary PWM mode after re-
setting.
MTU2 module output
1
2
3
4
5
6
RESET TMDR TOER TIOR PFC TSTR
(normal) (1) (1 init (MTU2) (1)
0 out)
7
8
9
10
Match Error PFC TSTR
occurs (PORT) (0)
11 12 13 14 15 16 17 18
TIOR TIOR TOER TOCR TMDR TOER PFC TSTR
(0 init (disabled) (0)
(CPWM) (1) (MTU2) (1)
0 out)
TIOC3A
TIOC3B
TIOC3D
Port output
PE8
Hi-Z
PE9
Hi-Z
PE11
Hi-Z
Figure 10.141 Error Occurrence in Normal Mode,
Recovery in Complementary PWM Mode
1 to 10 are the same as in figure 10.137.
11. Initialize the normal mode waveform generation section with TIOR.
12. Disable operation of the normal mode waveform generation section with TIOR.
13. Disable channel 3 and 4 output with TOER.
14. Select the complementary PWM output level and cyclic output enabling/disabling with
TOCR.
15. Set complementary PWM.
16. Enable channel 3 and 4 output with TOER.
17. Set MTU2 output with the PFC.
18. Operation is restarted by TSTR.
Rev. 3.00 Oct. 06, 2008 Page 463 of 1080
REJ09B0230-0300