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
#3
(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-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

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!
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Hardware fix for software sound problem on Rockpro64 Ricks Rockpro 0 1,120 04-06-2023, 03:59 PM
Last Post: Ricks Rockpro
  setting permissions on gpio baraqiyal 0 1,293 08-16-2022, 11:37 AM
Last Post: baraqiyal
  Using GPIO pins smartdave 12 23,301 02-08-2021, 01:49 PM
Last Post: {-DesT-}
Question Which Linux builds enable hardware accelaration? ACE3CGL 1 3,232 07-26-2020, 09:36 AM
Last Post: xmixahlx
  SPI support in GPIO mr_rabbit 2 4,687 07-21-2019, 11:42 PM
Last Post: Wom the Bat
  Hardware issue overheating while booting and fail to boot DIDquest 13 17,097 03-23-2019, 02:50 AM
Last Post: nJoy.

Forum Jump:


Users browsing this thread: 1 Guest(s)