First of all, I am just start to learn Python and C++. There may be some thing simple or obvious that I may be missing, please be kind and point it out if that the case.
Setting up Slushengine is not as simple as it look especially when one try to optimize for torque and speed. I like the how ST SPINFamily Evaluation software that make everything more straight forward. The interface make it really nice and easy to learn and find the best setup for a stepper motor. I am working on writing and interface with TKinter to get the similar interface for Slushengine.
As i mention earlier, i am new to python and kind of force my way thru the code right now. First of all, I would like to post the drive/motor status to the interface (HiZ, UVLO, OCD, Thermal Status, Stall A, Stall B, and etc).
Look like all the command set is there already in the Motor.py and L6470Registers.py. The X.getStatus() will only output a 5 digit integer and it will need more breakdown to make it user friendly. In L6470Registes.py, there are already a complete user error messages list, but don’t look like it is implemented in the slush library.
Wonder if anyone out there can give some pointer on how I can do what I describe above.