English
Language : 

SH7047 Datasheet, PDF (535/764 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTMRISC engine Family/SH7000 Series
×2
TGRUU
+
TGRVU
TGRWU (TBR + 2Td)
Compared during
up-count
TDDR
+
(Td)
TBRU
TBRV
TBRW
(TBR)
TPBR
+
(1/2 period)
TDDR
×2
(Td)
TGRU
TGRV
TGRW
(TBR + Td)
TCNT
TGRUD
TGRVD
TGRWD (TBR)
Constantly
compared
Compared during
down-count
(1/2 period + 2Td)
TPDR
TCNT
(2Td)
Compared during Up-count → compare
up-count
match → down-count
Compared during Down-count → compare
down-count
match → up-count
TDDR (Td)
TDCNT
Up-count → compare match → halt
Figure 16.4 Examples of Counter and Register Operations
Initial Settings: In the operating modes, there are five registers that require initialization.
Make the following register settings before setting the operating mode with bits MD1 and MD0 in
the timer mode register (TMDR).
Set the timer period buffer register (TPBR) to 1/2 the PWM carrier period, set dead time Td in the
timer dead time data register (TDDR) (when outputting an ideal waveform, Td = H'0000), and set
{TPBR value + 2Td} in the timer period data register (TPDR).
Set {PWM duty initial value – Td} in the free write operation addresses for TBRU to TBRW.
The values of TBRU to TBRW should always be set in the range H'0000 to H'FFFF – 2Td, and the
value of TPBR should always be set in the range H'0000 to H'FFFF – 4Td.
Rev. 2.00, 09/04, page 495 of 720