hamster

8 digit frequency counter

Recommended Posts

I've just finished my 8 digit frequency counter - I'm just waiting for a GPS module to arrive so I can use it as the reference timesource.

Here's a block diagram of the project:

Freq_counter_block.png

And here is a photo of it in action, when using a one pulse per second generated from the local Xtal as the reference.

Freq_counter.png

Full source is up on my wiki at http://hamsterworks....equency_counter

This post has been promoted to an article

  • Like 2

Share this post


Link to post
Share on other sites

I've updated the project to now work at up to 100MHz by added a DDR Input to the edge detector.

Here is a video of it displaying what should be a 96.875 signal - the xtal is about 20ppm fast, when using the Papilio One as a reference. Only the last digit flicks up and down, until I touch the oscillator toward the end. Note the ghetto twisted pair required to get the test signal onto the Papilio One :-). The +- 20Hz dip at the end is when I put my finger on the Nexys2's oscillator!

And just to prove my loathing the the Basys2's oscillator is well founded, here is a video comparing the stability of the Nexys2 and Basys2 boards:

Share this post


Link to post
Share on other sites

And finally the Digilent GPS PMOD has arrived - everything works as expected.

Freq_counter_gps.png

Jack, my Papilio One's crystal is about 20 parts per million too slow - what ya gonna do about it? I need my extra 698Hz! :P

Share this post


Link to post
Share on other sites

Hello all,

 

maybe I have a stupid question but I'm unsure how to connect the Display unit from Dealextreme to the papilio. As far as I found this Display likes a Vcc of 5V. This 5V obviously is supplied through the Papilio. The IO of the Xilinx isn't 5V tolerant isn't it? Can someone explain me, why it is possible to connect the papilio and the display anyways please? 

 

Should I study the datasheet more in depth?

 

Regards

Peter

Share this post


Link to post
Share on other sites

Thanks Mike for clearing things up

 

I was confused because of Page 4 pin function in the data sheet  Vdd is stated to be 5V +/-10% 

On page 12 electrical characteristics Vdd is called logic supply voltage in the range -0.5 to 7V

 

Now I understand the tables on page 12 a way better. 5V for Vdd is recommended but not a demand. For a logical high 0.7Vdd is the minimum value (2.31V with 3.3Vdd) and low should be beyond 0.99V

 

Again thanks a lot

 

Many regards 

Peter

Hi Peter

 

The display also works at 3.3V.

 

Mike

Share this post


Link to post
Share on other sites

Yes, I already have that one, but no voltages discussed on page 4, and no tables on page 12, so I was wondering if someone had found another datasheet, either for the board it self, or the chip

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now