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.

CCS/DRV8412: STEP/DIR interface sample code for DRV8412-C2-KIT

Part Number: DRV8412
Other Parts Discussed in Thread: CONTROLSUITE

Tool/software: Code Composer Studio

Hi,

I want to look up a sample code to apply STEP/DIR interface to DRV8412-C2-KIT example project ( stepper project )

Is anybody there have such a sample code ? Would you share me the sample code if available.

thanks

  • Hi Paul,

    NOTE: Software for this board can be found inside the controlSUITE™ software package. Download controlSUITE at ti.com/controlsuite. Once installed, navigate to "DRV8412-C2-KIT Brushed and Stepper Motor Control" under the Development Tools -> Motor section.

    Are you looking for something different?
  • Hi Rick,

    Thanks for prompt reply.
    I am using the sample code base in the control suite as you pointed out.
    Actually the stepper sample code runs in debug mode with speedref variable input. I wonder how to change the pulse counts from GPIO step pin input into SpeedRef variable. Or if I need to invite new scheme to change pulse input to target voltage, what should I concern mostly to achieve balanced operation among ADC, PI control loop, Step pin GPIO ISR without time jitter ?

    Regards,