RT600 sctimer capture function error

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

RT600 sctimer capture function error

971 Views
liwangzhao
Contributor I

I have been developing with the RT600 recently, using the SCTimer's capture function. An external pin triggers the SCTimer to capture a time into a register, which I then read in the interrupt. Most of the time, the moment I read from the interrupt is accurate, or at least the time is increasing incrementally. However, there is a small chance that the time in the CAP register for a certain frame is less than the time from the previous capture, but the next capture time returns to normal. Only this middle frame's time is incorrect. Does anyone know what might be causing this?

0 Kudos
Reply
2 Replies

890 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Unfortunately, there are no similar situations regarding this extrange issue.
Under what circumstances this happens? What is the state of OUTPUTDIRCTRL when this happens?

Best regards,
Omar

0 Kudos
Reply

966 Views
liwangzhao
Contributor I

there is no timer overflow happened,sure

0 Kudos
Reply