How to determine frequency?

Discussion in 'The Projects Forum' started by abbot444, Mar 10, 2015.

  1. abbot444

    Thread Starter New Member

    Mar 10, 2015
    1
    0
    Hi,

    I have been working on oscillators, when I was analyzing an issue I found that the oscillators is generating more frequency than tuned (5.8kHz instead 5kHZ).

    This frequency is connected to IN1 / CLK1 of CPLD. Now I want to know, whether this effects the functionality of CPLD but it seems our module is functionally ok.

    I have two questions here :
    1.how the clock frequency of CPLD is determined, is it based on the required speed we need ??
    2.What happens if the frequency exceeds the specified ??

    Thanks in advance..
     
  2. Dodgydave

    Distinguished Member

    Jun 22, 2012
    4,974
    744
    Use a frequency counter, what is a Cpld, and do you have a circuit?
     
    Last edited: Mar 10, 2015
  3. MikeML

    AAC Fanatic!

    Oct 2, 2009
    5,450
    1,066
    Standard way of reading frequency of any periodic signal is use an oscilloscope to measure the period (f=1/p),

    [​IMG]

    or to use an electronic frequency counter.
    [​IMG]
     
  4. alfacliff

    Well-Known Member

    Dec 13, 2013
    2,449
    428
    the counter is more common than the osciliscope, as well as more accurate and easier to read. the osciliscope is usually used to get a general idea of the frequency and the actual waveform.
     
  5. alfacliff

    Well-Known Member

    Dec 13, 2013
    2,449
    428
    the clock accuracy will affect the timer functions and step timing of the cpld if higher than speced, the timers will be a bit fast.
     
  6. tshuck

    Well-Known Member

    Oct 18, 2012
    3,531
    675
    A CPLD, Complex Programmable Logic Device, is a programmable logic device much like an FPGA in practice, and completely different otherwise. Is is uses a non-volatile configuration.

    Your oscillator running faster means your CPLD will have a different operating frequency - any timers, or time-dependent signals that are derived from your clock signal will be off. That may, or may not, be a problem for your design.

    The oscillator oscillates where its parameters allow it to. Without offering more details, we can't really yell you why it might be off. It is about how it was designed, it doesn't care about what does you need. Presumably, it was selected because it is the frequency you need.

    Likely, your CPLD will be fine up to a few hundred megahertz before you need to check if the deviation will operate the device out of specifications. You can find out in the datasheet.
     
Loading...