ASSIGNMENT 1 (Embd&IOmT)
ASSIGNMENT 1 (Embd&IOmT)
REQUIREMENTS:
It can be classified in to functional or nonfunctional
Functional Requirements:
• Gather an informal description from the customers.
• Refine the requirements into a specification that contains enough
information to design the system architecture. Ex:Sample Requirements form
• Name→Giving a name to the project
Purpose→Brief one- ortwo-line description of what the systemis supposed
to do.
• Inputs& Outputs →Analog electronic signals? Digital data? Mechanical
inputs?
• Functions→ detailed description of what the system does
Performance→ computations must be performed within a certain time frame
•Manufacturing cost→ cost of the hardware components.
Power→ how much power the system can consume
Physical size and weight→ indication of the physical size of the system
Non-Functional Requirements
Performance→ depends upon approximate time to perform a user-level
function and also operation must be completed within deadline.
Cost→Manufacturing cost includes the cost of components and assembly.
Nonrecurring engineering (NRE) costs include the personnel and other
costs of designing thesystem
Physical Size and Weight→The final system can vary depending upon the
application.
Power Consumption→Power can be specified in the requirements stage
in terms of battery life.
2)SPECIFICATION
The specification must be carefully written so that it accurately reflects
the Customer’s requirements.
It can be clearly followed during design.
3) Architecture Design
The architecture is a plan for the overall structure of the system.
It is in the form block diagram that shows a major operation and data
flow.
4) Designing Hardware and Software Components
The architectural description tells us what components we need include
both hardware—FPGAs, boards & software modules
5)System Integration
Only afterthe components are built, putting them together and seeing a
working system.
Bugs are found during system integration, and good planning can help us
find the bugs quickly.
EXAMPLE:
Name :GPS moving map
Purpose :Consumer-grade moving map for driving use
Inputs: Power button, two control buttons
Outputs: Back-lit LCD display 400 600 Functions :Uses 5-receiver GPS system;
three user-selectable resolutions;always displays current latitude and longitude
Performance: Updates screen within 0.25 seconds upon movement
Manufacturing cost: $30
Power 100mW
Physical size and weight:No more than 2”X 6,”12 ounces
The
table shows the hardware signalling that is used for the three signals, START,
STOP and ACKNOWLEDGE. The START and ACKNOWLEDGE signals are
similar but there is a slight difference in that the START signal is performed
entirely by the master whereas the ACKNOWLEDGE signal is a handshake
between the slave and master.
Data is transferred in packets with a packet containing one or more
bytes. Within each byte, the most significant bit is trans-mitted first. A packet,
or telegram as it is sometimes referred to, is defined as the data transmitted
between START and STOP signals sent from the master. Within the packet
transmission, the slave will acknowledge each byte by using the
ACKNOWLEDGE sig-nal. The basic protocol is shown in the diagram.
This is where you write the code for your embedded system.
COMPILER:
compiler.
A compiler is used when you are done with the editing part and made a
source code.
The function of compiler is to convert the source code into object code.
programming language.
ASSEMBLER:
assembler.
DEBUGGER:
It is important to test whether the code you have written is free from
Debugger goes through the whole code and tests it for errors and bugs.
It tests your code for different types of errors for example a run time