English
Language : 

SH7018 Datasheet, PDF (181/431 Pages) Renesas Technology Corp – SuperH™ RISC engine
(6) Operation when Rrror Occurs during PWM Mode 1 Operation, and Operation is
Restarted in PWM Mode 2: Figure 8.54 shows an explanatory diagram of the case where an
error occurs in PWM mode 1 and operation is restarted in PWM mode 2 after re-setting.
1
2
RESET TMDR
(PWM1)
MTU output
TIOC*A
TIOC*B
Port output
PEn
Z
PEn
Z
3
TIOR
(1 init
0 out)
4
PFC
(MTU)
5
TSTR
(1)
6
7
8
9
10 11
Match Error PFC TSTR TMDR TIOR
occurs (PORT) (0) (PWM2) (1 init
0 out)
12 13
PFC TSTR
(MTU) (1)
• Not initialized (TIOC*B)
• Not initialized (cycle register)
n = 0, 2, 4 to 7, 12 to 14
Figure 8.54 Error Occurrence in PWM Mode 1, Recovery in PWM Mode 2
1 to 9 are the same as in figure 8.52.
10. Set PWM mode 2.
11. Initialize the pins with TIOR. (In PWM mode 2, the cycle register pins are not initialized.)
12. Set MTU output with the PFC.
13. Operation is restarted by TSTR.
165