Hi, I have made a PLL with a PIC6F84 for clock recovery from a synchronous bit stream. My approach was setting up the timer for overflow at each bit period and input the bit stream to the INT pin. At every high-to-low signal transition, the interrupt routine compares the timer with a fixed value to knows if the timer have to be delayed or advanced. In both cases, the software changes the timer by a liltle amount, say 1/64 bit period. My questions are : - Is there a better way for doing this ? - What will be the best timer correction amount ? Thanks for any comments. --- Marcelo Puhl mark@catolico.com.br http://py3ss.cjb.net -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body