R01UH0136EJ0210 Rev.2.10
Page 363 of 800
Jul 31, 2012
M16C/64A Group
19. Three-Phase Motor Control Timer Function
19.3.4.1
Three-Phase PWM Waveform Output Timing Control
In sawtooth wave modulation mode, when a start trigger for timers A1, A2, and A4 is generated, the
counter starts counting the value in the TAi register (i = 1, 2, 4).
19.3.4.2
Three-Phase PWM Waveform Output Level Control
In sawtooth wave modulation mode, the output levels set in registers IDB0 and IDB1 are transferred
to the three-phase output shift register 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 value set in the IDB1 register become output signals for each phase (internal signal) and
consequently the three-phase PWM output changes. Then, the following two actions are repeated:
(1) The setting levels are transferred to the three-phase output shift register by a transfer trigger
generated at timer B2 underflow, and therefore, the value in the IDB0 register becomes output
signals for each phase. (2) The values set in the IDB1 register become output signals for each phase
at the 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:
•
Timer B2 underflow (each time).
•
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/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...