UM0522
Motor control operations
33/39
If during the configuration using GUI, the "from RV1" control has been unchecked, then the
value of the duty cycle (or the value of current reference) is not set by R61 but has a fixed
value. If during the configuration using GUI, the "from RV2 - RV3" control has been
unchecked, then the value of the rising delay coefficient and the value of the falling delay
coefficient are not set by P2 and P3 but have fixed values.
Note:
The value of rising and falling delay are expressed in 255
th
of last measured step time. So 0
means no delay between zero
-
crossing and commutation, while 255 means that the delay
between zero
-
crossing and commutation is equal to last step time.
The maximum duty cycle allowed in voltage mode depends on the value of PWM frequency
and the value of PWM min off time set by the GUI. The maximum current allowed by GUI
has been set to 4.4 A. (see
Section 8.10: Changing the maximum current allowed by GUI on
).
In "idle state" (D13 led is ON), push the start/stop button to start the motor. The D13 LED is
turned OFF and D12 LED is turned ON to indicate that the firmware has been switched to
"run state".
In "run state" (D12 led is ON), push again the start/stop button to stop the motor. The D12
LED is turned OFF and D13 LED is turned ON to indicate that the firmware has been
switched to "idle state".
www.BDTIC.com/ST