Skip to content

Use new pio functions#766

Open
peterharperuk wants to merge 2 commits into
raspberrypi:developfrom
peterharperuk:us_new_pio_func
Open

Use new pio functions#766
peterharperuk wants to merge 2 commits into
raspberrypi:developfrom
peterharperuk:us_new_pio_func

Conversation

@peterharperuk

Copy link
Copy Markdown
Contributor

We twiddle input_sync_bypass directly in the pio spi example. Use the new pio_set_input_sync_bypass_with_mask64 instead.

Run the loopback example at full speed and improve it so it's more obvious when the example doesn't work.

We twiddle input_sync_bypass directly in the pio spi example. Use the
new pio_set_input_sync_bypass_with_mask64 instead.

Run the loopback example at full speed and improve it so it's more
obvious when the example doesn't work.
@peterharperuk peterharperuk added this to the 2.2.1 milestone Jun 23, 2026
@peterharperuk

Copy link
Copy Markdown
Contributor Author

Depends on raspberrypi/pico-sdk#3024

Comment thread pio/spi/spi_loopback.c Outdated
@peterharperuk peterharperuk marked this pull request as ready for review June 24, 2026 16:21
Comment thread pio/spi/spi_loopback.c
}
}
printf("Example %s\n", match_count == spi_example_runs ? "PASSED" : "FAILED");
assert(match_count == 4);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
assert(match_count == 4);
assert(match_count == spi_example_runs);

(Unless there's a good reason for not doing that?)

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