Frequency Range Detector

Frequency Range Detector

Signal Conditioning Application

Many devices have a specific frequency range in which they operate and require the input clock monitored to stay within this frequency. This application can be used to detect if the input clock frequency is within the desired range.

 

 

Necessary Components

  • Any GreenPAK

GreenPAK Diagram

Timing Diagram

Design Steps

  1. Configure GPIO pins as an input for the clock and output for the flag.
  2. Configure CNT/DLY blocks to the Frequency detect mode with a rising edge detect.
  3. Set each CNT/DLY block respectively to the minimum and maximum frequency values.
  4. Configure a LUT to go high when the frequency is outside the desired frequency range.

Resources

GreenPAK Designer files