Question

Simply list out the three parts of a port in the context of embedded microcontrollers.

Simply list out the three parts of a port in the context of embedded microcontrollers.

Homework Answers

Answer #1

A microcontroller (MCU for microcontroller unit) is a small computer on a single metal-oxide-semiconductor (MOS) integrated circuit (IC) chip. In modern terminology, it is similar to, but less sophisticated than, a system on a chip (SoC); a SoC may include a microcontroller as one of its components. A microcontroller contains one or more CPUs (processor cores) along with memory and programmable input/output peripherals.
Microcontrollers are used in automatically controlled products and devices, such as automobile engine control systems, implantable medical devices, remote controls, office machines, appliances, power tools, toys and other embedded systems. By reducing the size and cost compared to a design that uses a separate microprocessor, memory, and input/output devices, microcontrollers make it economical to digitally control even more devices and processes.

A Microcontroller is a VLSI (Very Large Scale Integration) Integrated Circuit (IC) that contains electronic computing unit and logic unit (combinedly known as CPU), Memory (Program Memory and Data Memory), I/O Ports (Input / Output Ports) and few other components integrated on a single chip.

The following image shows the Basic Structure of a Microcontroller.

From the above image, you can understand that the three important (or major) components of a Microcontroller are:

  • The CPU (Central Processing Unit)
  • The Memory and
  • The I/O Ports

This doesn’t mean that other components are of less importance. But these can be considered as supporting devices. We will now see each of the Basic Components of a Microcontroller mentioned in the above structure.

CPU

Central Processing Unit or CPU is the brain of the Microcontroller. It consists of an Arithmetic Logic Unit (ALU) and a Control Unit (CU). A CPU reads, decodes and executes instructions to perform Arithmetic, Logic and Data Transfer operations.

Memory

Any Computational System requires two types of Memory: Program Memory and Data Memory. Program Memory, as the name suggests, contains the program i.e. the instructions to be executed by the CPU. Data Memory on the other hand, is required to store temporary data while executing the instructions.

Usually, Program Memory is a Read Only Memory or ROM and the Data Memory is a Random Access Memory or RAM. Data Memory is sometimes called as Read Write Memory (R/W M).

I/O Ports

The interface for the Microcontroller to the external world is provided by the I/O Ports or Input/Output Ports. Inputs device like Switches, Keypads, etc. provide information from the user to the CPU in the form of Binary Data.

The CPU, upon receiving the data from the input devices, executes appropriate instructions and gives response through Output Devices like LEDs, Displays, Printers, etc.

Bus

Another important component of a Microcontroller, but rarely discussed is the System Bus. A System bus is a group of connecting wire that connect the CPU with other peripherals like Memory, I/O Ports and other supporting components.

Timers/Counters

One of the important components of a Microcontroller are the Timers and Counters. They provide the operations of Time Delays and counting external events. Additionally, Timers and Counters can provide Function Generation, Pulse Width Modulation, Clock Control, etc.

Serial Port

One of the important requirement of a Microcontroller is to communicate with other device and peripherals (external). Serial Port proves such interface through serial communication. Most common serial communication implemented in Microcontrollers is UART.

Interrupts

A very important feature of a Microcontroller is Interrupts and its Interrupt Handling Mechanism. Interrupts can be external, internal, hardware related or software related.

ADC (Analog to Digital Converter)

Analog to Digital Converter or ADC is a circuit that converts Analog signals to Digital Signals. The ADC Circuit forms the interface between the external Analog Input devices and the CPU of the Microcontroller. Almost all sensors are analog devices and the analog data from these sensors must be converted in to digital data for the CPU to understand.

DAC (Digital to Analog Converter)

