4.2 Features of Pic Microcontroller
4.2 Features of Pic Microcontroller
SPEED: When operated at its maximum clock rate, a PIC executes most of its instruction in 0.2 micro second or 5 instructions micro second. HIGH PERFORMANCE RISC CPU INSTRUCTION SET SIMPLICITY: The instruction set consists of just 35instruction INTEGRATION OF OPERATION FEATURES: Power on reset and brown out protection ensure that the chip operates only when the supply voltage is within specification. A watchdog timer resets the PIC if the chip ever malfunctions and deviates from its normal operations. Any one of four clock options can be supported, including a low cost RC oscillator and high accuracy crystal oscillator. PROGRAMMABLE TIMER OPTIONS: Three versatile timers can be characterizing input, control output and provide internal timing for program executions. INTERRUPT CONTROL: Up to 12 independent interrupt sources, which can provide useful interrupting as and when needed. EPROM/OTP/ROM OPTIONS: Development is supported by ultraviolet erasable, programmable parts. Lower cost one time programmable parts support both small and large productions runs. INBUILT MODULES: The PIC micro controller has a number of inbuilt modules like ADC, USART that increase the versatility of the micro controller.
High performance CPU Only 35 instructions All single cycle instruction except for program branches. Operating speed DC20MHz, Clock I/P DC 200ns instruction cycles. Up to 8K x 14 word of flash program memory. Up to 368 x 8 bytes of data memory (RAM) Up to 256 x 8 bytes of EEPROM data memory. Interrupt compatibility (up to 14 sources) Power on reset (POR) Power up timer (PWRT) and Oscillator start-up timer (OST) Watch dog timer (WDT) with its own on chip RC oscillator for reliable operation. Programmable code-protection power saving SLEEP mode.
Low power, high speed CMOS FLASH /EEPROM technology. In circuit serial programming capability (ICSP) via two pins. Processor read write access to program memory
In circuit debugging via two pins. Wide operating voltage range. Low power consumption. 4.3 PIN DIAGRAM PIC 16F877A
4.4 DEVICE STRUCTURE Each part of a device can be placed into one of three groups:
a) b) c)
The core pertains to basic features that are required to make the device operate. These include: 1. Device Oscillator Revision 2. Reset Logic Revision 3. CPU Operation 4. ALU Operation 5. Device Memory Map organization 6. Interrupt Operation 7. Instruction Set
4.4.2 Peripheral
Peripherals are the features that add a differentiation from a microprocessor. These ease in interfacing to the external world (such as general purpose I/O, LCD drivers, A/D inputs and PWM outputs), and internal tasks such as keeping different time bases (such as timers). The peripherals that are discussed are: 1. General purpose I/O 2. Timer 0 3. Timer 1 4. Timer 2 5. Capture, Compare and PWM (CCP)
4.4.3Special Features Special features are the unique features that help to do one or more of the following things: Decrease system cost Increase system reliability Increase design flexibility
SOFTWARE DETAILS
Over view & design tools For the designing and development of the project we use different types of softwares. They are MPLAB IDE CCS C COMPILER CAD SOFT EAGLE