Embedded System: Shibu K V
Embedded System: Shibu K V
Embedded System: Shibu K V
EMBEDDED SYSTEM
(2nd Edition)
SHIBU K V
2 Agenda
2.1 Core of the Embedded System 17
2.2 Memory 28
2.3 Sensors and Actuators 35
2.4 Communication Interface 45
2.5 Embedded Firmware 59
2.6 Other System Components 60
2.7 PCB and Passive Components 64
Mandalay Technological University
Department of Computer Engineering and Information Technology
3 Learning Objectives
4 Cont’d
Learn about the different memory technologies and memory types used in
embedded system development
Learn about Masked ROM (MROM), PROM, OTP, EPROM, EEPROM, and
FLASH memory for embedded firmware storage
Learn about Serial Access Memory (SAM), Static Random Access Memory
(SRAM), Dynamic Random Access Memory (DRAM) and Nonvolatile
SRAM (NVRAM)
Understand the role of sensors, actuators and their interfacing with the I/O
subsystems of an embedded system
Mandalay Technological University
Department of Computer Engineering and Information Technology
5 Cont’d
Learn about the interfacing of LEDs, 7-segment LED Displays, Piezo Buzzer,
Stepper Motor, Relays, Optocouplers, Matrix keyboard, Push button switches,
Programmable Peripheral Interface Device (e.g. 8255 PPI), etc. with the I/O
subsystem of the embedded system
Understand the various chip level communication interfaces like I2C, SPI,
UART, 1-wire, parallel bus, etc
6 Cont’d
8
Mandalay Technological University
Department of Computer Engineering and Information Technology
9 Cont’d
i. Microprocessors
ii. Microcontrollers
12 Cont’d
Since the applications of microcontroller are very specific, they need small
resources like RAM, ROM, I/O ports etc. and hence can be embedded on a
single chip. Microprocessors need high amount of resources like RAM,
ROM, I/O ports etc.
Cont’d
14
16
Digital Signal Processors
DSPs are powerful special purpose 8/16/32 bit microprocessors designed specifically
to meet the computational demands and power constraints of today’s embedded audio,
video, and communications applications.
Digital signal processors are 2 to 3 times faster than the general purpose
microprocessors in signal processing applications.
A typical digital signal processor incorporates the following key units:
i. Program Memory : Memory for storing the program required by DSP to
process the data.
ii. Data Memory : Working memory for storing temporary variables/information
and data/signal to be processed.
iii. Computational Engine : Performs the signal/math processing , accessing the
program from the Program Memory and the data from the Data Memory.
iv. I/O Unit : Acts as an interface
between the outside world and DSP.
It is responsible for capturing signals
to be processed and delivering
the processed signals.
Mandalay Technological University
Department of Computer Engineering and Information Technology
17 Cont’d
Application areas : Audio video signal processing, telecommunication and
multimedia applications.
19 Cont’d
RISC CISC
Less silicon usage and pin count More silicon usage since more additional
decoder logic is required to implement the
complex instruction decoding.
For example, a 4 byte long integer Byte3, Byte2, Byte1, Byte0 will be
stored in the memory as shown below:
Mandalay Technological University
Department of Computer Engineering and Information Technology
21 Cont’d
Byte 3
Base Address+3 Byte 3 0x20003 (Base Address+3)
22 Cont’d
For example, a 4 byte long integer Byte3, Byte2, Byte1, Byte0 will be
stored in the memory as shown below:
Mandalay Technological University
Department of Computer Engineering and Information Technology
23 Cont’d
Byte 0
Base Address+3 Byte 0 0x20003 (Base Address+3)
25
Cont’d
26
Reviewed Questions II
1. Explain the components of a typical embedded system in detail.
27 Assignment II
28
Only Original Owner has full rights reserved for copied images.