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

Troubleshooting • Re: Are RPi5 GPIOs slower than RPi4 GPIOs?

$
0
0
GPIO writes are serialised across PCIe. To get reliable, repeatable timings the simplest solution is to disable ASPM -

Code:

echo performance | sudo tee /sys/module/pcie_aspm/parameters/policy
Userspace libraries that use libgpiod underneath when accessing hardware are slow. Each gpio operation incurs a syscall.

Statistics: Posted by jdb — Tue Oct 08, 2024 8:53 am



Viewing all articles
Browse latest Browse all 4192

Trending Articles