Re: Maximum speed, all ports as I/O
- From: "John Speth" <johnspeth@xxxxxxxxx>
- Date: Thu, 6 Mar 2008 13:34:46 -0800
At the moment I'm using the following with my PIC16F684:
__CONFIG(FCMDIS & IESODIS & BORDIS & UNPROTECT & MCLRDIS & PWRTEN &
WDTDIS & INTIO);
With this setting, the CPU clock is running at 4 MHz. I've heard tho
that it can run at 16 MHz. (I'm not using an external clock).
Does anyone know what I've to do to get it running at its top speed,
and with all pins set to I/O?
Look at fig 3-1 of the datah***. You'll see the internal HF osc is 8 MHz.
You can't get it any higher than that without an external clock source.
So if the CPU clock is one half of the in HF osc, then you'll need a 32 MHz
external clock or crystal to achieve a CPU clock of 16 MHz. You'll need to
make sure your part is graded to run at that speed.
You'll also need to become comfortable with reading the data sheets. You
won't be able to do much with the device if you can't read the data ***.
JJS
.
- Follow-Ups:
- Re: Maximum speed, all ports as I/O
- From: Thad Smith
- Re: Maximum speed, all ports as I/O
- References:
- Maximum speed, all ports as I/O
- From: Tomás Ó hÉilidhe
- Maximum speed, all ports as I/O
- Prev by Date: Re: Designing a protocol for the first time
- Next by Date: Re: quieries related to math handling in micro controllers
- Previous by thread: Maximum speed, all ports as I/O
- Next by thread: Re: Maximum speed, all ports as I/O
- Index(es):