Hi All,
I'm trying to generate an interrupt on the X PWM's falling edge. My idea was to setup the PWM and count the number of falling edges using PPI & a timer / counter. Once the counter reached value X it would generate an interrupt.
For some reason PPI is not incrementing the count on the timer, even though the GPIOe event is being generated (dummy handler is triggered).
See https://gist.github.com/motters/f17a2043ee3fd42481ddf8d07b2d00f9 for the implementation.
I can post the code on here, just though Gist is easier to view.
Cheers all.