Maker Pro
Maker Pro

PIC micro MIPS

R

Richard Harris

Hi,
im a total newbie and playing with PIC micro's.
I have a pic 16F818 and noticed that it has an internal oscillator
that can be selected from 31kHz to 8MHz. Also the Data sheet for this
pic states that the MIPS = oscillator frequency / 4. so at 4MHz you get
1MIPS. But it
does not state if this is the internal oscillator of the external one.
The external oscillator can run up to 20MHz and the internal 8MHz.
Am i right to assume it means the internal one and so the total number of
instructions
it can execute a second is (8MHz / 4) 4,000,000 ? (assuming each instruction
takes 1 cylce).

Thanks for your time.
 
A

Alexander

Richard Harris said:
Hi,
im a total newbie and playing with PIC micro's.
I have a pic 16F818 and noticed that it has an internal oscillator
that can be selected from 31kHz to 8MHz. Also the Data sheet for this
pic states that the MIPS = oscillator frequency / 4. so at 4MHz you get
1MIPS. But it
does not state if this is the internal oscillator of the external one.
The external oscillator can run up to 20MHz and the internal 8MHz.
Am i right to assume it means the internal one and so the total number of
instructions
it can execute a second is (8MHz / 4) 4,000,000 ? (assuming each
instruction
takes 1 cylce).

Thanks for your time.

The internal oscillator is optional for use (you can save parts for simple
designs).
This one is not very accurate compared to some other X-tals.
For both you must the frequency must be divided by 4 for the instructions.
Some Pics have an internal multiplier, but the 16F not is I remember
correct.

Alexander
 
Top