I have problem serving interrupts using the MPC5674F. When I debug, it looks like the INTC is not popping the pushing the last interrupt from the LIFO. The CPR never changes once an interrupt is served.
See posted basic example for PIT interrupt on https://community.freescale.com/thread/353953 .
It should work well.
I am using the 5746R - I attempted to use your sample code, but it doesn't seem to work. The CPRn value is remaining un-popped.
Retrieving data ...