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

no-image

R5S72011

Manufacturer Part Number
R5S72011
Description
32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7200 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Section 12 Multi-Function Timer Pulse Unit 2 (MTU2)
(26) Operation when Error Occurs during Reset-Synchronized PWM Mode Operation, and
Figure 12.150 shows an explanatory diagram of the case where an error occurs in reset-
synchronized 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 reset-synchronized PWM output level and cyclic output enabling/disabling with
3. Set reset-synchronized 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 reset-synchronized 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 reset-synchronized
11. Set normal mode. (MTU2 positive phase output is low, and negative phase output is high.)
12. Initialize the pins with TIOR.
13. Set MTU2 output with the PFC.
14. Operation is restarted by TSTR.
Rev. 2.00 Sep. 07, 2007 Page 592 of 1164
REJ09B0321-0200
TOCR.
PWM output initial value.)
MTU2
module output
TIOC3A
TIOC3B
TIOC3D
Port output
PB16
PB17
PB19
Operation is Restarted in Normal Mode
Figure 12.150 Error Occurrence in Reset-Synchronized PWM Mode,
Power-on
reset
1
TOCR
2
High-Z
High-Z
High-Z
(RPWM)
TMDR
3
TOER
(1)
4
Recovery in Normal Mode
(MTU2)
PFC
5
TSTR
(1)
6
Match
7
occurs
Error
8
(PORT)
PFC
9
TSTR
(0)
10
(normal)
TMDR
11
0 out)
TIOR
(1 init
12
(MTU2)
PFC
13
TSTR
14
(1)

Related parts for R5S72011