GPIO performance - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4) +--- Forum: General Discussion on PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=3) +--- Thread: GPIO performance (/showthread.php?tid=15057) |
GPIO performance - sgjava - 10-08-2021 I'm running Armbian on my A64 2G Rev B and driving the GPIO pins with GPIOD and MMIO (userspace Linux). With GPIOD I get around 370 KHz doing write toggle. With MMIO is shows 2588 KHz, but on a scope it's really around 630 KHz. This same code works fine across multiple other boards https://github.com/sgjava/java-periphery#gpio-performance-using-perf. My mapping file isĀ https://github.com/sgjava/java-periphery/blob/master/src/main/resources/pinea64.properties Is this reasonable? |