Frequency measurement using PSoC | Cypress Semiconductor
Frequency measurement using PSoC
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.