English
Language : 

SH7055S Datasheet, PDF (405/1002 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family/SH7000 Series
Pø
TST6A
TCNT6A
Clock
TCNT6A 0001 0002 0003 0004 0001 0002 0003 0004 0001 0002 0003 0004 0001 0002 0003 0004 0001 0002 0003
CYLR6A
Write to
BFR6A
Data = 0000
0004
Data = 0004
Data = 0001
BFR6A
0002
0000
0004
0001
DTR6A
TO6A
*
PWM output does not change
for one cycle after activation
TSR6
Cycle
0002
0000
0004
0001
Cleared by software
Cleared by software
Cleared by software
Cycle
Cycle
Duty = 0%
Cycle
Duty = 100%
Cycle
Note: * PWM output is not guaranteed because retained value is output for one cycle after activation.
Figure 11.21 PWM Timer Operation
Channel 6 can be used in complementary PWM mode by making a setting in the PWM mode
control register (PMDR). On-duty or off-duty can also be selected with a setting in PMDR.
When TCNT6 is started by a setting in TSTR, it starts counting up. When TCNT6 reaches the
CYLR6 value, it starts counting down, and on reaching H'000, starts counting up again. The
counter status is shown by TSR6. When TCNT6 underflows, an interrupt request can be sent to
the CPU by setting the corresponding bit in TIER. When TCNT6 matches the duty register
(DTR6) value, the output is inverted. The output prior to the match depends on the PMDR setting.
When a value including dead time is set in DTR6, a maximum of 4-phase PWM output is possible.
Data transfer from BFR6 to DTR6 is performed when TCNT6 underflows.
An example of channel 6 complementary PWM mode operation is shown in figure 11.22.
In the example in figure 11.22, H'0004 is set in channel 6 CYLR6A, and H'0002, H'0003, H'0004
(100%), and H'0000 (0%) in BFR6A.
Rev.2.0, 07/03, page 367 of 960