Re: Maximum speed, all ports as I/O



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


.


Quantcast