cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1

wiyu_4570436
New Contributor

Hello,

I create a project to measure the frequency of a 500kHz-600kHz square wave per 100us as below. But the result is very unstable varying form 400kHz - 1000kHz.

Anyone has a simple and stable frequency measurement solution?

Capture.JPG

0 Likes
1 Solution
MotooTanaka
Esteemed Contributor

Hi,

I wonder if my sample at following topic can be a hint

PWM duty cycle + freq measurement

moto

View solution in original post

0 Likes
2 Replies
MotooTanaka
Esteemed Contributor

Hi,

I wonder if my sample at following topic can be a hint

PWM duty cycle + freq measurement

moto

View solution in original post

0 Likes
Len_CONSULTRON
Honored Contributor II

wiyu,

Is the frequency you are trying to measure stable?  The reason I ask, is that you precondition your input with a divide-by-20 frequency divider.  Any frequency fluctuations will be averaged across 20 input cycles.

If you share your project, I will try to reproduce your results.

Len

Len
"Engineering is an Art. The Art of Compromise."
0 Likes