0% found this document useful (0 votes)
103 views15 pages

"Introduction To PIC MCU": AV-314 Digital Systems-Embedded System

This document provides an introduction to PIC microcontrollers (MCUs). It discusses the key differences between microprocessors and microcontrollers, with MCUs having CPU, memory, and I/O components integrated onto a single chip. The lecture objectives are to refresh the differences between MCUs and MPUs, and learn basics of PIC MCUs. Components of MCUs like CPU, memory, I/O, timers are described. Selection criteria for MCUs including pins, memory size, interfaces are covered. Popular MCU families like PIC, AVR, ARM are listed. Specific PIC variants and their characteristics are compared.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
103 views15 pages

"Introduction To PIC MCU": AV-314 Digital Systems-Embedded System

This document provides an introduction to PIC microcontrollers (MCUs). It discusses the key differences between microprocessors and microcontrollers, with MCUs having CPU, memory, and I/O components integrated onto a single chip. The lecture objectives are to refresh the differences between MCUs and MPUs, and learn basics of PIC MCUs. Components of MCUs like CPU, memory, I/O, timers are described. Selection criteria for MCUs including pins, memory size, interfaces are covered. Popular MCU families like PIC, AVR, ARM are listed. Specific PIC variants and their characteristics are compared.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 15

AV-314

Digital Systems-Embedded System


Lecture No 01

“Introduction to PIC MCU”


Reference: Chapter 1.1, Programming 8 Bit PIC MC
and Lecture Notes

Number of Slides: 14
Avionics Engineering Department
Learning Objectives

• To refresh the key differences between an MCU


and an MPU

• To learn about the basics of PIC Microcontroller


units

2
General-purpose Microprocessor

• CPU for Computers


• Commonly no RAM, ROM, I/O on CPU chip itself

Many chips on motherboard


Data Bus
CPU
General-
Serial
Purpose RAM ROM I/O Timer COM
Micro- Port
Port
processor
Address Bus

3
Microcontroller

• A single-chip computer
• On-chip RAM, ROM, I/O ports...

CPU RAM ROM


A single chip
Serial
I/O Timer COM
Port
Port
Microcontroller

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.

 Program memory size.

 Data RAM size.

 Nonvolatile data memory.

 Maximum clock speed.

 Range of interfaces.

 Development system support.

 Cost and availability.


Requirement Specifications

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

MCU Pins Data Program Instruction SPEED


Words Memory Sets MIPS
(bytes)
10Fxxx =6 8 <512 33x12 bits <2
12Fxxx =8 8 <2kb 12x14 bits <0.5

16Fxxx <64 8 <14kb 35x14 bits <5

18Fxxx <100 8 <128kb 75x16 bits <16

20Fxxx <100 16 <128kb 76x24bits =16


11
PIC Variants
• PIC16F887 – A reference device
– Have minimal instruction set but full range of peripheral
devices.
• Device selection
– Depends upon the features more closely matching the
application requirements
– can drop down to a lower range (PIC10/12 series).
– If more power is needed, can move up to a higher
specification chip (PIC18/24 series).
– Variation among PIC chips - Instruction size that may be
12, 14, or 16 bits.

12
PIC 16F87 Series Comparison

13
PIC16F88 Series Comparison

14
End of Lecture
Next Lecture PIC16 MCU Configuration

15

You might also like