Embedded Systems Introduction
Embedded Systems Introduction
Embedded Systems Introduction
Introduction to Embedded
Systems Development
Spring 2020
What is this course about?
CENG 336 Introduction to Embedded Systems Development (2-2) 3
Assembly language and controller architecture. Peripheral interfaces: A/D and D/A
conversion, parallel and serial ports, interrupts and timers/counters. I/O bus
architectures. Sensors and actuators. Design and analysis techniques. Real time
operating systems.
Prerequisite: CENG 232.
http://catalog.metu.edu.tr/
Sensor conditioning
Output interfaces
sensor
actuator
Microcontroller
sensor
(uC) indicator
sensor
lens
PHASE 5 – HW/SW
PHASE 3 – Iteration and
Control index
Control Control logic Registers
Register logic
logic and and State
file total
State register register
Custom State register
+
ALU
General
ALU
IR PC IR PC
Data Data
memory memory
total = 0 total = 0
for i =1 to … for i =1 to …
Data
} Program memory Program memory
memory
} Optimized datapath
Assembly
} Special functional units code for:
} Benefits total = 0
for i =1 to …
} Some flexibility, good performance, size and
power
CENG-336 Introduction to Embedded Systems Development 25
Single-purpose processors
} Digital circuit designed to execute exactly
one program/task Controller Datapath
} a.k.a. coprocessor, accelerator or peripheral Control index
logic
} Features total
State
} Contains only the components needed to register +
execute a single program
} No program memory Data
} Benefits memory
} Fast
} Low power
} Small size
} Microcontroller
} A microprocessor plus additional peripheral support devices integrated
into a single package
} Peripheral support devices may include:
} Serial ports ( COM ), Parallel ( Ports ), Ethernet ports, A/D & D/A
} Interval timers, watchdog timers, event counter/timers, real time clock Other
local processors ( DSP, numeric coprocessor, peripheral controller )
} PIC, MPC555 are microcontrollers
program data
memory storage program data
memory storage
I/O I/O
microprocessor microprocessor
I/O core
I/O
To outside world
To outside world
} Microcontroller advantages
} lower cost, more reliable, better performance, faster and lower RF signature
} may be less flexible for research and development projects