Python GPIO Library for the Rock64 (R64.GPIO)
#10
I'd like to report my test on the interrupt of the GPIO, I wish this will be help for the development.


Hardware : Rock64 4GB (Rock64 V2 2017-0713)
Software : bionic-minimal-rock64-0.6.31-209-arm64 (kernel 4.4.120).


I tried interrupts with gpio-int-test.c on physical pin 16 (GPIO3_A5):
Code:
root@rock64:~# ./gpio-int-test 101

poll() GPIO 101 interrupt occurred
..
poll() GPIO 101 interrupt occurred

It had responses, but I found the followings :
  1. once gpio-int-test started, pin 16 had already been pulled-up internally to 3.2 V.
  2. it was difficult for me to pull-down the pin. With a 20K resistor pull-down to ground, interrupt was triggered repeatedly. With a 10K resistor, pin voltage became 0.443V, and it became more stable. When I opened the 10K resistor, interrupt was triggered.

The problem is : 
10K pull-down resistor is quite small, and even with the 10K resistor, the pin voltage is still 0.443V, not close 0V. There should be something wrong.
  Reply


Messages In This Thread
RE: Python GPIO Library for the Rock64 (R64.GPIO) - by edupv - 04-11-2018, 10:02 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  OpenWRT on the Rock64 CanadianBacon 6 1,283 06-10-2022, 05:43 PM
Last Post: anchor00
  Rock64 bricked shawwwn 6 1,828 01-29-2022, 05:49 AM
Last Post: shawwwn
  Rock64 board not working, no HDMI no Ethernet. EDited 2 917 01-26-2022, 08:46 AM
Last Post: TRS-80
  Rock64 <--> Rock64 Serial Connection mark1250 1 693 12-23-2021, 09:27 PM
Last Post: barray
  Are you guys still using Ayufan's OMV on your Rock64? AkiraSensei 0 682 11-26-2021, 07:01 PM
Last Post: AkiraSensei
  Rock64 kernel panics clay 15 4,561 10-17-2021, 06:30 PM
Last Post: Rocklobster
  Pine Rock64 eMMC lifespan moonspell79 3 1,861 08-19-2021, 06:46 PM
Last Post: bcnaz
  Rock64 No Audio - Solved wbecks 12 22,176 08-13-2021, 01:23 PM
Last Post: blakeadam
  Trustzone support for Rock64 capablegh 1 1,324 07-17-2021, 10:15 AM
Last Post: capablegh
  rock64, compile problems "illegal instruction", "memory fault" -> ddr_333Mhz? klausfelix 0 899 07-02-2021, 03:13 PM
Last Post: klausfelix

Forum Jump:


Users browsing this thread: 1 Guest(s)