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.

DRV8412DDWEVM: no speed change 'Stepper' project DRV8412 C2 Kit

Part Number: DRV8412DDWEVM
Other Parts Discussed in Thread: DRV8412, CONTROLSUITE

Hi

I am working on closed loop stepper based on DRV8412 C2 kit.

The default project 'GUI_project' works fine with GUI Version G.

I can adjust the speed of stepper motor in index mode in the GUI app.

When I have changed project to 'Stepper' project, I can not adjust speed of motor by changing SpeedRef like as below.

_iq  SpeedRef = _IQ(127.0); // Speed reference (pu)

Isn't this variable 'SpeedRef' related with speed of motor like as in Speed/Steps ( in the index mode GUI ) ?

Which variable should I adjust for speed rate of step motor ?

  • Hi Paul,

    We will investigate. This may take a few days before we reply.
  • Hi Rick,

    I am destined to deadline so that I work around checking the related variables and found out why it runs limited top speed.

    - Base electrical frequency (Hz)

    This is fixed so why I could only get top speed SpeedRef = _IQ(1.0) regardless of higher IQ value.

    Thanks for your concern.

    I hope I would get some reference code to imply STEP pulse input to CAP drive which goes to finally PWM module.

    Also I want to get some more technical document in depth regarding FOC algorithm applied in the example code DRV8412-C2-Kit.
    I read all the documents in the ControlSuite app related in microstepping.
    But still some key points are missing in my understanding.

    Regards
  • Hi Paul,

    Sorry for the delayed response. What additional technical information are you looking for?
  • Hi Rick,

    I am programming a step/dir interface module now. 

    Externally applying step pulses into the C2 Kit makes it move the step motor according to the microstepping level.

    That's the scenario.

    If you have some reference code besides included in ControlSuite, that will be helpful for me to design correct step/dir interface.

    Thanks.