Comparison between Microcontrollers and Microprocessors: Key Differences and Features, Exercises of Microcontrollers

A comprehensive comparison between microcontrollers and microprocessors, highlighting their similarities and differences in terms of architecture, functionality, and applications. A figure and a table that illustrate the structure and key features of each system, as well as a list of manufacturers. This information is useful for students and professionals in the field of electronics engineering and computer science, particularly those involved in embedded systems design.

Typology: Exercises

2021/2022

Uploaded on 08/05/2022

dirk88
dirk88 🇧🇪

4.4

(222)

3.1K documents

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
COMPARISON BETWEEN MICROCONTROLLER(ΜC) &
MICROPROCESSOR (ΜP)
Microcontroller and microprocessor share many common features but at the
same time microcontroller is different from microprocessor in many ways.
Microcontroller integrates a number of the components of a microprocessor
system onto a single microchip and optimized to interact with the outside world
through on-board interfaces, whereas microprocessor is normally optimized to
co-ordinate the flow of information between separate memory and peripheral
devices which are located outside as shown in Fig. 6.2. Connections to a
microprocessor include address, control and data busses that allow it to select
one of its peripherals and send to or retrieve data from it.
Microprocessor is typically designed for general purpose applications
whereas microcontroller is a specialized form of microprocessor that is designed
to be used in embedded applications. Microcontroller incorporates all the
features of microprocessor along with the added features of peripheral d evices.
So we can say that the micro controller is nothing but a microprocessor system
with all support devices integrated inside a single chip. However microcontroller
cannot be used in place of microprocessor and using a microprocessor is not
advised in place of a microcontroller as it makes the application quite costly.
(a) Microprocessor based system (b) A single Microcontroller IC.
Fig.6.2 structure of microprocessor based system and microcontroller.
Table 6.1 Difference between microcontroller and microprocessor
pf3

Partial preview of the text

Download Comparison between Microcontrollers and Microprocessors: Key Differences and Features and more Exercises Microcontrollers in PDF only on Docsity!

COMPARISON BETWEEN MICROCONTROLLER(ΜC) &

MICROPROCESSOR (ΜP)

Microcontroller and microprocessor share many common features but at the same time microcontroller is different from microprocessor in many ways. Microcontroller integrates a number of the components of a microprocessor system onto a single microchip and optimized to interact with the outside world through on-board interfaces, whereas microprocessor is normally optimized to co-ordinate the flow of information between separate memory and peripheral devices which are located outside as shown in Fig. 6.2. Connections to a microprocessor include address, control and data busses that allow it to select one of its peripherals and send to or retrieve data from it. Microprocessor is typically designed for general purpose applications whereas microcontroller is a specialized form of microprocessor that is designed to be used in embedded applications. Microcontroller incorporates all the features of microprocessor along with the added features of peripheral devices. So we can say that the micro controller is nothing but a microprocessor system with all support devices integrated inside a single chip. However microcontroller cannot be used in place of microprocessor and using a microprocessor is not advised in place of a microcontroller as it makes the application quite costly. (a) Microprocessor based system (b) A single Microcontroller IC. Fig.6.2 structure of microprocessor based system and microcontroller. Table 6.1 Difference between microcontroller and microprocessor

S.No. Microcontroller Microprocessor

  1. Microcontroller is an IC device with CPU, RAM, ROM and other peripherals all embedded on a single chip. Microprocessor is an IC device which has only the CPU inside them.
  2. Support devices are internal in microcontroller based system. Support devices are external in microprocessor based system.
  3. It has fixed amount of RAM, ROM, I/O ports on chip. The designer can vary the amount of RAM, ROM etc. to be connected externally.
  4. Microcontroller having inbuilt RAM or ROM and inbuilt timer. Do not have inbuilt RAM or ROM and timer.
  5. It can be used as stand alone device. It cannot be used as stand alone device.
  6. It is designed for compact special purpose applications. It is designed for general purpose applications.
  7. Micro controllers offer software protection system. Do not offer software protection system.
  8. Power consumption is less in microcontroller based system. Power consumption is more in microprocessor based system.
  9. It is inexpensive. It is expensive.
  10. It is smaller in size. It is larger in size.
  11. Inbuilt serial and parallel port. Do not have inbuilt serial and parallel port.
  12. Separate memory to store program and data. Program and data are stored in same memory.
  13. Boolean operation directly possible. Boolean operation is not possible directly.
  14. It takes few instructions to read and write data from external memory. It takes many instructions to read and write data from external memory.
  15. It is not very versatile. It is versatile.
  16. It has many bit handling instructions. It ha fewer bit handling instructions.
  17. It has limited number of instructions and fewer Opcodes. It has large number of instructions and more Opcodes.
  18. It has less addressing modes. It has more and flexible addressing modes.