Describe the feature
The Raspberry Pi Pico has PIO channels that can be used to offload at least the switching of the STEP pin.
I think the best way to implement this cleanly is with an additional MotionControl module (e.g. TmcMotionControlStepPIODir), which then uses a PIO for the STEP pin.
This is not necessary for EN and DIR.
Ideally, this should be implemented for both MicroPython and CircuitPython within this module. Unfortunately, the interfaces for accessing the PIOs differ:
https://docs.micropython.org/en/latest/rp2/tutorial/pio.html
https://docs.circuitpython.org/en/latest/shared-bindings/rp2pio
Describe the feature
The Raspberry Pi Pico has PIO channels that can be used to offload at least the switching of the STEP pin.
I think the best way to implement this cleanly is with an additional MotionControl module (e.g. TmcMotionControlStepPIODir), which then uses a PIO for the STEP pin.
This is not necessary for EN and DIR.
Ideally, this should be implemented for both MicroPython and CircuitPython within this module. Unfortunately, the interfaces for accessing the PIOs differ:
https://docs.micropython.org/en/latest/rp2/tutorial/pio.html
https://docs.circuitpython.org/en/latest/shared-bindings/rp2pio