-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add RP2040 displayio.ParallelBus Support #4130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Looks good overall. Just a few minor comments.
#4251 includes the new init code. Sorry for blocking this! |
#4251 has been merged so maybe that un-sticks this PR? |
Hope to get to it this weekend, shouldn't take long (once I figure out how to pull in that other PR to my branch) |
90e4bfb
to
95069ed
Compare
Tested on the Feather RP2040 and works. |
I think this is really close, but there was one of @tannewt's suggestions that looks like it didn't get incorporated yet. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last thing that may be a 2x speedup :-) Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Looks like a change committed after my last rebase changed the state machine construction. I'll have to fix that and the build is failing. |
7669089
to
307d2a9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Thank you!
Adding ParallelBus support for the RP2040.
Modified the standard bus to accept frequency to tune the PIO speed. Modified other ports to ignore this parameter which is optional.
Tested on the Raspberry Pi Pico and the 3.5" TFT (product 2050). Tested the modified build on a feather M4 but without a display attached (just to ensure the parameter did not fail)