Tcntu, Tcntv, And Tcntw Capture At Crest And/Or Trough In Complementary Pwm Mode - Renesas RX100 Series User Manual

32-bit mcu
Hide thumbs Also See for RX100 Series:
Table of Contents

Advertisement

RX13T Group
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.
Figure 19.97 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.
Upper arm signal (MTIOC3B)
Lower arm signal (MTIOC3D)
Inverter output monitor signal
Dead time delay signal (MTIC5U)
Up-count/down-count signal (udflg)
Figure 19.97
TCNTU Capture at Crest and Trough in Complementary PWM Operation
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
MTU3.TGRB
Dead time period
Delay between upper arm signal and
inverter output detection signal
MTU5.TCNTU
3DE7h
3E5Bh
MTU5.TGRU
3DE7h
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
3ED3h
3F37h
3E5Bh
3ED3h
3FAFh
3F37h
3FAFh
Page 468 of 1041

Advertisement

Table of Contents
loading

Table of Contents