Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
Frequency measurement can be done in PSoC in 2 ways:
1. Capture method for measuring the frequency works only for lower frequencies (< 50 KHz (depends on CPU clock)) because as the time-period of the signal becomes comparable to that of CPU clock , the program flow gets stuck in ISR routine due interrupt within an interrupt.
2. So, for measuring high frequencies use a timer of tick 1 sec and count the pulses using a counter.