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:5911 | Replies:2        Print      Only Author   [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

792

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
792
Posted at 2/23/2018 09:44:00        Only Author  2#
Reply

Use props Report

142

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
142
Posted at 5 hour before        Only Author  3#
The article was full of valuable insights. I used the DOP-C02 Exam Simulations to get promoted and earn more. Now, it’s available for free. Best of luck with your career!
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