beautypg.com

Renesas SH7641 User Manual

Page 699

background image

Section 18 Multi-Function Timer Pulse Unit (MTU)

Rev. 4.00 Sep. 14, 2005 Page 649 of 982

REJ09B0023-0400

(6) Operation when Error Occurs during Normal Mode Operation, and Operation is

Restarted in Reset-Synchronous PWM Mode

Figure 18.90 shows an explanatory diagram of the case where an error occurs in normal mode and
operation is restarted in reset-synchronous PWM mode after re-setting.

1

RESET

2

TMDR

(normal)

3

TOER

(1)

5

PFC

(MTU)

4

TIOR
(1 init

0 out)

6

TSTR

(1)

7

Match

8

Error

occurs

9

PFC

(PORT)

10

TSTR

(0)

11

TIOR
(0 init

0 out)

12

TIOR

(disabled)

13

TOER

(0)

14

TOCR

15

TMDR

(CPWM)

16

TOER

(1)

17

PFC

(MTU)

18

TSTR

(1)

High-Z

High-Z

High-Z

MTU module

output

TIOC3A

TIOC3B

TIOC3D

Port output

TIOC3B/PTE[6]

TIOC3A/PTE[7]

TIOC3D/PTE[4]

Figure 18.90 Error Occurrence in Normal Mode, Recovery in Reset-Synchronous PWM

Mode

1 to 13 are the same as in figure 18.89.

14. Select the reset-synchronous PWM output level and cyclic output enabling/disabling with

TOCR.

15. Set reset-synchronous PWM.

16. Enable channel 3 and 4 output with TOER.

17. Set MTU output with the PFC.

18. Operation is restarted by TSTR.

This manual is related to the following products: