I guess I could. It won't sample the incoming data right in the middle, but little offset probably won't mess things up. -Vic -----Original Message----- From: Barry Gershenfeld To: PICLIST@MITVMA.MIT.EDU Date: Fri, 22 Nov 2002 14:13:25 -0800 Subject: Re: [OT]:Need to divide Frequency by 163. > >Hello, > > I am in need to divide a 12.5 Mhz clock by 163. How can this be > >done with a counter? I know that if this division were a power of > two, > >then it would be very straight forward, but this is not my case at > all. > >Any pointers will be greatly appreciated. -Vic > > If only it were an even number this would be straightforward. But > you had to pick 163. Otherwise you divide by 2 at the end and > the result is square. I don't suppose you could fudge it to > 162 or 164... > > Barry > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu > > ********************************* Get your free E-Mail and Homepage Go to http://www.networld.com ********************************* -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu