R5S72011 RENESAS [Renesas Technology Corp], R5S72011 Datasheet - Page 615

no-image

R5S72011

Manufacturer Part Number
R5S72011
Description
32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7200 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
(21) Operation when Error Occurs during Complementary PWM Mode Operation, and
Figure 12.145 shows an explanatory diagram of the case where an error occurs in complementary
PWM mode and operation is restarted in normal mode after re-setting.
1. After a power-on reset, MTU2 output is low and ports are in the high-impedance state.
2. Select the complementary PWM output level and cyclic output enabling/disabling with
3. Set complementary PWM.
4. Enable channel 3 and 4 output with TOER.
5. Set MTU2 output with the PFC.
6. The count operation is started by TSTR.
7. The complementary PWM waveform is output 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. (MTU2 output becomes the complementary PWM
11. Set normal mode. (MTU2 output goes low.)
12. Initialize the pins with TIOR.
13. Set MTU2 output with the PFC.
14. Operation is restarted by TSTR.
MTU2
module output
TIOC3A
TIOC3B
TIOC3D
Port output
PB16
PB17
PB19
TOCR.
output initial value.)
Operation is Restarted in Normal Mode
Power-on
Figure 12.145 Error Occurrence in Complementary PWM Mode,
reset
1
TOCR
2
(CPWM)
High-Z
High-Z
High-Z
TMDR
3
TOER
(1)
4
Recovery in Normal Mode
(MTU2)
PFC
5
TSTR
(1)
6
Match
7
Section 12 Multi-Function Timer Pulse Unit 2 (MTU2)
occurs
Error
8
(PORT)
Rev. 2.00 Sep. 07, 2007 Page 587 of 1164
PFC
9
TSTR
(0)
10
(normal)
TMDR
11
0 out)
TIOR
(1 init
12
(MTU2)
REJ09B0321-0200
PFC
13
TSTR
(1)
14

Related parts for R5S72011