Handling T1024RDB MPIC External Interrupts

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

Handling T1024RDB MPIC External Interrupts

ソリューションへジャンプ
1,265件の閲覧回数
abineshselvaraj
Contributor III

Hi,

We want to simulate the Ethernet PHY interrupt(EC1_INT_N) in T1024RDB board.The EC1_INT_N is connected to IRQ2 pin (External Interrupt) of T1024 CPU. It is understood from the T1024 reference manual (T1024RM) that, the MPIC has to be configured with interrupt vector,priority and sense for IRQ2. Is there any sample code that shows the configuration of MPIC for external IRQs in SDK 2.0. If it is not available, please provide the sequence of routines (present in  MPIC driver (arch/power/sysdev/mpic.c)) to be used for configuring IRQ2 in edge from a character driver.

Please provide some suggestions.

Thanks,

S.Abinesh.

0 件の賞賛
返信
1 解決策
1,087件の閲覧回数
abineshselvaraj
Contributor III

Hi,

The issue got solved, by calling

irq_parse_map () and request irq function.

Thanks,

S.Abinesh.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,088件の閲覧回数
abineshselvaraj
Contributor III

Hi,

The issue got solved, by calling

irq_parse_map () and request irq function.

Thanks,

S.Abinesh.

0 件の賞賛
返信
515件の閲覧回数
shrikantkumar
Contributor I

We are also facing the similar kind of issue in accessing external interrupts. Please share the source code where modifications are done in details. 

0 件の賞賛
返信