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.

AMIC120: Stepper motor control

Part Number: AMIC120
Other Parts Discussed in Thread: DRV8313, CONTROLSUITE

Hi,

Do you have any sample code and document to support Stepper motor by using AM437x-EVM ?

Using AM437x-EVM AC motor, now. We want to replace AC motor to Stepper motor for further evaluation.

(4x PWM output is required while AC motor uses 3x output wire.)

Regards,

Ken

  • Hello Ken,

    I know of resources that indirectly support a stepper motor application. Let me check to see if any additional work has been done that would be a closer match to your use case.

    What version of software does the customer want to run?

    Could you clarify what you mean by "4x PWM output is required while AC motor uses 3x output wire"? For example, is the PWM output requirement one that could be performed by the PWMSS, or does it require nonconstant pulse trains, specific numbers of pulses, etc?

    Regards,
    Nick
  • Nick,

     

    Thank you for your response.

     

    > What version of software does the customer want to run?

    I believe you are asking about PSDK version, correct ?

    Customer uses the latest version of SDK, 05.02.00.10.


    > Could you clarify what you mean by "4x PWM output is required while AC motor uses 3x output wire"? For example, is the PWM output requirement one that could be performed by the PWMSS, or does it require nonconstant pulse trains, specific numbers of pulses, etc?

    Customer wants to output 4-ch modulated PWM output from EVM.

    But EVM output up to 3-ch PWM output from connector while AM437x itself supports 6-ch output.

    I think our option would be board modification manually, but I want to know if you know any other options.

    (Note: PRUs are occupied for other tasks.)

    Regards,

    Sawaragi

  • Hi,

    It should be possible to get to 4 PWM signals (eHRPWM0A, eHRPWM0B, eHRPWM2A, eHRPWM2B) using the 'J16 Expansion Connector' on the AM437x IDK board. You may need to remove R83 in order to disconnect eHRPWM0B from the DRV8313 chip on the board but you can look at the schematic here (www.ti.com/.../tidrc79) to decide for yourself.

    Unfortunately the Processor SDK for Am437x does not have a software example to control a stepper motor. The C2000 team however does have an example in their controlSUITE software package that may be a starting point. This E2E comment mentions it: e2e.ti.com/.../511007

    They also have a very good App Note here (www.ti.com/.../tida013) showing bipolar stepper motor control.

    Jason Reeder
  • Jason,

    Thank you for your advise.

    We will support customer with following your instruction.

    Thanks and Regards,

    Sawaragi