No Hardware Interrupts for GPIO
#1
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-interru...pio-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...efinitions
  Reply
#2
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).
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Using GPIO pins smartdave 12 8,528 02-08-2021, 01:49 PM
Last Post: {-DesT-}
Question Which Linux builds enable hardware accelaration? ACE3CGL 1 1,004 07-26-2020, 09:36 AM
Last Post: xmixahlx
  SPI support in GPIO mr_rabbit 2 1,353 07-21-2019, 11:42 PM
Last Post: Wom the Bat
  Hardware issue overheating while booting and fail to boot DIDquest 13 4,928 03-23-2019, 02:50 AM
Last Post: nJoy.

Forum Jump:


Users browsing this thread: 1 Guest(s)