DIgital to Analog Converter or DAC is a circuit, that works in contrast to an ADC i.e. it converts Digital Signals to Analog Signals. DAC forms the bridge between the CPU of the Microcontroller and the external analog devices.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
What are the three parts of a behavior? List each one and provide an example for...
What are the three parts of a behavior? List each one and provide an example for each associated with a behavior of your choosing.
The Cruise Their cruise would port out of New Orleans and promised seven days with a...
The Cruise Their cruise would port out of New Orleans and promised seven days with a panoply of excursions in Jamaica, Cozumel, and Grand Cayman. A list of excursions at each site and key features of each appear in the table. The excursions were all day affairs, so it was possible to engage in only one per port. The cruise ship sailed at night and docked at each of these three ports at the crack of dawn. By dinner time,...
Dradlines A. Name the types of a dragline bucket and its parts B. List the advantages...
Dradlines A. Name the types of a dragline bucket and its parts B. List the advantages and limitations of draglines C. What are the factors impacting the production of a dragline? D. Explain the reason for the production cycle becoming “drag-time dependent” when the swing angle is < 50 degrees E. Name the three lines required for a clamshell operation F. List the primary uses of clamshells G. What are the factors impacting the production rates of a clamshell? H....
1. List the three ways to express a ratio./ 2. Sheila Collins earns a commission of...
1. List the three ways to express a ratio./ 2. Sheila Collins earns a commission of 15% on all sales. How much would she earn on sales of $9,000? 3. Compute the value of the ending inventory using FIFO (First-in/First-out)' Beginning Inventory 40 units @ $20 First Purchase 50 units @ $21 Second Purchase 50 units @ 22 Third Purchase 50 units @ $23 Ending Inventory 38 units
Please answer the following questions. 1- List at least three characteristics of data plotted on a...
Please answer the following questions. 1- List at least three characteristics of data plotted on a p , np , c, or u control chart that would indicate that a process is stable 2- If a process cycle is 24 hours, Explain How often you should sample this process in order for your data to be representative of all potential sources of variation? 3- If your defective rate is 4%, what should your sample size be in order for your...
Third Party Apps written for QuickBooks 1. List at least three (3) third party apps that...
Third Party Apps written for QuickBooks 1. List at least three (3) third party apps that are interesting to you or that you think might assist you in your current or future business (third party apps are applications written by other companies – not intuit – but are compatible with Quickbooks and they may do things Quickbooks cannot do “out of the box”) 2. Why did you pick the apps you chose?
Draw three general figures showing the arrangement of the following flower parts  (pistil(s) or carpel(s), ovule(s), and...
Draw three general figures showing the arrangement of the following flower parts  (pistil(s) or carpel(s), ovule(s), and ovary(-ies) on a receptacle or peduncle on plants producing the following fruits at table marked “A”.   pineapple,  blackberry, tomato. List the number of each female floral part (ex. - 5 ovaries fused each ovary containing 1 ovule). Explain how the fruit was formed during development including exocarp, mesocarp and endocarp. Assume that the pineapple and black berry contained only one seed in each fruit and the...
8.26     In an experiment, participants were randomly divided into three groups and shown a list of 10...
8.26     In an experiment, participants were randomly divided into three groups and shown a list of 10 words to memorize.  Participants were instructed to either draw an image for each word, visualize an image for each word, or write the word.  The summary statistics for number of words recalled (out of 10) are shown in the table below.  Construct an ANOVA table to assess the difference in mean word recall between the three groups and answer the following questions Which method had the highest...
ONLY ANSWER PARTS E AND F PLEASE You are trying to get the most out of...
ONLY ANSWER PARTS E AND F PLEASE You are trying to get the most out of playing with a genie. He says that you have two options: choose a hand that contains three gold coins or choose a hand that contains one gold and two silver. You will be paid $500 for each gold coin and $100 for each silver coin in the hand that you choose. Before choosing, you may pay the genie $200 and the genie will put...
Tamarisk Airline needs to send out one of its employees to Nunavut for three weeks to...
Tamarisk Airline needs to send out one of its employees to Nunavut for three weeks to perform some repairs on some aircraft it owns. Some of the payments to be made for the supplies needed on the assignment will be paid from a petty cash fund. Tamarisk issued a cheque in the amount of $800.00 to establish the fund. After a few days at the assignment, the employee returned the following receipts along with a report that the fund had...