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
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?