AnsweredAssumed Answered

SCTimer Falling Edge Event Not Consistently Firing

Question asked by use on Jan 19, 2018
Latest reply on Sep 27, 2018 by Tim Carney

I am currently attempting to use the SCTimer on the LPC54606 to measure pulse widths. The state registers are configured so that when a rising edge occurs, the state moves to 1. When in state 1, a falling edge event is allowed. This event lowers the state back to 0 and triggers an interrupt where I grab the counter data and reset it. This seems to work about 80% of the time but it is occasionally missing the falling edge and so the state remains in state 1. Even with slow pulses (0.5 ms on, 0.5 ms off) it is missing edges and the event doesn't fire. Has anybody else experienced this?