Searching \ for '[PIC]: TMR0 with an external clock source' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/time.htm?key=clock
Search entire site for: 'TMR0 with an external clock source'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: TMR0 with an external clock source'
2001\05\17@125146 by jamesnewton

face picon face
We don't seem to have any samples of the use of TMR0 with an external clock
source...

...anyone have some sample code that does this?

Is it ok to clock the TMR0 bin at a higher rate than the internal clock?

Can you clock TMR0 at a high rate than the clock in the PIC can run?

---
James Newton (PICList Admin #3)
spam_OUTjamesnewtonTakeThisOuTspampiclist.com 1-619-652-0593
PIC/PICList FAQ: http://www.piclist.com or .org

{Original Message removed}

2001\05\17@131258 by Dan Larson

flavicon
face
On Thu, 17 May 2001 09:50:49 -0700, James Newton wrote:

>We don't seem to have any samples of the use of TMR0 with an external clock
>source...
>
>...anyone have some sample code that does this?
>
>Is it ok to clock the TMR0 bin at a higher rate than the internal clock?
>
>Can you clock TMR0 at a high rate than the clock in the PIC can run?
>


Yes, AFAIK, you can clock it up to 50Mhz. Thats how those PIC frequency
counters work, along with a little trick that uses the prescaler as an
extension of the counter which is read by clocking TMR0 externally with
an extra output pin until TMR0 changes, effectively obtaining the prescaler
contents by keeping track of the number of pulses needed to make the
prescaler roll over.

Dan

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2001\05\18@025804 by Michael Rigby-Jones

flavicon
face
The infamous PIC based frequency counters use TMR0 driven externaly via the
pre-scalers if I'm not mistaken.  And I often am.

Mike

> {Original Message removed}

More... (looser matching)
- Last day of these posts
- In 2001 , 2002 only
- Today
- New search...