Open Sissougg opened 10 months ago
Hi,
You can use the function stepper.driver.writeRegister(address, datagram)
to change any setting in the driver chip. however it does require you to study the datasheet of the TMC5130 chip. likewise, you can use the function stepper.driver.readRegister(uint8_t address);
to get the current setting of a given register address in the driver chip
the default setting is alread 1/256 microstepping
best Regards, ustepper team
It would be nice to have a setter/getter for the micro-stepping, as this effectively limits the max acceleration.
I also think that setters for accel/deaccel should guard against over-flow, as it is not transparent to the user that a function that takes a float, is overflowing a uint32 because it's multiplied by 256.
Is there a way to change microstepping resolution during setup in NORMAL mode? What would be the setting for 1/256 microstep? Thank you for your help