Hello HARRY JUCQUOIS,
Do you have valid interrupt routine to service this request?
As you wrote the "Activity" bit is always set, it seems there is interrupt pending on the same source, so the later ones are lost. I guess the two possibilities, one is there is timer interrupt with priority 0 pending there, it may happens when you clear its mask bit and priority is not setting yet; and the second one, there are higher priority interrupts.
You may try below sequence:
1. Reset PIC;
2. Disable all external interrupt of MSE;
3 Set priority and vector of GTVPR (Leave mask bit set);
4. Clear CTPR;
5. Set GCR[M] to be mixed mode;
6. Loop with FRR[NIRQ] to clear all IACK and write EOI;
7. Enable interrupt by GTVPR[MSE];
6. Set CTPR to be required;
7. Enable counting of GTBCR;
8. Enable external interrupt of MSE;
Have a great day,
Lunmin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------