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

SDK • PIO PPM Input - Measurement

$
0
0
help me figure out what to do with PIO. I want to measure the width between pulses. at the maximum frequency of 133 MHz. After PIO init the program hangs.

thanks.

.program ppm_decode

.wrap_target

pull block
mov x, osr

loop:
wait 1 pin 0
mov y, x
count:
jmp pin done
jmp y-- count
done:
mov isr, y
push block
jmp loop

.wrap

https://github.com/karu2003/pico_ppm/tr ... er/ppm_dec

Statistics: Posted by ka_ru — Sun May 25, 2025 7:22 am



Viewing all articles
Browse latest Browse all 8037

Trending Articles