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.

Software for DRV8301

Other Parts Discussed in Thread: DRV8301

I just got a DRV8301-HC-C2-KIT. There are two main questions.

- Is there any document or link to briefly explain step by step with example in order to use CCS v6.1, especially with this board?

- I would like to create the program for both BLDC_Sensored by Hall and BLDC_Sensorless. But both software examples are available for only DRV8312-C2-Kit. Is there any possibility to adapt them to be compatible to DRV8301-HC-C2-KIT?

  • 1. Sorry, no. These projects are very old and created with CCSv4 (which you don't want to go back and try to use!). CCS6 is pretty similar in look and feel so you should be able to work through the differences. Ex: Watch Window is now called View --> Expressions.

    2. You can, others have done this. I have also posted on the motor drive forum a non-supported version of HALL BLDC for DRV8301 EVM. You can search and try that one...will save you some porting time.
  • Thank you very much. I will look for your posted program and try it.
  • I have already downloaded your program. The BLDC motor parameters (poles, frequency, R, L) have been modified. However, I have two inquiries based on that.
    - At level 4 (commutate with hall sensors) . There is the shown situation as below. What can be the reason?
    o When DfuncStartup =_IQ(0.1), the motor is driven at 400 rpm.
    o When DfuncStartup =_IQ(-0.1), the motor is driven at 600 rpm.

    - At level 7 (closed speed loop), there are two loops, speed and current loop. Both Kp are set to 1. Other Ki and Kd are set to 0. The motor cannot be controlled when the direction is reversed as described below. How it can be solved?
    o When SpeedRef =_IQ(0.3), the motor is driven at 1000 rpm.
    o When SpeedRef =_IQ(-0.3), the direction is reserved, but the motor is driven at the maximum speed (3500 rpm).
    I have not tried other levels yet. Please feel free to suggest me, including the way to the set the control parameters on the 03x environments to control a BLDC motor and to investigate the motor current in the program.
    Thank you very much in advance.
  • May I ask, is there a reason that you aren't using the InstaSPIN-FOC solution? It is far superior and easier to get your motor running well.
  • Because, I am working on BLDC. The used control card is  F28035 Piccolo controlCARD. I think that the InstaSPIN-FOC is suitable for another controller.

  • I'm sorry, but you probably aren't going to be able to get a good answer on this one. The BLDC Hall project is not officially supported. I posted an example (which did work with the motor we were using) to help customers try to re-use.