No Hardware Interrupts for GPIO
#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


Messages In This Thread
No Hardware Interrupts for GPIO - by pantera - 10-24-2018, 05:09 AM
RE: No Hardware Interrupts for GPIO - by fmotsch - 09-10-2020, 12:38 AM
RE: No Hardware Interrupts for GPIO - by Badger - 05-08-2021, 10:16 AM

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

Forum Jump:


Users browsing this thread: 1 Guest(s)