29-09-2012, 12:35 PM
Introduction to Microcontrollers
Microcontrollers.ppt (Size: 47.5 KB / Downloads: 23)
Learning Objectives
Understand computer hardware as a system programmer
Introduce you to the use of a processor in control systems
Understand basic concepts of microcontrollers
Basic hardware and software debugging
Understand the PowerPC processor architecture
Course Outline
Introduction to Embedded Systems
C programming for embedded systems
Assembly programming and PowerPC instruction set
Translating C into assembly
Interrupt handling for PowerPC
Timer Processing Unit and other I/O devices
Laboratory
Lab attendance required. Automatically fail a lab by missing it
If you need to miss a lab for medical or emergency reasons, inform the TA and the instructor
1301 Coover
No lab during the first week of classes
Motorola PowerPC based system (PowerBox)
History of Microprocessors
1950s - The beginning of the digital era and electronic computing
1969 – Intel is a small startup company in Santa Clara with 12 employees
Fairchild, Motorola are large semiconductor companies; HP and Busicom make calculators
1971 – Intel makes first microprocessor the 4-bit 4004 series for Busicom calculators
1972 – Intel makes the 8008 series, an 8-bit microprocessor,
ATARI is a startup company
Creates a gaming console and releases PONG
Components of a Computer
Central Processing Unit
Interprets and carries out all the instructions contained in software
Memory
Used to store instructions and data
Random Access Memory (RAM)
Read Only Memory (ROM)
Input/Output
Used to communicate with the outside world
Microprocessor
A single chip that contains a whole CPU
Has the ability to fetch and execute instructions stored in memory
Has the ability to access external memory, external I/O and other peripherals
Examples:
Intel P4 or AMD Athlon in desktops/notebooks
ARM processor in Apple iPod
Essentially a microprocessor with on-chip memories and I/O devices
Designed for specific functions
All in one solution - Reduction in chip count
Reduced cost, power, physical size, etc.
Examples
MC68332, MC68HC11, PPC555
More details of components later
A/D converters, temperature sensors, communications, timing circuits, many others
Embedded System
Special purpose computer system usually completely inside the device it controls
Has specific requirements and performs pre-defined tasks
Cost reduction compared to general purpose processor
Different design criteria
Performance
Reliability
Availability
Safety
Why Study Microcontroller
The course may serve several purposes:
Build useful applications
Practice programming and debugging skills
Understand the inside of computer
It paves the way to learning computer design, operating systems, compilers, embedded systems, security and other topics.
Microcontrollers have everything in a typical computer: CPU, memory and I/O.