English
Language : 

SH7137_09 Datasheet, PDF (3/24 Pages) Renesas Technology Corp – Output of Complementary Pairs of PWM Signals in Three Phases
SH7280 Group
MTU2: Output of Complementary Pairs of PWM Signals in Three Phases
(Complementary PWM Mode)
2. Description of the Sample Application
In this sample program, MTU2 is used in complementary PWM mode.
2.1 Operational Overview of Module Used
2.1.1 Multi-Function Timer Pulse Unit 2 (MTU2)
MTU2 is a multi-functional timer unit that has six 16-bit timer channels. Settings for compare-match function, input-
capture function, etc. can be made for each channel. Settings for complementary PWM mode and reset-synchronized
PWM mode are made for channels 3 and 4, enabling the control of six PWM output lines.
For details on MTU2, see the section on MTU2 in the SH7137 Group Hardware Manual (REJ09B0402).
Table 2 gives an overview of MTU2 and figure 2 is a block diagram of MTU2.
Table 2 Overview of MTU2
Item
Number of channels
Counter clock
Operation of channels 0
to 5
Triggers for A/D converter
Buffered operation
Operating modes
Interrupt requests
Others
Description
16-bit timer × 6 channels (channels 0 to 5)
The clock signal for counter input can be selected from among 8 different input
clock signals (except for channel 5, with only 4 different clock signals available).
• Waveform output on compare match
• Input capture function
• Counter clearing
• Simultaneous writing to multiple timer counters (TCNT)
• Simultaneous clearing by compare match and input capture
• Input to and output from registers are synchronized with counter operation.
• PWM output in up to 12 phases in combination with synchronous operation
• A/D converter start trigger can be generated.
• In complementary PWM mode, interrupts at the crest and trough of the
counter value and A/D converter start triggers can be skipped.
• Settings for buffered operation of registers can be made to channels 0, 3,
and 4.
• Settings for PWM mode can be made on channels 0 to 4.
• Settings for phase counting mode can be set for each of channels 1 and 2
individually.
• Waveform output in a total of six phases, including the positive and inverse
signals for three phases, is possible in reset-synchronized PWM mode or
complementary PWM mode.
• 28 different interrupt sources
(interrupt generation by compare match, input capture, etc.)
• Cascade-connection operation
• High-speed access by internal 16-bit bus
• Automatic transfer of register data is enabled.
• Module standby mode can be set.
• Dead time compensation counter is available in channel 5.
REJ06B0887-0100/Rev.1.00
June 2009
Page 3 of 24