[time-nuts] 5 MHZ PIC PPS Divider?

Stanley Reynolds stanley_reynolds at yahoo.com
Tue Apr 15 21:39:27 EDT 2008

----- Original Message ----
From: Bruce Griffiths <bruce.griffiths at xtra.co.nz>
To: Discussion of precise time and frequency measurement <time-nuts at febo.com>
Sent: Tuesday, April 15, 2008 7:54:21 PM
Subject: Re: [time-nuts] 5 MHZ PIC PPS Divider?

Stanley Reynolds wrote:
> <snip>
> "Using a ripple counter is a particularly bad idea, guaranteeing reliable 
> sampling is likely to be difficult to impossible unless the counter is 
> capable of reliable operation at several GHz.
> The problem being the ripple clock propagation delay from one flipflop 
> to the next. For this counter the input clock to output transition delay 
> is typically over 4nsec whilst the clock to Q0 delay is about 1.7ns a 
> difference of 2.3 cycles at 1 GHz.
> Bruce"
> Yes but if the PIC controls the counter Hold control you should have more than enough time for the counter to settle on the order of  > .5sec < 1 sec when measuring a PPS signal. The chip cost is abt 8 USD . I was looking at this device because of it's speed and low cost the ripple delay was just a trade off, just as the low speed interface to the PC and limited data collected is a trade off.

You still need a 1GHz synchroniser (ECL dual D flipflop or shift 
register) for reliable operation when using the synchronous hold input 
(dont try using the asynchronous hold function as it is much more 
difficult to get this to work reliably).

Range is only 256 ns so that when testing an oscillator with a 
relatively large instability or frequency offset count wrapping will be 
a problem.

I was thinking of using a counter in the PIC for extending the range, could also cut the clock rate if needed, but a 16 bit counter in the PIC if it would work at 38 Mhz.
I notice that the chip has a number of controls, the asynch start and synch start as well as the low to high transition on the clock input: 
Table 2 the sequential truth table list the functions 
When you say reliable what is the error you mean ? A missed count of 1 out of a 100 should be acceptable.
Page 7 lists several application notes "AN1504/D − Metastability and the ECLinPS Family"
I think this is what you are trying to tell me, if so I will study it. 
Or any reference you could recommend ? 
On-line references appeal to my cheap nature, and I want it now conditioning.

time-nuts mailing list -- time-nuts at febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

More information about the time-nuts mailing list