Skip to content

PIO state machine enable#77

Closed
krischik wants to merge 4 commits into
JeremyGrosser:3.xfrom
krischik:3.x
Closed

PIO state machine enable#77
krischik wants to merge 4 commits into
JeremyGrosser:3.xfrom
krischik:3.x

Conversation

@krischik

Copy link
Copy Markdown

The state machine is not enabled which results in the program not being loaded and no LED lighting up.

krischik and others added 4 commits April 9, 2026 11:15
The function performed Shift_Right (Pin, 1) but then ignored the shifted
value and overwrote Slice with "Pin and 2#111#". The fix now correctly
uses the already shifted value for the mask operation (Slice and
2#111#).  This matches the RP2350 datasheet and resolves incorrect slice
assignments (e.g. GPIO14 was mapped to slice 6 instead of 7), which
caused missing or flickering PWM outputs when pins shared a slice on the
Pico 2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants