Hi,
I have been running code on a lpc845 using the SCTimer/PWM peripheral.
I need to capture and read the pulse from 4 different sources.
I have used the following technique to measure the pulse:
capture the counter value on the rising edge of the pulse, then capture the counter value on the falling edge of the pulse and do the difference to get the real value of the pulse.
The system works but when the counter comes to overflow I clearly do not have the exact reading of the pulse anymore. Does anyone have any idea how to solve this issue?