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

Interfacing (DSI, CSI, I2C, etc.) • Re: RPI 5 GPIO serious timing issues

$
0
0
Add pcie_aspm=off to /boot/firmware/cmdline.txt and see if that fixes it.
Yup, that fixes it.

If it does, then you should adapt your program to spawn a separate thread that just reads the state of the GPIO in a loop. See the RP1 datasheet - 3.3.1.3. https://datasheets.raspberrypi.com/rp1/ ... herals.pdf
Is spawning a thread necessary? Can't I just block and read the value of the GPIO line until it actually is the value I set it to?

Statistics: Posted by NikitaLita — Sun Mar 03, 2024 1:48 pm



Viewing all articles
Browse latest Browse all 5077

Trending Articles