Beruflich Dokumente
Kultur Dokumente
Bani-Hasan
Todays Lecture
What is the embedded system?
Comparison between Microprocessors and Microcontrollers. Advantages of Microcontroller. Criteria for considering Microcontroller. Overview of the PIC18 Family
MPEG decoders Network cards Network switches/routers Point-of-sale systems Portable video games Printers Satellite phones Scanners Speech recognizers Stereo systems Teleconferencing systems Televisions Temperature controllers Theft tracking systems Video game consoles Video phones Washers and dryers
Microcontroller has CPU and fixed amount of RAM, ROM, I/O Ports and Timer all on a single chip.
Microcontroller
1. 2. 3.
3. 4.
4.
5.
5.
Dr. Mustafa Bani-Hasan AAUJ - Embedded Systems
CPU, RAM, ROM, I/O and timer are all on a single chip fix amount of on-chip ROM, RAM, I/O ports for applications in which cost, power and space are critical Microcontrollers are suitable to control of I/O devices in designs requiring a minimum component single-purpose
7
Choosing a Controller
The major 8-bit
Freescale Semiconductors (formerly Motorola) 68HC08/68HC11 Intels 8051 Atmels AVR Zilogs Z8 PIC from Microchip Technology
10
16-bit Microcontrollers
PIC24F, PIC24H
32-bit Microcontrollers
PIC32
11
It includes
Small Data RAM Few hundred bytes of ROM One timer Few pins for I/O ports ( 8 pins)
12
PIC 18 Feathers
RISC Architecture On-chip program, Code, ROM Data RAM Data EEPROM Timers ADC USART I/O Ports
AAUJ - Embedded Systems 13
RISC Architecture
Reduced Instruction Set Computer (RISC) Small, highly optimized set of instructions Uses a load-store architecture Short execution time Pipelining Many registers
14
15
16
Microcontroller
17
PIC Microcontroller
PIC exists in terms of different speed and the amount of on-chip RAM/ROM Compatibility is restricted as far as the instructions are concerns.
18
19
20
21
Masked
program will be burned into the PIC chip during the fabrication process
22
23
24
25