Summary: This module aims to define what a microcontroller is in terms of power, cost, speed and other specifications.
Consider the following set of words: microprocessor, microcontroller, processor, digital signal processor, mixed signal processor. In one sense, they are all the same thing - an ASIC that fetches and executes instructions based on input from some user program. These devices do not have a fixed function, but rather are controlled by software. Each of them share certain architecural features that have been developed since Intel created the first "microprocessor" in 1971.
In the three decades since the invention of the first microprocessor, there has been tremendous development and innovation in this field of engineering. Each of the terms used at the start of this section are correct names for a microprocessor, but they all have different application spaces and fetures. This still leaves us with the question, "What is a microcontroller?"
In truth, this is a bit difficut to pin down, due to the ever-evolving nature of the semiconductor industry. Consider that what we would call today's average microcontroller is oders of magnitude more powerful than the computer used in the Apollo Lunar Module. We can make some generalizations, however, that can help us characterize a microcontroller. Typically, these devices reside at what is the "low-end" of computing. This does not, however, mean that microcontrollers are useless. For embedded systems design, microcontrollers are usually an ideal choice. The following list shows some qualities that define all microprocessors, along with how they specifically define microcontrollers.
| Texas Instruments MSP430F169 16-bit Microcontroller |
|---|
![]() |
As a last excercise, it is useful to compare different types of processors to see the tremendous amount of variety available. The following table shows a selection of modern processors and some numbers related to the features listed above. It is clear that there are tradeoffs to be made in choosing the right part for the design at hand, and part of being a good engineer is being able to do this well.
| Processor | Manufacturer | Cost | Speed | Power | Bits | On-Chip Memory | Off-Chip Memory | Package Pins |
|---|---|---|---|---|---|---|---|---|
| MSP430F169 | Texas Instruments | $1 - $10 | 8 MHz | ~5 mW | 16-bit | 1 - 62 KByte | N/A | 20-100 |
| Pentium II | Intel | ~$65 | 333 MHz | ~25 W | 32-bit | 548 KByte | 4 GByte | 615 |
| TMS320C6416 | Texas Instruments | ~$300 | 700 MHz | ~1.5 W | 16/32-bit | 1 MByte | 1.28 GByte | 532 |
| PowerPC 970 | IBM | N/A | 1.8 GHz | ~42 W | 64-bit | 608 KByte | 8 GByte | 576 |
1 megahertz (MHz) = 1,000,000 cycles/second.
1 gigahertz (GHz) = 1,000,000,000 cycles/second.
"Basic introduction to microcontroller-based embedded systems development. Includes structured laboratory exercises in the following areas: assembly programming, C language programming, peripheral […]"