PSOC 5LP Frequency measurement is unstable

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
wiyu_4570436
Level 1
Level 1

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
lock attach
Attachments are accessible only for community members.
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

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
lock attach
Attachments are accessible only for community members.
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

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

PWM duty cycle + freq measurement

moto

0 Likes
Len_CONSULTRON
Level 9
Level 9
Beta tester 500 solutions authored 1000 replies posted

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