Well, most of it has to do with industry dynamics and speed.
The AVR runs 1 instruction per clock, whereas the PIC runs 1 instruction per 4
clocks, this being offset by the AVR's speed limitation of 10MHz (10MIPS) (the
PIC can be 5MIPS at 20MHz, some do 30MHz) and the newer line of pics (18cxxx)
which do 1 instruction per clock and have a limit of 10 mips at 10MHz.
The AVR is not as easy (it is easy, but not as easy) to get ahold of for the
hobbyist, and does not have the wide device selection PIC has.
Lastly, the OTP PIC parts are much less expensive than a comparable AVR part,
which makes the PIC very attractive to those who need to buy in quantity. If
the PIC can do the job, and you need a million of them you can go cheaper witht
the PIC than the AVR. This is one reason why PICs are gaining market share more
quickly than AVR as well, Microchip can make more of them, and thus can lower
the prices due to bulk manufacturing. Shuttling a few off into the hobbyist
market for a little more is easy.
So, use AVR if you need raw speed ( > 5MIPS, since the 18c line is still
expensive, and not yet flash), and use PIC for just about everything else... ;-)
There are other reasons, but that is pretty much how I do things.
-Adam
(And no, I didn't forget scenix (wrt speed), but the question wasn't about
scenix)
Albert Goodwill wrote:
{Quote hidden}>
> I know, this sort of questions sometime creates religious-war like endless
> discussions.
> But I would like to learn from your experience on PIC and AVR micros.
>
> Why/when/where PIC and Why/when/where AVR?
> Their pluses and minuses?
>
> Thanks.
>
>
.....albertgoodwillKILLspam
@spam@yahoo.com
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
>
http://im.yahoo.com