-
Beta Was this translation helpful? Give feedback.
Answered by
dracc
Oct 28, 2025
Replies: 1 comment
-
|
I had missed the SPI dialect in use. This means I'm currently limited to 16 buttons max, as the RP2040's SPI device can't send more than that at once. Maybe a PIO based SPI device could do better but I'm fine with this for now. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dracc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

I had missed the SPI dialect in use.
I assumed that 8 bits per transfer, for a total of 4 transfers per button array, would work.
The current firmware wants all the buttons to be transferred at once.
This means I'm currently limited to 16 buttons max, as the RP2040's SPI device can't send more than that at once. Maybe a PIO based SPI device could do better but I'm fine with this for now.