R01UH0092EJ0110 Rev.1.10
Page 359 of 807
Jul 31, 2012
M16C/64C Group
19. Three-Phase Motor Control Timer Function
19.3.3.2
Three-Phase PWM Waveform Output Timing Control
In three-phase mode 1, when a start trigger for timers A1, A2, and A4 is generated, the value set in
the TAi1 register is counted first. Afterward, the values in registers TAi1 and TAi are alternately
counted every time a start trigger for timers A1, A2, and A4 is generated.
When the values in registers TAi1 and TAi are rewritten during processing, the updated value is
output from the next carrier wave cycle. Figure 19.8 shows Update Timing of Registers TAi and TAi1
in Three-Phase Mode 1.
Figure 19.8
Update Timing of Registers TAi and TAi1 in Three-Phase Mode 1
TAi register
a
b’
b
Update when the INV13 bit is 1
INV13 bit
in the INVC1 register
TAi1 register
Reload register
a’
b’
b
a
b
b’
a’
a’
a
b’
b
b’
b
b’
Update by a program
Transfer to the reload register by the next timer Ai start trigger.
Carrier wave cycle
Timer Ai1 one-shot pulse
(internal signal)
TAi register
a
b’
b
Update when the INV13 bit is 0
INV13 bit
in the INVC1 register
TAi1 register
Reload register
a’
b’
b
a
b
b’
a’
a’
a
b’
b
b’
b
b’
Update by a program
Transfer to the reload register immediately.
Carrier wave cycle
Timer Ai1 one-shot pulse
(internal signal)
a’
Summary of Contents for M16C Series
Page 846: ...M16C 64C Group R01UH0092EJ0110...