We are using S12ZVMC128
The documentation is very confusing and probably misleading in that it does not state in any of usual reference places that PP1_KWP1_PWM1_IRQ does not support rising edge interrupt.
We have selected this pin for Interrupt IO and used processor expert to generate code. Already our hardware is designed and the board has this pin mapped to a port that is used as a switch so we can't change this.
We found that we were only getting falling edge and not getting rising edge interrupt so we checked the code by PE and found the code be different from usual code. It had generated a SetEdge function, which we use to switch from falling to rising edge but here is switching from falling to low edge.
All the reference does not highlight this except when you look at the IRQCR which is the last thing we looked at.
Now we want to know is it possible to get the rising edge interrupt on this PP1 pin or NOT??? This will require us to make new boards!!!
References we looked at MC9S12ZVM Family Reference Manual Rev. 2.5
60 PP1 KWP1 PWM1_1 PWM0_1 IRQ — — — VDDX PPRP/PPSPOff
Page 110 Table 2-7 Port P Pin Functions and Priorities
PTP/KWP I/O General-purpose; with interrupt and wakeup
This is critical and urgent issue for us now.