- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
dear all,
i am using CY8C4245AXI-483. i want to measure frequency from 48Hz to 15000Hz.
at present i am using TCPWM_P4 AS TIMER WITH RELOAD AND CAPTURE ON RISING EDGE WITH CAPTURE AND TC INT.
THIS WORKS FINE BUT I WANT FREQUENCY MEASUREMENT FROM 4000 TO 15000 Hz WITH RESOLUTION OF ATLEAST +/-5Hz.
I WAS TRYING 32 BIT UDB COMPONENT FOR CAPTURING. BUT CONFUSED REGARDING CAPT. VAL AND ISR ROUT.
PL. HELP.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
dear bob,
i can't understand what u r saying.
it is not possible to get reading after 1 sec.
i am attaching project. pl. help. because i am unable to get resolution below 80Hz.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A 16bit wide solution will be required. You'll need a 1second timer to capture the count. When captured use an interrupt to reset the timer and start again.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
dear bob,
i have tried a lot. what u r saying is the only possible solution for accurate measurement of frequency at the cost of 1 sec. sampling. clock speed is the limitation for capture int. driven system.
thanks a lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
dear members,
i have shown the same program of which zip file was attached.
i want +/- 5 Hz resolution at 15000Hz. which is not possible with my program and also by KBA87496.
is it their any way to get capture value/intrpt. in 32 bit udb mode?
pl. help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please take a look at the code example:Project #042: Frequency Measurement | Cypress Semiconductor
Hope this helps.