Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need Immediate Motor Stop Strategy via SPI Commands without Hardware Changes #295

Open
cuishuang413 opened this issue Feb 19, 2024 · 0 comments

Comments

@cuishuang413
Copy link

Greetings,

I'm seeking assistance with my application that requires an immediate (abrupt) stop of the motor using software commands in full SPI mode. I am unable to incorporate any additional hardware modifications to the driver as indicated in the datasheet's "Emergency Stop" section. Is there a specific command or approach to halt the ramp generator and immediately stop the motor via SPI commands without undergoing any deceleration process? It's important to note that deactivating the DRV_ENN pin is not a feasible solution for my case, as I need to avoid the motor entering a freewheel state and maintain the holding current to act as a "brake" for the motor. Besides, disabling DRV_ENN doesn't suffice since the ramp generator continues to operate, causing the XACTUAL to move uninformed of the DRV_ENN status change. Could anyone direct me towards a solution for this issue?

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant