Professional Documents
Culture Documents
Microprocessor and Microcontroller Fundamentals
Microprocessor and Microcontroller Fundamentals
Microprocessor and Microcontroller Fundamentals
Admin
Course materials available online http://ece.citadel.edu/hayne/
Students are encouraged to print lecture slides in advance and use them to take notes in class
330_01
Microcontrollers
Embedded Systems
Operations managed behind the scenes by a microcontroller An integrated electronic computing device that includes three major components on a single chip
Microprocessor (MPU) Memory I/O (Input/Output) ports
Microcontroller (MCU)
330_01
Microcontrollers
Support Devices
330_01
Block Diagram
330_01
Microprocessor (MPU)
MPU (CPU)
330_01
Memory
Storage Device
Addresses Registers
Major Categories
D7
D0
330_01 7
Input/Output (I/O)
Input Devices
Output devices
330_01
Microprocessor-Based Systems
330_01
Microprocessor Architecture
The MPU communicates with Memory and I/O using the System Bus
Address bus
Unidirectional Memory and I/O Addresses
Data bus
Bidirectional Transfers Binary Data and Instructions
Control lines
Microprocessor-Based System
330_01
11
330_01
12
Software
Machine Language
Error-prone
10000000
00101000 00011011
80
28 1B
ADD B
ABA
Intel 8085
Intel 8051 Motorola 6811
13
Software
Assembly Language
Machine instructions represented in mnemonics One-to-one correspondence Efficient execution and use of memory Machine-specific
330_01
14
Software
High-Level Languages
BASIC, C, and C++ Written in statements of spoken languages Machine independent Easy to write and troubleshoot Larger memory and less efficient execution
330_01
15
Bit7 to Bit0
330_01
16
2's Complement
Positive numbers: 00H to 7FH (010 to 12710) Negative numbers: 80H to FFH (-110 to -12810)
330_01
17
330_01
18
Seven-bit alphanumeric code with 128 combinations (00H to 7FH) Represents English alphabet, decimal digits from 0 to 9, symbols, and commands
330_01
19
MPU-Based Systems
System hardware
Discrete components
System software
330_01
20
330_01
21
MCU-Based Systems
Includes microprocessor, memory, I/O ports, and support devices (such as timers) on a single semiconductor chip Buses are generally not available to a system designer I/O ports are generally multiplexed and can be programmed to perform different functions
330_01 22
330_01
23
Computer Architectures
Princeton versus Harvard Architecture CISC versus RISC processors Microprocessors and Microcontrollers
330_01
24