IRQ12

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IRQ12

381 Views
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

Labels (1)
0 Kudos
1 Reply

313 Views
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 Kudos