Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[RK3288-Reload] How to handle interrupt using GPIO?

47

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
47

[RK3288-Reload] How to handle interrupt using GPIO?

Posted at 2/21/2018 17:47:58      View:4196 | Replies:1        Print     [Copy Link] 1#
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.

Can you give me some information how to handle interrupt in RK3288-reload?
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list