[i.MX516] How to use "Active HIGH Interrupt from INT6 from GPIO"

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

[i.MX516] How to use "Active HIGH Interrupt from INT6 from GPIO"

622件の閲覧回数
jjyathefei
Contributor I

I am using i.MX516 multimedia processor to develop a product, and want to use GPIO1_6 to detect external signal.

After reading [MCIMX51RM.pdf], I found there's following description in [Chapter 3 Interrupts and DMA Events].

---------------------------------------------

43 GPIO1 Active HIGH Interrupt from INT6 from GPIO

---------------------------------------------

So, I request an IRQ in 'mx51_babbage.c' like this:

    request_irq(irq, xxx_int, 0, "xxx", NULL);

However, xxx_int() never been called when GPIO1_6 becomes high.

Is there anybody can tell me what's wrong with this?

 

P.S.

If I use the combined interrupt:

-------------------------------------------

50 GPIO1 Combined interrupt indication for GPIO1 signal 0 throughout 15

-------------------------------------------

It works, but which is not what I want ---- I want to use a dedicated interrupt because I plan to use it as FIQ.

タグ(2)
0 件の賞賛
0 返答(返信)