powerstep01 - Getting it into fault mode through external input
I am using Powerstep01 and STM32 MCU. I have a requirement where the stepper driver should stop when certain hardware conditions are met. Is there any way that I can implement this?
I am using Powerstep01 and STM32 MCU. I have a requirement where the stepper driver should stop when certain hardware conditions are met. Is there any way that I can implement this?
Hi @VRagh.3,
The right answer is the second option (by default with (SW_MODE bit of CONFIG register set to ‘0’): the SW input can manage the SW event internally without the MCU intervention.
The HardStop command (refer to datasheet at page 81) causes an immediate motor stop with infinite deceleration.
Otherwise (SW_MODE bit of CONFIG register set to ‘1’), switch input events do not cause interrupts and the switch status information is at the user’s disposal.
Let me know if my reply fully answered your question, if so please "Select as Best" button.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.