Hello,
I am writing unit tests for a module that requires a GPIO pin interrrupt (XINT1). Is it possible to software emulate the GPIO pin interrupt?
I tried the following:
1. Set PieVectTable.XINT1 = &TestIsr;
2. Set PieCtrlRegs.PIEIER1.bit.INTx8 = 1;
3. IER |= M_INT1;
3. Set IFR |= M_INT1;
4. Put a breakpoint in TestIsr
I am expecting the program to break at the TestIsr breakpont, however it always ends up in SEQ1INT_ISR. Why is this happening?
My program is not doing anything with the internal ADC.
After the program stopped in the SEQ1INT_ISR, PIEIER1 = 0x08 and not 0x01.
Why is this happening?
Stephen