Replies: 2 comments 4 replies
-
Reversing the order is not supported by the library. The code changes to make it possible are not trivial. Wire links would be simpler to add. |
Beta Was this translation helpful? Give feedback.
1 reply
-
RP2040 PIO registers has the ability to shift data out LSB first, or MSB first (See chapter 3.2.3 - Registers of RP2040 datasheet). Once set, you would have to re-write the PIO program so that instead of discarding the 24 MSB you don't care about, then the remaining 8 LSB, you would first output the 8 LSB, then discard the remaining. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a small issue with my setup - I'm using RP2040 MCU, and would like to define my D0-D7 pins not in ascending order but in descending. This is due to my pcb layout - without it cannot be made one-sided. So I wonder is there any way I can define PIO pins directly, if its PIO related issue, I'm not sure? Or change somehow that it will go in reverse? I can change it in library code, and use those changes locally only if its smth that is hard to code or make default etc.
Here's my
UserSetup.h
:Beta Was this translation helpful? Give feedback.
All reactions