Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Maximum measurable frequency

Status
Not open for further replies.

Neyolight

Full Member level 5
Joined
Aug 29, 2011
Messages
306
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Location
World
Activity points
3,624
Hello Everyone!

I want to know what is the maximum frequency my PIC can measure with the following characteristics :

1) Im using PIC18F4620 on a PICDEM 2 PLUS demo board

2) Using Internal oscillator ( OSC = INTIO67) at 8MHz

3) Instruction clock = System clock/ 4 = 2Mhz

4) Frequency reading at pin RC1

5) Timer 0 is configured to create an overflow every 0.06 sec

6) Timer 1 reads the rising edges on RC1

What is the maximum frequency that I can measure with this configuration? Regardless of the frequency source, what is the maximum frequency my PIC is programmed to measure?

Thanks :smile:
 

dear I think your timer will define this parameter.
if you set T=0.06sec
f=1/T=16.667Hz
It may be false if anyone agree or disagree please confirm.
 
I am agreed to shahbaz.ele
your timer will define measuring frequency.
 

Timer1 is reading the pin RC1, so I think Timer1 time will define the frequency as calculated by shahbaz.ele
 
Timer 0 is only creating the time 0.06 while Timer 1 is capturing the input frequency at RC1.

Frequency = Input edges/ Time

Unsure what is the maximum frequency that Timer1 can capture accurately!
 

its timer 1 measuring the RC1 pin reading frequency.
surely
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top