A SERVICE OF

logo

881
Chapter 43 Stepper Motor Controller
3.Operation
3. Operation
The operation of the stepping motor controller is explained.
Setting Operation of Stepping Motor Controller
Figure 3-1 Setting of Stepping Motor Controller
Operation of PWM-pulse generator
When the counter is started (PWC: CE = 1), the counter starts incrementing from 00H on the selected count
clock rising. The PWM output pulse wave remains "H" until the value of the counter matches the value set to
PWM compare register, and then changes to and remains "L" until the value of the counter overflows (FF
H
-->
00
H
).
Figure 3-2 "Examples of PWM1&2 Waveform Output" shows the PWM waveform generated by the PWM
generator
PWM1 H width (compare value) is set.
PWM2 H width (compare value) is set.
Used bit
Not used bit
1 is set.
0 is set.
Channel No.