Documente Academic
Documente Profesional
Documente Cultură
|
!"
#$%$&'#
EMBEDDED SYSTEMS
_ Embedded systems are combination of computer
H/W and S/W, and perhaps additional mechanical
or other parts, which are designed using
microprocessor or microcontroller but for a specific
task to perform a dedicated function.
_ In some cases, ES may be part of a larger system
_ One of the critical needs of embedded system is to
decrease power consumptions and space which
can be done by integrating more functions on the
CPU chip
EMBEDDED SYSTEMS
_ ES generally use microcontroller that
contains many functions of computer on
a single device
_ Motorola and Intel make some of the
most popular microcontrollers
_ Contrast this with a Pentium based PC
which cannot be regarded as an
embedded system as it is used to
perform multiple tasks
EMBEDDED SYSTEM
DEVICES
r |
Microwave Ovens
@obots
Digital Cameras Industrial Process control
Airplane control System
DVD Player
Missile Guidance System
Washing Machine
r
Engine Controller
Switches
Anti-brake lock controller
Cellular Phones
|
["
"% % (
))
h h
A
A
A
!
" #h
A
$h
A
$$%&'
$% $ ' &&
A
| !
'(|
)#h
A
A
*
A
| !
A
'( | *h
A +$#h
* +,-./&
_ ü-bit data bus
_ 16-bit address bus
_ 34 general purpose registers each of ü bits
_ 16 bit timers (usually 2, but may have more, or
less).
_ 3 internal and 2 external interrupts.
_ Bit as well as byte addressable @AM area of
16 bytes.
_ Four ü-bit ports, (short models have two ü-bit
ports).
_ 16-bit program counter and data pointer
_ Internal @AM of 12ü bytes
_ Internal @OM of 4Kb
|"("! 0-./&
+
It has four parts on which it can be explained :
_@egister banks- @ ,@1,@2 and @4
are basically used to manipulate data from one memory to another memory
place.
_BIT MEMO@
gives the user the ability to access a number of u u.
There are 12ü bit variables available to the user, numbered h through 7Fh
_GENE@AL PU@POSE @EGISTE@S
use to store memory addresses and data
_SPECIAL FUNCTION @EGISTE@(SF@)
Special Function @egisters (SF@s) are areas of memory that control specific
functionality of the ü 1 processor . Four SF@s permit access to the ü 1s 32
input/output lines .
0
["
!"
h '(
,''&
''
" -'
A
!.$$
& /-'*$
'(0
A ,&''.$$
12$&
1 |
3'('.
A
&$
4.$$!
$&$&$|*
%
5 %"'2%!&.&'%
&'
1 6|'(
A
&'$$!$'
.$
#
|'
A
! 2
!
A
"
The ü 1 comes equipped with two timers, both of
which may be controlled, set, read,
and configured individually. The ü 1 timers have
three general functions:
1) Keeping time and/or calculating the amount of time
between events,
2) Counting the events themselves,
3) Generating baud rates for the serial port.
Timer SFRs
_ The ü 1 has two timers which each function essentially
the same way. One timer is TIME@ and the other is
TIME@1.
"
0
% (
0
"
_ An interrupt is some event which interrupts normal
program execution
!"