Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Electronic Equipment > Microcontrollers 8bit > Re: Pic16f916 q...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 11 Topic 757 of 862
Post > Topic >>

Re: Pic16f916 question; External clock on Timer0

by "la_panza" <adolfo@[EMAIL PROTECTED] > Nov 26, 2006 at 07:26 AM

Ian Malcolm ha scritto:

> 13.56 * 3 / 2 = 20.34
>
> Overclocking the PIC this much should be possible, Substitute a PLL
> based clock for the PIC's crystal, locked to 1.5 * the front end clock.
> Your timer 2 period register could now be loaded with 96. (I haven't
> checked the data sheet, I just scaled your values . . .)

the idea si not bad, though I wish I would keep hardware modifications
to minimum (a schematic has been drawn already and a A-sample  PC-B is
being printed)..

As an alternativa I was considering a dirty trick like reloading the
period register with 94 and 95 alternatively at every timer2 service
routine.. This would add just a little "jitter" between an interrupt
and the next one, but would make a long.term period of 94.5, very close
to needed 94.4 theoretical time.

In normal condition, Timer 2 can work without any reload, this is its
nain advantage over the other timers, but in any case I think that
touching PR2 "on the fly" should be legal and bringing no adverse side
effect....  what do you think?

Adolfo Melilli - ****denone - Italy
 




 11 Posts in Topic:
Pic16f916 question; External clock on Timer0
"la_panza" <  2006-11-25 02:25:05 
Re: Pic16f916 question; External clock on Timer0
"Klaus (DK)" &l  2006-11-25 21:47:48 
Re: Pic16f916 question; External clock on Timer0
"la_panza" <  2006-11-26 02:27:12 
Re: Pic16f916 question; External clock on Timer0
Ian Malcolm <abuse@[EM  2006-11-26 14:35:52 
Re: Pic16f916 question; External clock on Timer0
"la_panza" <  2006-11-26 07:26:37 
Re: Pic16f916 question; External clock on Timer0
"martin.shoebridge&q  2006-11-26 16:37:41 
Re: Pic16f916 question; External clock on Timer0
"la_panza" <  2006-11-26 15:13:51 
Re: Pic16f916 question; External clock on Timer0
"Klaus (DK)" &l  2006-11-27 17:57:56 
Re: Pic16f916 question; External clock on Timer0
"la_panza" <  2006-11-27 10:30:26 
Re: Pic16f916 question; External clock on Timer0
"Klaus (DK)" &l  2006-11-27 23:16:16 
Re: Pic16f916 question; External clock on Timer0
"la_panza" <  2006-11-27 14:38:00 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Nov 20 21:21:32 CST 2008.