|  | 
[RK3288-Reload] How to handle interrupt using GPIO?
    
    Posted at  2/21/2018 17:47:58
            
         View:5501
     |
     Replies:1
     
  
     
 
   	
    
  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?
 | 
 |