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.

TMS320F28054F: Running InstaSPIN-FOC without DRV8301

Part Number: TMS320F28054F
Other Parts Discussed in Thread: TMS320F28055, , DRV8301

Hi,

I used DRV8301 EVM with TMS320F28054F controlCARD to identify my motor successfully, and it also ran other labs without a problem.  However, when I placed TMS320F28054F on our own board, previously TMS320F28055, the motor doesn't run, and the motor identification even failed.  Is there anything I need to change in the InstaSPIN-FOC firmware beside pin assignments?

thank you

regards,

Kevin 

  • Check the signal sampling and power supply circuit of your hardware board.
    1. Set correct USER_ADC_FULL_SCALE_VOLTAGE_V, USER_ADC_FULL_SCALE_CURRENT_A and USER_VOLTAGE_FILTER_POLE_Hz based on hardware board.
    2. Confirm reading ADC result in HAL_readAdcData() is right for the input polarity of amplifier, refer to chapter 5.2.1 of spruhj1g.pdf.
    3. Confirm the adc channel and sequence setting is right for motor current and voltage in HAL_setupAdcs().
    4. Confirm PWM configuration is correct for your hardware.
  • Hi Yanming,

    Thank you for much for your advice. It's working fine now

    Regards,

    Kevin