Skip to content

using PIO on Pico for STEP/DIR interface #143

@Chr157i4n

Description

@Chr157i4n

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions