IRQ12

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

IRQ12

1,100件の閲覧回数
xyxyxyxyxyxyxbb
Contributor I

I have programed, when the Pin of IRQ12 is high, it gives an interrupt. But when the IRQ12 pin goes to high, the flag in SIU_EISR is set, but the MPC5554 goes not

to the ISR. Ihave programed the INTC in SW mode. In the SW table the address of the ISR is set to vector 50. The SIU is programmed as follows.

SIU_PCR138 |=0x0903;   // Input buffer enable, weak pull-up

SIU_IREER=0x1000;       // IRQ of rising edge of IRQ12

SIU_DIRER=0x1000;       // request IRQ12

 

What is wrong? Can you help me?

 

Best regards

Horst

ラベル(1)
0 件の賞賛
返信
1 返信

1,032件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Do you have set MSR[EE] bit to enable external interrupts?

Do have INTC.CPR.R = 0; to lower current INTC priority to start INTC interrupts?

0 件の賞賛
返信