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

Step Resolution #6

Open
Sissougg opened this issue Nov 1, 2023 · 3 comments
Open

Step Resolution #6

Sissougg opened this issue Nov 1, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@Sissougg
Copy link

Sissougg commented Nov 1, 2023

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

@uStepperOld
Copy link
Collaborator

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

@Duckle29
Copy link

Duckle29 commented Jul 9, 2024

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.

@zenpai45 zenpai45 added the enhancement New feature or request label Dec 12, 2024
@zenpai45
Copy link
Contributor

I agree with you, this will be implemented in the new year

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

No branches or pull requests

4 participants