Timer 24 | Cypress Semiconductor
Summary: 16 Replies, Latest post by danaaknight on 03 Aug 2014 08:50 PM PDT
Verified Answers: 0
31 Jul 2014 06:50 PM PDT#1
I developed a design for frequency measurement; this design was successfully completed using Timer16 that is clocked by external 10-MHz OCXO.
I'm trying to improve precision, I've tried to replace Timer16 by Timer24. I did the following changes:
1. I Changed this statement from
uiTimSta = Timer16_1_wReadTimer();
2. Updtaed the interrupt flag based on new UM position
However, the frequency output was incorrect. I've tried many options:
1. Replaced Timer24 by Counter24
2. Created a new UM "tmp_timer24_1" and follow the changes that was introduced in this post:
None of mentioned options worked!
Do you have any suggestions? Could you please attach a project that include a working Timer24 with ReadTimer() function that I can build on it?