Using PEx 10.4, I configured two ExtInt_LDD components using two pins of the same GPIO port. Both components are auto initialized but are configured to be disabled initially.
When using this configuration, the processor never gets to code after the call to PE_low_level_init() that is made in main() [defined in ProcessorExpert.c]. The system basically seems to hang after calling __set_BASEPRI(CPU_INT_PRIORITY); which effectively enables interrupts.
Further investigation shows that what seems to be happening is that Cpu_ivINT_PORTB() [in Cpu.c] is being called continuously even though
a) both of the ExtInt_LDD components are disabled, and
b) both of the ExtInt_LDD components are configured to interrupt only on an edge.
Cpu_ivINT_PORTB() calls the two service routines (that do nothing since the interrupts are disabled) but I cannot figure out why the PORTB interrupt is being called in the first place.
Any help on how to fix this will be appreciated!!
Thanks,
James