cancel
Showing results for 
Search instead for 
Did you mean: 

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

RNova.1
Associate

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?

1 ACCEPTED SOLUTION

Accepted Solutions
ODOUV.1
ST Employee

Hello,

please ask your question in group:

Group: AutoDevKit (AEK) (st.com)

Best regards.

View solution in original post

1 REPLY 1
ODOUV.1
ST Employee

Hello,

please ask your question in group:

Group: AutoDevKit (AEK) (st.com)

Best regards.