Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8041

General • Re: RP2040 PIO Input Glitches SM to addr 0 at WAIT GPIO Instruction

$
0
0
Almost lost my minds, I've just retried the tests, and... no glitch.
I changed something which stopped the glitches, and couldn't have figured out what.

But here it is:

GOOD

Code:

            //     .wrap_target    0x38ba, // 22: wait   1 pin, 26       side 1    0x303a, // 23: wait   0 pin, 26       side 0            //     .wrap

BAD

Code:

            //     .wrap_target    0x389a, // 22: wait   1 gpio, 26      side 1    0x301a, // 23: wait   0 gpio, 26      side 0            //     .wrap
Can you spot the difference?
PIO-glitch-5.gif

Statistics: Posted by gmx — Wed Jun 04, 2025 10:07 pm



Viewing all articles
Browse latest Browse all 8041

Trending Articles