6.4 Testing for Successful Startup Into Closed
Loop
Figure 6-12 Spinning the Motor
Enable the Speed command via
I2C using the slider button.
Apply a nonzero speed command
using the slider or text box within the Controls section. Once a speed
command is provided, the motor should begin to spin and accelerate until the
motor reaches the target speed.
After the motor stops
accelerating check that the values in Reference for Speed Loop and
Speed FDBK under the Motor Status section are close to the
same value.
Check for any faults if the
Faults tab shows a red circle. If a fault has been reported, go to
fault handling topic in the product specific tuning guide and follow the debug
steps to correct the fault.
Once the motor is able to spin
into closed loop and not trigger any faults, stop the motor and save the
register configuration to a json file by clicking on File -> Save
Registers. In the window that pops up, select Json File and click
on the Save Button.
To have configuration for the
registers covered in section 7 of the MCF8329HS datasheet load when the device powers-up
these register values can be loaded into EEPROM. To write the configured
register values to EEPROM, click the EEPROM drop down located at the
bottom right of MotorStudio and select the Write To EEPROM option.
Click the Yes button in the window that pops up.