PINE64
No Hardware Interrupts for GPIO - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=98)
+--- Forum: General Discussion on ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=99)
+--- Thread: No Hardware Interrupts for GPIO (/showthread.php?tid=6700)



No Hardware Interrupts for GPIO - pantera - 10-24-2018

Using either python or java, there is no way to set an interrupt on a GPIO pin. Instead, you must poll, wasting valuable CPU. In other words, the modules available to read pins as input or output do not support setting callback functions as RPi.GPIO does.

This has been available since 2013 on the Raspberry Pi, but is not supported by any of the modules on the Rock64. See:

https://raspi.tv/2013/how-to-use-interrupts-with-python-on-the-raspberry-pi-and-rpi-gpio-part-3

The only modules I can find are Leapo and all callbacks are marked as "Not yet implemented." Further doc says that interrupts are not supported in the kernel. This makes the GPIO header useless for real applications.

https://github.com/Leapo/Rock64-R64.GPIO/wiki/Function-Definitions


RE: No Hardware Interrupts for GPIO - fmotsch - 09-10-2020

Due to this I use the rock64 only as database and fileserver. eMMC is more reliable.
For hardware applications there is the Rasperry Pi. Having no GPIO interrupts really sucks.
Polling is no option (for me).


RE: No Hardware Interrupts for GPIO - Badger - 05-08-2021

(10-24-2018, 05:09 AM)pantera Wrote: Using either python or java, there is no way to set an interrupt on a GPIO pin. Instead, you must poll, wasting valuable CPU. In other words, the modules available to read pins as input or output do not support setting callback functions as RPi.GPIO does.

This has been available since 2013 on the Raspberry Pi, but is not supported by any of the modules on the Rock64. See:

https://raspi.tv/2013/how-to-use-interrupts-with-python-on-the-raspberry-pi-and-rpi-gpio-part-3

The only modules I can find are Leapo and all callbacks are marked as "Not yet implemented." Further doc says that interrupts are not supported in the kernel. This makes the GPIO header useless for real applications.

https://github.com/Leapo/Rock64-R64.GPIO/wiki/Function-Definitions

Thanks for posting this.

I have been doing some research (been stung before with SBC's not living up to their expectations) as I wanted to buy this board for a project, but I will need interrupts.
I've also seen that the GPIO, and SPI is slow.

Is this still true?

Thanks!