If this is for a learning expierence, and one 12f629 is good, why not use two pic's. One for input stuff and the other for output? Bill ----- Original Message ----- From: "Olin Lathrop" To: "Microcontroller discussion list - Public." Sent: Thursday, January 05, 2006 9:31 AM Subject: Re: [PIC] Am I crazy? PWM on a 12f629 > Keith wrote: >> The 12F683, does look a lot better and I could run it at 20 Mhz > > Yes, but then you need an external oscillator which will eat a pin or two. > The 12F683 does have a 8MHz internal oscillator as apposed to the 4MHz of > the 12F629, so you get 2x right there. Also since you can use a hardware > PWM generator the PWM resolution and speed can be a lot higher at the same > clock rate. > >> Hmmm, that would be a lot better to capture that 5k input frequency... > > You might still be better off capturing pulses over fixed time periods, > then > low pass filtering a bit to reduce jitter. How fast does the output need > to > be updated? > >> BTW, Microchip does not list PWM capabilities for the 12F683, is the >> website wrong? > > If in doubt, always check the data sheet. I just looked in the > January-March 2006 line card (now known as Selector Guide) and it shows > the > 12F683 as having a CCP module. > > > ****************************************************************** > Embed Inc, Littleton Massachusetts, (978) 742-9014. #1 PIC > consultant in 2004 program year. http://www.embedinc.com/products > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist