When using the PIO, I can specify whether I want the values be left-or right shifted, which allows me to output data MSB or LSB first if I use serial protocol. However, I am in a situation where I need to send 16bits at once via 16 gpios. So whether I shift from left, or right, I always shift the same full 16bits and they always get mapped to the same pins (MSB and LSB). Is there a way to flip this not burning the CPU time? Thanks a lot!
Statistics: Posted by zduka — Sat Jul 19, 2025 1:53 pm