IRQ12

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IRQ12

1,131 次查看
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,063 次查看
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 项奖励
回复