On Fri, Mar 1, 2013 at 10:40 AM, Azelio Boriani <azelio.bori...@screen.it> wrote: > The metastability from the PPS latching the counter is indeed a problem: > rarely do I see out of range numbers and have to filter them out.
You cannot filter them out. One time you will have bit 10 wrong and you will be able to detect that, but what if it's bit 3, or bit 2, or both? How can you know? What I proposed in a previous message solves your problem: get the PPSReference signal into the Clk10MHz domain before using it. This is the tried and proven way to deal with metastability. I can provide a code snippet later if needed. Cheers, Javier _______________________________________________ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.