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.

how to set the DRV8312evm work as a motor driver?

As a motor driver, the motor can spin when the board is power on and some special command was received, how the lab_proj# always have to set some parameter or load some parameters, this will take some time as we know. so I want the board start to work as powered on immediately. is there any project can achieve this, or if I want to modify the lab_proj#, what do I need to do??

  • yes, you can modify the code so that flags are enabled as you need and values are set as required. you may want to have some sort of user interface from a serial communication channel, POT, or push buttons though.

    that is what is expected...use the proj_lab## that most fits your application as a starting point to build your own embedded project with your own communications and system logic.
  • That is what I want to know exactly, how to change the main function to meet the requirement?
    Do you have some example project?
  • how could we know which requirements to meet? these are up to you, the system engineer.
    adding your own system logic is straight forward if you have done embedded software development.

    if you are new to software coding there are some online classes / training I'm sure you can search for.