R01UH0092EJ0110 Rev.1.10
Page 360 of 807
Jul 31, 2012
M16C/64C Group
19. Three-Phase Motor Control Timer Function
19.3.3.3
Carrier Wave Control
In three-phase mode 1, the reload timing of the TB2 register can be selected by setting the PWCON
bit in the TB2SC register.
19.3.3.4
Three-Phase PWM Waveform Output Level Control
In triangular wave modulation mode, the output levels set in registers IDB0 and IDB1 are transferred
to the three-phase output shift registers by a transfer trigger. After a transfer trigger is generated, first
the value set in the IDB0 register, and then, at the falling edge of one-shot pulse for timers A1, A2,
and A4, the values set in the IDB1 register become output signals for each phase (internal signal)
and consequently the three-phase PWM output changes. Afterward, the values in registers IDB0 and
IDB1 alternately become an output signal for each phase at every falling edge of one-shot pulse for
timers A1, A2, and A4.
When the INV15 bit in the INVC1 register is 0 (dead time enabled), a phase changing from active to
nonactive changes simultaneously with output signals for each phase (internal signal), while a phase
changing from nonactive to active changes when the dead time timer stops.
A transfer trigger is generated under the following conditions:
•
The first timer B2 underflow after registers IDB0 and IDB1 are written.
•
Writing to the TB2 register when timer B2 is stopped (when the INV10 bit in the INVC1 register is
1).
•
Setting the INV07 bit in the INVC0 register to 1 (software trigger).
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...