Skip to main content
RNova.1
Visitor II
November 10, 2022
Solved

Unable to get AEK-MOT-SM81M1 example project working using SPC58ECxx (AEK-MCU-C4MLIT1 dev board)

  • November 10, 2022
  • 1 reply
  • 909 views

Hey, I'm trying to get the AEK-MOT-SM81M1 example project working that is imported from the SPC5STUDIO 6.0 program. Stepper motor used to test is a Lin Engineering 4118l-66pd-01ro bi polar stepper motor.

Connections are as follows:

SPITP CS connected to D21 on AEK-MCU-C4MLIT1 board

SPITP SDI connected to B34 on AEK-MCU-C4MLIT1 board

SPITP SDO connected to B10 on AEK-MCU-C4MLIT1 board

SPITP SCK connected to D35 on AEK-MCU-C4MLIT1 board

SPITP GND connected to A1 on AEK-MCU-C4MLIT1 board

DIOTP EN connected to B21 on AEK-MCU-C4MLIT1 board

VBAT connected to 24v source

PGND connected to ground of 24v source

OUTA1 connected to A+ (red wire)

OUTA2 connected to A- (blue wire)

OUTB1 connected to B+ (green wire)

OUTB2 connected to B- (black wire)

Software used: SPCSTUDIO v6.0 and UDE STK v5.2

Running the program I see that D4 on the AEK-MOT-SM81M1 lights up, but the motor does not move. I've tried this with 2 different bipolar stepper motors but have been unable to see the motor move. Is there a step I'm missing in the set-up or are my connections wrong?

    This topic has been closed for replies.
    Best answer by ODOUV.1

    Hello,

    please ask your question in group:

    Group: AutoDevKit (AEK) (st.com)

    Best regards.

    1 reply

    ODOUV.1
    ODOUV.1Best answer
    ST Employee
    January 3, 2023

    Hello,

    please ask your question in group:

    Group: AutoDevKit (AEK) (st.com)

    Best regards.