English
Language : 

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