Skip to content

Y2 Step Pin Not Working #50

Answered by andrewmarles
bear-fighter asked this question in Q&A
Discussion options

You must be logged in to vote

As noted in the map file there, the '3' does not reference the pico pin. It references the pin for the PIO state machine that is used to generate steps.

// Define step pulse output pins.

That line shows that the PIO base pin is 17, and it uses n_axis number of consecutive pins (plus additional ganged axes) so in your case the Y2 step signal is on GPIO20.

The direction pin is not driven by PIO so it is referenced directly.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bear-fighter
Comment options

Answer selected by bear-fighter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants