Professional Documents
Culture Documents
2|Page
A. Do all vendors offer the same controller families and manufacturers?
No b/c controller having on-chip peripherals like ROM, RAM, Processor, and clock. And
Microcontrollers are programmable devices. Microcontrollers are mostly used in embedded
systems, engineering projects. There are so many microcontroller families are available. Those
are 8051, PIC, AVR, ARM, etc
3|Page
2. What is an embedded system?
As its name suggests, Embedded means something that is attached to another thing. An
embedded system can be thought of as a computer hardware system having software embedded
in it. An embedded system can be an independent system or it can be a part of a large system. An
embedded system is a microcontroller or microprocessor based system which is designed to
perform a specific task. For example, a fire alarm is an embedded system; it will sense only
smoke.
3. Assume that you have a task that requires 16 inputs. 15 outputs and 3 timers. You
also need 512 bytes to store data.
We use 8051 controllers for this application
A timer module for an 8051 Microcontroller is designed from the ground up. It could potentially
be integrated into a larger 8051 for use in lunar and Martian missions. It follows through a
synchronous digital design flow from HDL code through layout verification. The timer shows
functionality at 100MHz with some minor glitches.
4|Page
Compare Harvard and van-Neumann architecture.
Point of
Harvard Architecture Von Neumann Architecture
Comparison
In Harvard architecture, the CPU In Von-Neumann architecture, there is no
Is connected with both data memory separate data and program memory. Instead,
(RAM) and program memory (ROM), a single memory connection is given to the
separately. CPU.
Arrangement
It requires more hardware since it will In contrast to the Harvard architecture, this
Hardware
be requiring separate data and address requires less hardware since only a common
requirements bus for each memory. memory needs to be reached.
Controlling becomes complex since data Controlling becomes simpler since either
Controlling and instructions are to be fetched data or instructions are to be fetched at a
simultaneously. time.
5|Page
4. Why microcontroller is consider as a microcomputer
5. Identify the difference between EPROM, EEPROM and flash memory types.
EPROM (Erasable PROM) had a little window on the top, which allowed it to be erased
using a UV light. But it took around 20 minutes to erase one of these, so one usually had
a couple of dozen chips and you would erase a bunch at a time.
EEPROM (Electrically-erasable PROM) made it possible to both program and erase the
chip electrically.
Flash memory (which is used to store the code in today’s microcontrollers) is just a
variation of EEPROM
. They differ in the way they are erased — EEPROMs can be erased in single bytes,
whereas flash memory is erased in larger blocks (e.g. 4K bytes). EEPROM requires two
transistors structure per bit to erase a dedicated byte in the memory, while flash memory
has one transistor per bit to erase a region of the memory.
EEPROM usually can permit more erase/write cycles than flash memory.
In addition to separate memory chips, microcontrollers have also been produced in ROM,
PROM, EPROM, EEPROM and flash versions. For example, the Microchip PIC16F84A
Is a newer flash replacement for the PIC16C84, which used EEPROM for its 1K x 14-bit
words of program memory. The PIC16F84A still contains 64 bytes of EEPROM for long-
term data storage, because the flash memory is limited to 10,000 erase/write cycles,
whereas the EEPROM portion is good for 10,000,000
6|Page