EEAC 110 Learning Material 1
EEAC 110 Learning Material 1
MICROPROCESSOR
a programmable electronic chip that has computing and decision-making
capabilities
defined as an entire central processing unit of a computer constructed on a single
piece of silicon chip that performs general-purpose processing tasks
the brain of a computer system executing instructions, performing arithmetic
and logic operations, and managing data flow
The microprocessor concept was developed in 1969 by INTEL engineers Ted Hoff and
Stan Mazor but its implementation was undertaken by INTEL process engineer
Federico Faggin in a chip set that became to be known as the INTEL 4000 family.
The INTEL 4004 version was followed by the 8 bit 8008 in 1972 and an improved
version called the 8080 in 1974.
Similar chips to the 8080 were developed by Motorola (MC 6800) and Zilog (Z-80).
These chips had 8-bit data bus widths, and 16-bit address buses.
Word: A word refers to the basic data size or bit size that can be processed by the
arithmetic logic unit of the processor. A 16-bit binary number is called a word in a
16-bit processor.
System Bus: The system bus is a group of wires/lines used for communication
between the microprocessor and peripherals.
Memory Word: The number of bits that can be stored in a register or memory
element is called a memory word.
Address Bus: The address bus carries the address, which is a unique binary pattern
used to identify a memory location or an I/O port. For example, an 8-bit address
bus has eight lines and thus, it can address 28 = 256 different locations. The locations
in hexadecimal format can be written as 00H – FFH.
Data Bus: The data bus is used to transfer data between memory and processor or
between I/O device and processor. For example, an 8-bit processor will generally
have an 8-bit data bus and a 16-bit processor will have 16-bit data bus.
Control Bus: The control bus carries control signals, which consists of signals for
selection of memory or I/O device from the given address, direction of data transfer
and synchronization of data transfer in case of slow devices.
TYPES OF MICROPROCESSORS:
1.) Intel x86
commonly used in personal computers, known for high performance
2.) ARM
prevalent in mobile devices and embedded systems, efficient power usage
MICROCONTROLLER
a microprocessor with an on-chip memory and input/output (I/O) capability
a compact integrated circuit that contains a processor core, memory, and
peripherals, all on a single chip
typically designed into embedded systems with a “canned program” or a program
that never changes
designed for specific control-oriented tasks and commonly used in applications
where real-time control and compact sizes are crucial
MICROPROCESSOR MICROCONTROLLER
It is a general-purpose computer
It is a microcomputer itself.
CPU.
Very few pins are programmable. Most of the pins are programmable.
1.) COST
Generally speaking, microcontrollers tend to cost less than microprocessors.
Microprocessors are typically manufactured for use with more expensive devices that
will leverage external peripherals to drive performance. They are also significantly
more complex, as they are meant to perform a variety of computational tasks while
microcontrollers usually perform a dedicated function. This is another reason why
microprocessors require a robust external memory source - to support more complex
computational tasks.
With a microcontroller, engineers write and compile the code intended for the
specific application and upload it into the microcontroller, which internally houses all
of the necessary computing features and components to execute the code. Due to their
narrow individual applications, microcontrollers frequently require less memory, less
computing power, and less overall complexity than microprocessors, hence the lower
cost.
2.) SPEED
When it comes to overall clock speed, there is a significant difference between
industry-leading microprocessor chips and high-quality microcontrollers. This relates
back to the idea that microcontrollers are meant to handle a specific task or
application, while a microprocessor is meant for more complex, robust, and
unpredictable computing tasks.
One of the key design advantages associated with microcontrollers is that they
can be optimized to run the code for a specific task. That means using just the right
amount of speed and power to get the job done - no more and no less. As a result, many
microprocessors are clocking speeds of up to 4 GHz while microcontrollers can operate
with much lower speeds of 200 MHz or less.
At the same time, the close proximity of on-chip components can help
microcontrollers perform functions quickly despite their slower clock speed.
Microprocessors can sometimes operate more slowly because of their dependence on
communicating with external peripherals.
For tasks that require low computational power, it can be much more cost
effective to implement a microcontroller versus a microprocessor that consumes much
more power for the same output.
TYPES OF MICROCONTROLLERS:
1.) Atmel AVR
widely used in hobbyist projects, known for simplicity and low power
consumption
receive signals from the CPU, which instructs the control unit to move data
from microprocessor to another microprocessor
directs the ALU
consist of multiple components such as decoder, clock and control logic circuits
4.) REGISTERS
temporary data holding places
maintain data, such as computer instructions, storage addresses, characters
and other data.
Examples of Registers:
instruction register
program counter
accumulator
memory address register
Types of Registers:
a.) GENERAL–PURPOSE REGISTERS
used by the programmer to store arbitrary data
6.) BUSES
classifications of wiring that have specific tasks and functions
Examples of Buses:
address bus
control bus
data bus
5 GENERATIONS OF MICROPROCESSORS:
1.) FIRST–GENERATION MICROPROCESSORS
4–bit microprocessors introduced in 1971–1972