ddddd

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ddddd

793 Views
anto
Contributor II

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?

 

0 Kudos
Reply
1 Reply

788 Views
Alice_Yang
NXP TechSupport
NXP TechSupport
0 Kudos
Reply