R01UH0822EJ0100 Rev.1.00
Page 468 of 1041
Jul 31, 2019
RX13T Group
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
19.3.13
TCNTU, TCNTV, and TCNTW Capture at Crest and/or Trough in
Complementary PWM Mode
The MTU5 external pulse width measurement function allows to transfer the value in TCNTU, TCNTV, and TCNTW to
TGRU, TGRV, and TGRW at the crest, or trough, or crest and trough when MTU3 and MTU4 operate in complementary
PWM mode. The transfer timing is set in TIORU, TIORV, and TIORW. When the CMPCLR5U, CMPCLR5V, and
CMPCLR5W bits in the TCNTCMPCLR register are set to 1, TCNTU, TCNTV, and TCNTW become 0000h at the
transfer timing for TGRU, TGRV, and TGRW.
shows an operation example in which TCNTU is used as a free-running counter without being cleared, and
the value is captured in TGRU at the crest and trough in complementary PWM mode.
Figure 19.97
TCNTU Capture at Crest and Trough in Complementary PWM Operation
Dead time period
Inverter output monitor signal
Dead time delay signal (MTIC5U)
3DE7h
3E5Bh
3E5Bh
3ED3h
3ED3h
3F37h
3F37h
3FAFh
3FAFh
3DE7h
MTU5.TCNTU
MTU5.TGRU
Up-count/down-count signal (udflg)
Delay between upper arm signal and
inverter output detection signal
MTU3.TGRB
Upper arm signal (MTIOC3B)
Lower arm signal (MTIOC3D)