| Open Projects | oLogic - Oscilloscope Logic Viewer oLogic 1.4 - NEW Logic Viewer SSX32 - Serial Servo Driver
|
|
PIC vs AVR
There are several debates and fan sites for each, here is quick link list for you;
Pic vs. AVR Smackdown
www.ladyada.net
Which is better.. PIC or AVR ?
www.electricstuff.co.uk
Just FYI, the thing I hear most is that the PIC uses four (4) clock cycles to execute an instruction vs. the AVR only uses 1.
This is true of most PIC's (I wont go into it here) However, this realy doesnt matter at we are not comparing apples to apples.
Let me explain;
An AVR with a 10 MHz crystal will execute at 10 MIPS. A PIC with a 10 MHZ crystal will execute at 2.5 MIPS or 10 MIPS. Ok, confusing.
I will go into more detail. A PIC has a built in PLL to multiply the clock x4, so a 10 MHz clock becomes a 40 MHz clock internaly. Since we need four clock
cycles to execute an instruction, we might as well say a PIC's MIPS is equal to Internal Clock divided by 4.
So when someone says there AVR runs at 10 MIPS with a 10 MHz crystal, so what, so does the PIC.
Ok, just my two cents.
|