HD6417641 RENESAS [Renesas Technology Corp], HD6417641 Datasheet - Page 700

no-image

HD6417641

Manufacturer Part Number
HD6417641
Description
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Section 18 Multi-Function Timer Pulse Unit (MTU)
(7)
Figure 18.91 shows an explanatory diagram of the case where an error occurs in PWM mode 1
and operation is restarted in normal mode after re-setting.
1. After a reset, MTU output is low and ports are in the high-impedance state.
2. Set PWM mode 1.
3. For channels 3 and 4, enable output with TOER before initializing the pins with TIOR.
4.
5. Set MTU output with the PFC.
6. The count operation is started by TSTR.
7. Output goes low on compare-match occurrence.
8. An error occurs.
9. Set port output with the PFC and output the inverse of the active level.
10. The count operation is stopped by TSTR.
11. Set normal mode.
12. Initialize the pins with TIOR.
13. Set MTU output with the PFC.
14. Operation is restarted by TSTR.
Rev. 4.00 Sep. 14, 2005 Page 650 of 982
REJ09B0023-0400
TIOC*A/PTE[n]
TIOC*B/PTE[n]
MTU module
compare-match occurrence. In PWM mode 1, the TIOC*B side is not initialized.)
Port output
Initialize the pins with TIOR. (The example shows initial high output, with low output on
n = 0 to 15
Operation when Error Occurs during PWM Mode 1 Operation, and Operation is
Restarted in Normal Mode
TIOC*A
TIOC*B
Figure 18.91 Error Occurrence in PWM Mode 1, Recovery in Normal Mode
output
RESET
1
(PWM1)
TMDR
2
High-Z
High-Z
TOER
(1)
3
0 out)
(1 init
TIOR
4
• Not initialized (TIOC*B)
(MTU)
PFC
5
TSTR
(1)
6
Match
7
occurs
Error
8
(PORT)
PFC
9
TSTR
(0)
10
(normal)
TMDR
11
(1 init
0 out)
TIOR
12
(MTU)
PFC
13
TSTR
(1)
14

Related parts for HD6417641