Title: [RK3288-Reload] How to handle interrupt using GPIO? [Print This Page] Author: fireworks Time: 2/21/2018 17:47 Title: [RK3288-Reload] How to handle interrupt using GPIO? Hi, I'm using RK3288-reload with linux.
Using RK3288 as master board, I connected SPI pins(MOSI, MISO, CLK, CS) to slave board.
Slave board has nIRQ pin and the pin goes low (normal high) every 1second.
I wanted to use this pin as a interrupt, so I connected GPIO5_C2 pin at the RK3288-reload.
I set "/sys/class/gpio/gpio178/direction" to "in" and checked value.
The value works fine (LOW signal -> value is 0 / HIGH signal -> value is 1).
But I don't know how to control with this GPIO pin as a interrupt.