Quantcast
Viewing all articles
Browse latest Browse all 4909

General • Re: PIO multiple input passthrough configuration

Regardless of RP2040/RP2350, there is only _one_ set of pin configurations, so you can only (usefully) call pio_sm_set_in_pins() once - if you call it in a loop like you are, each subsequent call overwrites the previous.
Good catch !

Also be aware that MOV at input just masks to 0 unwanted bits (IN_COUNT), and you need to set up OUT_COUNT properly, otherwise you can end up with those 0s written on unintended pins.

Statistics: Posted by gmx — Tue Oct 15, 2024 12:54 pm



Viewing all articles
Browse latest Browse all 4909

Trending Articles