01 2ESD-lec1
01 2ESD-lec1
(630414)
Lecture 1
Introduction to Embedded Systems
Prof. Kasim M. Al-Aubidy
Computer Eng. Dept.
Definition of an E.S.
• It is a system whose principal function is not computational, but
which is controlled by a computer embedded within it.
Prog. Memory
Prog. Memory
Address Bus
Address Data Bus
• IR & Decoder:
• ALU:
- It is a CLC which takes one or two input binary words and combines
them to produce an arithmetic or logical results.
• Port Registers:
- Input & output in a µC. Are achieved by simply reading or writing a
port data register.
- If a port register is initialized for o/p, the data moved to that register is
immediately available at the pins of the chip.
- in the PIC 16F84A, there are two ports (A&B):
* Port A: has 5 Pins it is mapped (addressed) as SFR5.
* Port B: has 8 pins it is addressed as SFR6.
• Special Function Registers (SFRs):
- These registers provide dedicated program control registers
and processor status bits.
- In the PIC, the PC, Port registers, and spare registers are
SFRs, and are mapped as part of this block.