"Introduction To PIC MCU": AV-314 Digital Systems-Embedded System
"Introduction To PIC MCU": AV-314 Digital Systems-Embedded System
Number of Slides: 14
Avionics Engineering Department
Learning Objectives
2
General-purpose Microprocessor
3
Microcontroller
• A single-chip computer
• On-chip RAM, ROM, I/O ports...
4
Microprocessor vs. Microcontroller
Microcontroller
Microprocessor
• CPU, RAM, ROM, I/O and timer are all on a
• CPU is stand-alone, RAM, single chip
• Fixed amount of on-chip ROM, RAM, I/O ports
ROM, I/O, timer are separate
• For applications in which cost, power and space
• Designer can decide on the are critical
amount of ROM, RAM and • Single-purpose (control-oriented)
I/O ports. • Low processing power
• Expensive • Low power consumption
• Bit-level operations
• Instruction sets focus on control and I/O
• General-purpose operations
• High processing power • Typically 8/16 bit
• High power consumption
• Instruction sets focus on
processing-intensive
operations
• Typically 32/64 – bit
5
Components of an MCU
• CPU: Central Processing Unit
• I/O: Input /Output
• Bus: Address bus & Data bus
• Memory: RAM & ROM
• Clock
• Timer
• Interrupt
• Serial Port
• Parallel Port
6
MCU Features and Selection Criteria
Number of inputs and outputs.
Range of interfaces.
8
Some Popular MCUs…MPUs
• Intel’s - 8051
• Microchip Technology – PIC Series
• Atmel - AVR (AT Series)
• NXP Semiconductors – ARM (Core)
– ARM Cortex A53 by Broadcom in Pi-3
• Zilog - Z8
• Freescale (old Motorola) – 6811
• Tensilica – L106 MPU (ESP8266)
9
10
PIC Microcontroller Types
12
PIC 16F87 Series Comparison
13
PIC16F88 Series Comparison
14
End of Lecture
Next Lecture PIC16 MCU Configuration
15