Hi,
I'm using ECAP2 module to capture a fairly slow PWM signal (50Hz) on GIO25.
My signal consists of a falling edge, a 1.25ms delay, a rising edge and another 8.75ms delay before another falling edge.
I have the ECAP2 module setup in oneshot mode, with the event polarities polarities set as needed.
StopWrap is set to 3 events and the interrupt is set to 3 events. This system works well and I can measure my signal with great precision. I can also capture on only two events with success.
However when I want to simply enable on 1 event (the falling edge of the first capture event) I set Wrap to 1, Interrupt to 1 event and despite the CAP2.ECEINT and CAP2.ECFLG showing a 1 for the first capture event, no interrupt is generated.
I was unable to find any errata on this issue and wondering if anyone has encountered something like this before.
Thanks
Stomp!.