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.

MCF8315EVM: MCF8315EVM GUI guide

Part Number: MCF8315EVM
Other Parts Discussed in Thread: MCF8315A, , DRV8316, MCT8315A

Dear support team,


I'm trying to use the GUI guide MCF8315A_GUI version 1.0.1 with no success, 

In the Device and Pin Configuration section I cant find the Toggle the Speed Pin Configuration [SPEED_PIN_CONFIG] below to "Speed pin used to set SPEED" & Toggle the Speed Pin Configuration [SPEED_PIN_CONFIG] below to "Speed pin is used to wake up device from sleep, it doesn't affect speed command"

 in addition the EEPROM actions does not work 


I would like to get help, thanks!



  

  • Hello Shahar,

    We have recently moved the MCF8315A device to work with Motor Studio. The MCF8315EVM cannot work the the GUI that is on dev.ti.com. Please either use Motor Studio or to change the firmware on the MCU so that the MCF8315A can work with the dev.ti.com GUI, please refer to our EVM Firmware Compatibility FAQ.

    EPROM actions does not work 

    The EEPROM write did not work because the EVM cannot connect to the dev.ti.com GUI. You can still save the register configuration you created on the online GUI and load it on the Motor Studio GUI.

    In the Device and Pin Configuration section I cant find the Toggle the Speed Pin Configuration

    This feature is handled by the GUI with the "Speed Control via I2C" switch. This description is referring to the  [OVERRIDE] register located in ALGO_DEBUG1 in the register map.

    Regards,

    Joshua

  • Thanks , 

    the maximum pairs in the software is 15 and we have 21 there is a option to change it?


    after receiving Motor Spin Successfully 

    we receive the following faults in the Spin Motor section can you please help?


    and in addition there is a basic code example like universal motor lab to MCF8315A device that I can work with code composer studio?

    many thanks! 

     

    motor details:

  • Hi Shahar,

    the maximum pairs in the software is 15 and we have 21 there is a option to change it?

    If your motor has more than 15 pole pairs please use the following equation to convert the motors max rated speed in RPM into electrical Hz:

    this equation can be found in our DRV10x Selection Guide FAQ.

    we receive the following faults in the Spin Motor section can you please help?

    Please refer to section 2.6.3 of our MCF8315A Tuning Guide for steps to resolve these fault. 

    is a basic code example like universal motor lab to MCF8315A device that I can work with code composer studio?

    We have example code for programming a MCx device with a MSP430 LaunchPad in our FAQ on programming a MCx BLDC driver through I2C

    Regards,

    Joshua

  • Hi,

    I fixed the previous issues with your help, but now I'm struggling to control the motor speed. due to the formula you mentioned if i want 5-0.2 rpm i need to set the max speed in Hertz to be 0.07 - 1.75 and in this max speed there are faults or endless loop during Run MPET. I success running with no errors at max speed of 100 However, using the I2C Speed Command Percentage at 1% gives a much higher speed than 0.2 RPM.

    I want to mentioned that I could control the speed successfully with drv8316 from 0.2 - 5 rpm with the same motor.

    Any guidance on achieving a speed range of 0.2-5 RPM would be appreciated.

    Thanks!

  • Hello Shahar,

    Our MCx devices can typically drive a motor at 8% of its maximum rated speed but, if the motor is able to generate enough BEMF at lower speeds then we can drive these motors lower than 8% of the motors max speed.

    For MPET, if the MPETs open loop parameters are set in such a way that the MCF8315A cannot measure the BEMF of the motor, this can lead to MPET_BEMF_FAULT or MPET getting stuck in an endless loop.

    Any guidance on achieving a speed range of 0.2-5 RPM would be appreciated.

    I believe, given the motors parameters, that the motor may not be generating enough BEMF for the MCF8315A to drive the motor at the targeted low speeds. I would recommend using the drv8316 solution or trying the MCT8315A.

    Regards,

    Joshua

  • Hi, 

    I experimented with various settings in the motor information, providing incorrect details, and managed to achieve a speed of 0.2 RPM. It seems that the MCF8315 can reach this speed, but it's not consistently stable, there is some jitter at times.

    Do you think the DRV8316 would be a better solution? Why can the DRV8316 achieve this speed without any issues?

    Thank you!

    0.2 rpm setup:

  • Hi Shahar,

    Would you mind providing more information about your application, I understand that you need the motor so slowly spin but do you also require position control?

    Would you mind explaining the jitter you are seeing, is this the motor vibrating when starting up also or is the speed not consistent? What is the Algorithm State when you are seeing the Jitter?

    Do you think the DRV8316 would be a better solution?

    The DRV8316 requires an external controller to implement the commutation algorithm which, this algorithm can be created to be better tailored to fit your application.

    0.2 rpm setup:

    If you have filled in the motor parameter values that MPET will measure (resistance, inductance, Ke, and the speed loop gains), you can skip MPET by going to the Advanced Tuning page -> Control Configuration - Motor Parameters Extraction Tool (MPET) and setting MPET Start Command to Disable:

    Regards,

    Joshua

  • Hi Joshua how are you? , 

    The requirements of my application are speed of 0.2 - 5 rpm and to be aware of the position relative to initial point

    this is the setting and the state I achieve 0.2 rpm with disorders of jitter , reverse shift and non constant speed.

  • Hi Shahar,

    I would recommend trying to tune the speed loop gain values, SPD_LOOP_KP and SPD_LOOP_KI. The tuning process of finding good values for Kp and Ki will require some trial and error but adjusting these gain values should help to reduce the jitter in the speed of the motor.

    Regards,

    Joshua