Atmel had some difficult times as their wide product range means AVRs are small part of their business, so other markets can take priority over AVRs for production capacity.So every parameter becomes important when it comes to selecting a microcontroller.
Here we are comparing two most commonly used Microcontroller- PIC Microcontroller and AVR Microcontroller. Here they are compared on various levels which will be helpful in selecting microcontroller for your project. It is very important that the information should be gathered as much as possible as this would play an important role in choosing the right microcontroller. In this article the two competing microcontroller brand PIC and AVR will be compared on variety of parameters. Depending upon the need of project to compare the two, look at the following parameters such as. Avr Studio 4.18 Series Such AsAVR are better known for low-voltage operation than the older PIC series such as PIC16F and PIC18F because these PIC series used chip-erased method that need at least 4.5V to operate, and below 4.5V PIC programmers have to use row-erase algorithm which cannot erase locked device. Also the current ATtiny1634 has improved and comes with sleep modes to reduce power consumption when brownout is used which is very useful in battery powered devices. AVR has defined 6 and 10-way ISP interfaces, which makes it easy to use whereas PIC doesnt have it, so PIC programmers comes with flying leads or RJ11 sockets which are difficult to fit in the circuit. However one can use external chips, such as FTDI USB to serial chips, Microchip Ethernet controllers or Philips CAN chips. Below are some important parameters which will explain the ease of development environment. PIC development is done on MPLAB X, which is known to be the stable and simple IDE compare to AVRs Atmel Studio7 which is of large 750MB size and is a bit clunky with more add-on features which makes it difficult and complicated for newbie electronic hobbyists. The AVR is programmed through using tools such as JTAGICE and AtmelStudio7. However the users are switching to the older versions of AVR Studio such as 4.18 with service pack3 as it runs much faster and has basic features for development. The PIC has bought out Hi-tech and have launched their own compiler XC8. This is completely integrated into MPLAB X and functions well. Avr Studio 4.18 Code And UseBut WINAVR is ANSI C based on GCC compiler which makes it easy to port code and use standard libraries. Avr Studio 4.18 Professional Compilers ThatThe free 4KB limited version of IAR C Compiler gives a flavour of professional compilers that costs much. Since the AVR is designed for C in the beginning, the code output is small and fast. The paid version are available with more optimisation however the free version is not well optimised. ![]() Although MPLAB includes macros to simplify bank switching but its tedious and time consuming. The PIC series has some microcontroller series much faster but again limited to one accumulator. In terms of availability then the PIC has managed to deliver the products in stipulated time compare to the AVR as Microchip always had policy of short lead times.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |