This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MCF8316AEVM: Cannot get test motor to spin

Part Number: MCF8316AEVM
Other Parts Discussed in Thread: MCF8316A

I am having the same issue as in this support thread, unfortunately the resolution was never posted there.

I went through the Guided Tuning process as described. Default settings are used, only the motor parameter have been changed according to the hardware used.
The motor spins when the process comes to the MPET process, the Motor status updates accordingly.

However, after the process is done, the motor stops and I cannot get it to run again using the hardware on the EVM board (Switches, Potentiometer).
Motor status always displays it as "idle", I2C override does nothing.
I also tried removing the jumpers that connect the MCF to the µC and use it in standalone mode but no success.
Only activating the brake via the switch works (noticeable resistance ont he motor shaft).

  • Addendum:
    The GUI never showed any errors, neither do the LEDs on the board.

  • I am currently following this thread and I noticed that the Motor Parameters have not been set after the MPET process.

    I also noticed that in the MPET tool, the switches on the bottom left have a red error marking telling the "Register [...] is not recognized for this device".

    Only after using the "Run MPET" button, the values were added to the registers, and the motor started running.

  • There seems to be an issue in the GUI regarding this.
    After changing a parameter regarding the brake pin, the motor stopped running again.

    When I checked by using "Read All Registers", the MPET parameters were gone again.
    The values also seem to be never written into the according CLOSED_LOOP2 registers.

  • Hi Daniel,

    Thanks for your question on the Motor Drives E2E Forum. 

    I will aim to provide an answer on this by the end of the week!

    Best,

    Robert

  • Hi Daniel,

    In order to complete MPET, the driver blindly commutates and runs and as the speed increases the device calculates the motor parameters. After the motor parameters have been extracted, it may help to turn the supply off and back on again and then try running the device.

    I recommend reviewing section "7.3.13 Motor Parameter Extraction Tool (MPET)" in the MCF8316A datasheet to see the process in more detail. Example screenshot below:

    After running MPET and extracting the motor parameters, if you then read all registers from the device, the MPET values R, L, and BEMF constant will be read from the device EEPROM, not the GUI. 

    In order to save these MPET values, make sure you write the registers to EEPROM, thus storing the values in the device itself and not just on the GUI. To check, you can then "Read All Registers" and the MPET values should populate.

    Let me know of any additional help needed!

    Best,

    Robert

  • Hi Daniel,

    If there are no more questions, could you please help mark this thread as resolved?

    I will close the thread for now, but feel free to open it again if you have an additional question around this topic.

     

    Best,

    Robert