SlideShare a Scribd company logo
BASIC
EMBEDDED SYSTEMS & DESIGN
Gaurav Verma
Assistant Professor
Department of Electronics and Communication Engineering
Jaypee Institute of Information and Technology
Sector-62, Noida, Uttar Pradesh, India
1 Copyright to gaurav verma
Course Content
2
1. INTRODUCTION & HARDWARE FUNDAMENTAL FOR EMBEDDED
DEVELOPERS
1. Embedded System and its applications.
2. Design Parameters of Embedded System and its significance.
3. Embedded System design flow and design life cycle.
4. Digital Circuit Parameters
4.1 Open collector outputs
4.2 Tristate outputs
4.3 I/O source and sinking
4.4 Fan-in and Fan-out
4.5 Propagation delay
4.6 Figure of merit
5. Programmable Logic Devices
5.1 Programmable Array Logic (PAL)
5.2 Programmable Logic Array (PLA)
5.3 Complex Programmable Logic Device (CPLD)
5.4 Field Programmable Gate Array (FPGA)
5.5 Programmable System on Chip (SOC)
Copyright to gaurav verma
Course Content cont…
2. INTRODUCTION TO MICROPROCESSORS AND MICROCONTROLLERS
1. Introduction
1.1 Microprocessor Versus Microcontrollers
1.2 Microcontrollers for Embedded Systems
1.3 Embedded Versus External Memory Devices
1.4 CISC Versus RISC Processors
1.5 Harvard Versus Von-Neumann architecture
1.6 Superscalar Versus VLIW architecture
2. 8051/8031/8052 Microcontroller
2.1 Basic architecture
2.2 Pin configuration
2.3 Memory organization (registers and i/o ports)
2.4 Assembly language programming ( addressing modes and instruction set)
2.5 Timers and Interrupts
2.6 Serial Communication
3 Copyright to gaurav verma
Course Content cont…
4 Copyright to gaurav verma
Course Content cont…
4. INTRODUCTION TO RTOS AND ADVANCED MICROPROCESSOR
1. Real Time Operating System (RTOS)
1.1 Types of real time tasks
1.2 Task Periodicity
1.3 Process state diagram
1.4 Kernel and Scheduler
1.5 Scheduling algorithms
1.6 Shared data (Resource) and Mutual Exclusion
1.7 Semaphore
2. Introduction to ARM
2.1 Features
2.2 ARM Pipeline
2.3 Instruction Set Architecture (ISA)
2.4 Thumb Instructions
2.5 Exceptions in ARM
5 Copyright to gaurav verma
Course Content cont…
5. COMMUNICATION PROTOCOLS
1. Communication Protocols
1.1 Serial Protocols
a) Inter IC (I2
C)
b) Controller Area Network (CAN)
c) Serial Peripheral Interface (SPI)
d) Universal Serial Bus (USB)
1.2 Parallel Protocols
a) Peripheral Component Interconnect (PCI)
b) ARM Bus
1.3 Wireless Protocols
a) Infrared Data Association (IrDA)
b) Bluetooth
c) IEEE 802.11
6 Copyright to gaurav verma
Course Content cont…
7
Copyright to gaurav verma
UNIT 1: Introduction and Hardware
Fundamentals for Embedded Developers
8 Copyright to gaurav verma
Embedded System & its Applications
What is system?
A system is also an arrangement in which all its units
assemble and work together according to the plan or program.
OR
A system is a way of working, organizing or doing one or many
tasks according to a fixed plan, program or set of rules.
9
What is embedded?
To implant something inside
OR
To insert something inside
Copyright to gaurav verma
SYSTEM EXAMPLES
WATCH
It is a time display SYSTEM
Parts: Hardware, Needles, Battery, Dial,
Chassis and Strap
Rules
1.All needles move clockwise only
2.A thin needle rotates every second
3.A long needle rotates every minute
4.A short needle rotates every hour
5.All needles return to the original position after 12 hours
10 Copyright to gaurav verma
WASHING MACHINE
It is an automatic clothes washing SYSTEM
Parts: Status display panel, Switches & Dials, Motor, Power
supply & control unit, Inner water level sensor and
solenoid valve.
Rules
1.Wash by spinning
2.Rinse
3.Drying
4.Wash over by blinking
5.Each step display the process stage
6.In case interruption, execute only the remaining
SYSTEM EXAMPLES
11 Copyright to gaurav verma
What is EMBEDDED SYSTEM?
Intelligence
inside the
system
Processing element
12
Inside it
there is a
chip
Acting as a
brain for
this system
• Microprocessor
• Microcontroller
• DSP
• ASIC
• PLDs
• FPGA
• SOC
Copyright to gaurav verma
EMBEDDED SYSTEM DEFINITIONS
13
Definition 1: Combination of Hardware & Software in general
SOFTWARE PROGRAM
Definition 2: An embedded system is a special-purpose computer system designed
to perform a dedicated function & Any system where the user doesn’t want to or
need to know that it includes a processor by Chandandeep Singh PABLA (Sr. Manager ST
Microelectronics)
Definition 3: An embedded system can be defined as a processing element based
computing or controlling system embed within a larger electronic device,
performing a single (or a small set of) function(s) repeatedly, following certain time
constraints and often going unnoticed by device user by Prof. Santanu Chattopadyay (IIT
Kharagpur)
Is Desktop, Laptop, Mobile and Tablets are embedded systems
as per the above definition????????
Copyright to gaurav verma
14
EMBEDDED SYSTEM DEFINITIONS
Definition 5: An embedded system is a processing element (Microprocessor,
Microcontroller, DSP, PLD, FPGA, ASIC, SOC) based computing/controlling
electronic system designed to do one or a few dedicated and/or specific functions
often with real-time computing constraints. It is embedded as part of a complete
device often unnoticed by the device user by Gaurav Verma (Asst. Prof. JIIT Noida)
This definition, being a bit technical, may not be very precise.
However, it should be noted that giving a precise definition of
embedded system is quite difficult.
Definition 4: An embedded system is a computer system designed to do one or a few
dedicated and/or specific functions often with real-time computing constraints. It
is embedded as part of a complete device often including hardware and mechanical
parts by Abhishek Tiwari (Sr. Technical officer CDAC Noida)
Copyright to gaurav verma
Examples of embedded systems
• Mobile Phones
• Microwave
• Washing Machine
• GPS
• Intelligent credit card
• Cruise control
Car engine timing
15 Copyright to gaurav verma
Examples of embedded systems
• Industrial controller
• Guided missiles
• Digital TV
• Flight controller
• Pace Makers
• Gaming devices
and on and on ……
16 Copyright to gaurav verma
How many do we use?
Average middle-class American home has 40 to 50
embedded processors in it
 Microwave, washer, dryer, dishwasher, TV, VCR, stereo, hair dryer, coffee maker,
remote control, humidifier, heater, toys, etc.
Luxury cars have over 60 embedded processors
 Brakes, steering, windows, locks, ignition, dashboard displays, transmission,
mirrors, etc.
Personal computers have over 10 embedded processors
 Graphics accelerator, mouse, keyboard, hard-drive, CD-ROM, bus interface,
network card, etc.
Pentium/x86 holds largest processor volume share!
 True/False?
17 Copyright to gaurav verma
Embedded Processors Proliferation
18 Copyright to gaurav verma
Broad Embedded Systems Segments
19 Copyright to gaurav verma
Embedded System Pervasiveness Enablers
• More Processing Power @
Lesser Cost
• Moore’s Law
• More than Moore
• Multicore Systems
• Networking Technologies
• Progress in wireless
communication allows for
flexible interconnect
topologies
• Tools and SoC
• Hardware and software
commoditization
• Open Source provide
powerful platforms
1981 1984 1987 1990 1993 1996 1999 2002
Leading edge
chip in 1981
10,000
transistors
Leading edge
chip in 2002
150,000,000
transistors
20 Copyright to gaurav verma
Embedded System Economics
• The embedded systems market should reach €1.5 trillion in
revenue by 2015!
21 Copyright to gaurav verma
Intelligent Interactions 2020
22
Copyright to gaurav verma
Design Parameters of Embedded Systems
• System Cost: NRE & RE
• Small sized : Hardware (Silicon Area) & Software (code size)
• Performance: ASIC may have better performance than FPGA
• Power: Very Important Issue as most of the embedded systems are battery
operated & plastic packaging & cooling increase the cost.
• Design Flexibility: FPGA are more flexible than ASIC. Software code is more
flexible than hardware.
• Design turn around time: time needed to complete the design starting from
specification up to taking it into the market ( Use of offshelf components rather
design from scratch)
• System Maintainability: ease of maintaining and monitoring the health of the
system after it has been put on the field.
• Testing & Verification: ability to check the system functionality and gets
confidence regarding the correct operation of it.
23 Copyright to gaurav verma
Design Parameters Competition
24
To best meet this optimization challenge, the designer must be comfortable with a
variety of hardware and software implementation technologies, and must be able to
migrate from one technology to another, in order to find the best implementation for
a given application and constraints. Thus, a designer cannot simply be a hardware
expert or a software expert, as is commonly the case today; the designer must have
expertise in both areas.
Copyright to gaurav verma
Design Parameters Competition
25
To best meet this optimization challenge, the designer must be comfortable with a
variety of hardware and software implementation technologies, and must be able to
migrate from one technology to another, in order to find the best implementation for
a given application and constraints. Thus, a designer cannot simply be a hardware
expert or a software expert, as is commonly the case today; the designer must have
expertise in both areas.
Copyright to gaurav verma
Embedded System Design Flow
26
Copyright to gaurav verma
Digital Circuit Parameters
27
1. Open collector outputs
2. Tristate outputs
3. I/O source and sinking
4. Fan-in and Fan-out
5. Propagation delay
6. Figure of merit
Copyright to gaurav verma
Why Programmable Logic Devices?
28
• We know about different ICs such as multiplexers, comparators,
adders, code converters, demultiplexers etc. Such ICs are called fixed
function ICs.
• The advantage of designing the fixed function ICs are low development
cost and easy testing. But the disadvantage are requirement of large
board space, large power requirements, no security, additional costs
are required if the existing circuit is to be modified.
• The remedy to this problem is application specific integrated circuit
(ASICs). These ICs are designed to meet specific requirements of a user
or application. But the design of ASICs is too complex, enormous initial
development cost, new testing methods will add to the cost and efforts.
• The third approach to the problem of digital circuit design is to use
programmable logic devices (PLDs). This method has the advantages of
both the approaches discussed earlier. PLD are special type of ICs
which can be programmed by the users as per their requirements.
Copyright to gaurav verma
PLD’s options available with us
29
1. PAL - Programmable Array Logic
2. PLA - Programmable Logic Array
3. CPLD - Complex Programmable Logic Devices
4. FPGA - Field Programmable Gate Array
5. SOC - System On Chip
Copyright to gaurav verma
Programmable Array Logic
30
• PAL is the most commonly used type of PLD. It is a programmable array of logic gates.
The array of logic gates is on the single chip and it is in the AND-OR configuration.
• The special feature of PAL is that it has a programmable AND array and a fixed OR
array.
• Also note that each OR gate in the OR array gets inputs from some of the AND gates.
That means Outputs of all the AND gates are not applied to any of the OR gates. Figure
below shows the configuration for a PAL with 4 inputs, 4 AND gate (programmable) and
2 fixed OR gates.
Copyright to gaurav verma
BCD to grey code converter using PAL
31 Copyright to gaurav verma
BCD to grey code converter using PAL
32
Copyright to gaurav verma
Programmable Logic Array
33
• It is also a programmable array of logic gates. The array of logic gates is on the single
chip and it is in the AND-OR configuration.
• The only difference in PLA from PAL is that it has a programmable AND array and a
programmable OR array.
• The AND matrix can be used to implement the product terms in the SOP form and the
OR matrix is used for implementing the sum of the product terms. Figure below shows
the configuration for a PLA with 4 inputs, 4 AND gate (programmable) and 4 OR gate
(programmable).
Copyright to gaurav verma
Magnitude Comparator using PLA
34 Copyright to gaurav verma
Magnitude Comparator using PLA
35 Copyright to gaurav verma
Complex Programmable Logic Devices
36
A CPLD comprises multiple circuit blocks on a single chip, with internal wiring resources to
connect the circuit blocks. Each circuit block is similar to a PLA or a PAL; we will refer to
the circuit blocks as PAL-like blocks. An example of a CPLD is given in Figure below. It
includes four PAL-like blocks that are connected to a set of interconnection wires. Each
PAL-like block is also connected to a sub circuit labeled I/O block, which is attached to a
number of the chip’s input and output pins.
Copyright to gaurav verma
Field Programmable Gate Array
37 Copyright to gaurav verma
38
The user-programmable gate array is composed of five major configurable elements:
• IOBs provide the interface between the package pins and the internal logic
• CLBs provide the functional elements for constructing most logic
• Dedicated Block RAM memories of 4096 bits each
• Clock DLLs for clock-distribution delay compensation and clock domain control
• Versatile multi-level interconnect structure
Copyright to gaurav verma
39
Antifuse FPGAs
Devices are configured by burning a set of fuses. Once the chip is configured, it cannot be
altered any more. The Bug fixes and updates possible for new PCBs, but hardly for already
manufactured boards.
Flash FPGAs
Devices may be re-programmed several thousand times and are non-volatile, i.e. keep their
configuration after power-off and- with only marginal additional effort, the chips may be updated
in the field. Their re-configuration takes several seconds
SRAM FPGAs
It is currently the dominating technology having unlimited re-programming and additional
circuitry is required to load the configuration into the FPGA after power on.
FPGAs are chips, which are programmed by the customer to perform the desired functionality.
The chips may be programmed either
Once: Antifuse technology, e.g. devices manufactured by Quick logic.
Several times: Flash based, e.g. devices manufactures by Actel.
Dynamically: SRAM based, e.g. devices manufactured by Actel, Altera, Atmel,
Cypress, Lucent, Xilinx.
Each technology has its own advantages, which shall be discussed only very briefly:
Copyright to gaurav verma
40 Copyright to gaurav verma
41 Copyright to gaurav verma
System On Chip
42 Copyright to gaurav verma
43 Copyright to gaurav verma
44 Copyright to gaurav verma
45 Copyright to gaurav verma
46
Copyright to gaurav verma
47 Copyright to gaurav verma
48
Copyright to gaurav verma
49
Copyright to gaurav verma
Acquire skills and get employed
Update skills and stay employed
THANK YOU
50 Copyright to gaurav verma

More Related Content

PDF
Arduino- Serial communication
PPTX
Advanced computer architecture
PPTX
Interrupts and types of interrupts
PPT
Interrupt
PDF
VLSI testing and analysis
PPTX
Applications of paralleL processing
DOCX
Hardware-Software Codesign
PDF
Introduction to Embedded Architecture
Arduino- Serial communication
Advanced computer architecture
Interrupts and types of interrupts
Interrupt
VLSI testing and analysis
Applications of paralleL processing
Hardware-Software Codesign
Introduction to Embedded Architecture

What's hot (20)

PDF
communication interfaces-Embedded real time systems
PPT
Clock gating
PPT
1.prallelism
PPT
Pipelining & All Hazards Solution
PDF
SOC System Design Approach
PDF
RTOS - Real Time Operating Systems
PPSX
CPLD xc9500
PPTX
Advance Microcontroller AVR
PDF
ARM Microcontrollers and Embedded Systems-Module 1_VTU
PDF
Memory interfacing of microprocessor 8085
PPTX
PPTX
Monolithic kernel
PPT
PIC timer programming
PPTX
faults in digital systems
DOCX
Wsn Wireless Hart Architecture,Mechanism,Components
PDF
Device drivers and interrupt service mechanism
PPTX
Math Co-processor 8087
PPTX
INTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLS
PDF
Pcie basic
PPTX
Memory technology and optimization in Advance Computer Architechture
communication interfaces-Embedded real time systems
Clock gating
1.prallelism
Pipelining & All Hazards Solution
SOC System Design Approach
RTOS - Real Time Operating Systems
CPLD xc9500
Advance Microcontroller AVR
ARM Microcontrollers and Embedded Systems-Module 1_VTU
Memory interfacing of microprocessor 8085
Monolithic kernel
PIC timer programming
faults in digital systems
Wsn Wireless Hart Architecture,Mechanism,Components
Device drivers and interrupt service mechanism
Math Co-processor 8087
INTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLS
Pcie basic
Memory technology and optimization in Advance Computer Architechture
Ad

Viewers also liked (19)

PDF
Embedded system (Chapter 2) part 2
PDF
Embedded system (Chapter 3) io_port_programming
PDF
CMOS Topic 6 -_designing_combinational_logic_circuits
PDF
CMOS Topic 4 -_the_wire
PDF
Introduction To Embedded Systems
PDF
CMOS Topic 7 -_design_methodology
PDF
CMOS Topic 5 -_cmos_inverter
DOCX
Panduan menulis report akhir
PDF
Embedded system (Chapter 2) part A
DOCX
report latihan industri politeknik ( Bab 1 )
PDF
Embedded system (Chapter 1)
DOCX
Pengakuan
PDF
CMOS Topic 3 -_the_device
DOC
Isi kandungan (latihan industri)
DOCX
Report latihan industri
PPTX
Embedded system (Chapter 5) part 1
PPTX
Embedded system (Chapter )
PPT
CMOS Topic 2 -manufacturing_process
PDF
INTRODUCTION_TO_IC
Embedded system (Chapter 2) part 2
Embedded system (Chapter 3) io_port_programming
CMOS Topic 6 -_designing_combinational_logic_circuits
CMOS Topic 4 -_the_wire
Introduction To Embedded Systems
CMOS Topic 7 -_design_methodology
CMOS Topic 5 -_cmos_inverter
Panduan menulis report akhir
Embedded system (Chapter 2) part A
report latihan industri politeknik ( Bab 1 )
Embedded system (Chapter 1)
Pengakuan
CMOS Topic 3 -_the_device
Isi kandungan (latihan industri)
Report latihan industri
Embedded system (Chapter 5) part 1
Embedded system (Chapter )
CMOS Topic 2 -manufacturing_process
INTRODUCTION_TO_IC
Ad

Similar to Introduction to Embedded Systems and its Applications (20)

PPTX
Embedded system
PDF
SMART AND INTELLIGENCE HI-TECH ARMY SECURITY SYSTEM
DOCX
Training report on embedded sys_AVR
DOC
PPT
Embedded
PDF
Tevatron technologies design_services_corporate_profile
PPTX
Embedded system
PDF
2e062d07-4a72-4792-af77-5e53147d4c81.pdf
PDF
2e062d07-4a72-4792-af77-5e53147d4c81.pdf
PPTX
Tevatron_Technologies_Design_Services_Corporate_Profile
PDF
embedd system diploma. 21.5.pdf according to
PPT
embededsystemfinal1-170130182030 (1).ppt
PPT
Embedded system by owais
PPSX
It 443 lecture 1
DOCX
Alcohol report
PPTX
Building Efficient Edge Nodes for Content Delivery Networks
PPTX
PPT of PLC and SCADA
PPT
Soc.pptx
PDF
Report (2)
PPT
FPGA_prototyping proccesing with conclusion
Embedded system
SMART AND INTELLIGENCE HI-TECH ARMY SECURITY SYSTEM
Training report on embedded sys_AVR
Embedded
Tevatron technologies design_services_corporate_profile
Embedded system
2e062d07-4a72-4792-af77-5e53147d4c81.pdf
2e062d07-4a72-4792-af77-5e53147d4c81.pdf
Tevatron_Technologies_Design_Services_Corporate_Profile
embedd system diploma. 21.5.pdf according to
embededsystemfinal1-170130182030 (1).ppt
Embedded system by owais
It 443 lecture 1
Alcohol report
Building Efficient Edge Nodes for Content Delivery Networks
PPT of PLC and SCADA
Soc.pptx
Report (2)
FPGA_prototyping proccesing with conclusion

Recently uploaded (20)

PDF
Arduino robotics embedded978-1-4302-3184-4.pdf
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
Construction Project Organization Group 2.pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
Structs to JSON How Go Powers REST APIs.pdf
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
web development for engineering and engineering
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPT
Mechanical Engineering MATERIALS Selection
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
composite construction of structures.pdf
PPT
Project quality management in manufacturing
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
PPTX
Foundation to blockchain - A guide to Blockchain Tech
Arduino robotics embedded978-1-4302-3184-4.pdf
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Construction Project Organization Group 2.pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Structs to JSON How Go Powers REST APIs.pdf
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
CYBER-CRIMES AND SECURITY A guide to understanding
web development for engineering and engineering
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Mechanical Engineering MATERIALS Selection
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
composite construction of structures.pdf
Project quality management in manufacturing
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Strings in CPP - Strings in C++ are sequences of characters used to store and...
Foundation to blockchain - A guide to Blockchain Tech

Introduction to Embedded Systems and its Applications

  • 1. BASIC EMBEDDED SYSTEMS & DESIGN Gaurav Verma Assistant Professor Department of Electronics and Communication Engineering Jaypee Institute of Information and Technology Sector-62, Noida, Uttar Pradesh, India 1 Copyright to gaurav verma
  • 2. Course Content 2 1. INTRODUCTION & HARDWARE FUNDAMENTAL FOR EMBEDDED DEVELOPERS 1. Embedded System and its applications. 2. Design Parameters of Embedded System and its significance. 3. Embedded System design flow and design life cycle. 4. Digital Circuit Parameters 4.1 Open collector outputs 4.2 Tristate outputs 4.3 I/O source and sinking 4.4 Fan-in and Fan-out 4.5 Propagation delay 4.6 Figure of merit 5. Programmable Logic Devices 5.1 Programmable Array Logic (PAL) 5.2 Programmable Logic Array (PLA) 5.3 Complex Programmable Logic Device (CPLD) 5.4 Field Programmable Gate Array (FPGA) 5.5 Programmable System on Chip (SOC) Copyright to gaurav verma
  • 3. Course Content cont… 2. INTRODUCTION TO MICROPROCESSORS AND MICROCONTROLLERS 1. Introduction 1.1 Microprocessor Versus Microcontrollers 1.2 Microcontrollers for Embedded Systems 1.3 Embedded Versus External Memory Devices 1.4 CISC Versus RISC Processors 1.5 Harvard Versus Von-Neumann architecture 1.6 Superscalar Versus VLIW architecture 2. 8051/8031/8052 Microcontroller 2.1 Basic architecture 2.2 Pin configuration 2.3 Memory organization (registers and i/o ports) 2.4 Assembly language programming ( addressing modes and instruction set) 2.5 Timers and Interrupts 2.6 Serial Communication 3 Copyright to gaurav verma
  • 4. Course Content cont… 4 Copyright to gaurav verma
  • 5. Course Content cont… 4. INTRODUCTION TO RTOS AND ADVANCED MICROPROCESSOR 1. Real Time Operating System (RTOS) 1.1 Types of real time tasks 1.2 Task Periodicity 1.3 Process state diagram 1.4 Kernel and Scheduler 1.5 Scheduling algorithms 1.6 Shared data (Resource) and Mutual Exclusion 1.7 Semaphore 2. Introduction to ARM 2.1 Features 2.2 ARM Pipeline 2.3 Instruction Set Architecture (ISA) 2.4 Thumb Instructions 2.5 Exceptions in ARM 5 Copyright to gaurav verma
  • 6. Course Content cont… 5. COMMUNICATION PROTOCOLS 1. Communication Protocols 1.1 Serial Protocols a) Inter IC (I2 C) b) Controller Area Network (CAN) c) Serial Peripheral Interface (SPI) d) Universal Serial Bus (USB) 1.2 Parallel Protocols a) Peripheral Component Interconnect (PCI) b) ARM Bus 1.3 Wireless Protocols a) Infrared Data Association (IrDA) b) Bluetooth c) IEEE 802.11 6 Copyright to gaurav verma
  • 8. UNIT 1: Introduction and Hardware Fundamentals for Embedded Developers 8 Copyright to gaurav verma
  • 9. Embedded System & its Applications What is system? A system is also an arrangement in which all its units assemble and work together according to the plan or program. OR A system is a way of working, organizing or doing one or many tasks according to a fixed plan, program or set of rules. 9 What is embedded? To implant something inside OR To insert something inside Copyright to gaurav verma
  • 10. SYSTEM EXAMPLES WATCH It is a time display SYSTEM Parts: Hardware, Needles, Battery, Dial, Chassis and Strap Rules 1.All needles move clockwise only 2.A thin needle rotates every second 3.A long needle rotates every minute 4.A short needle rotates every hour 5.All needles return to the original position after 12 hours 10 Copyright to gaurav verma
  • 11. WASHING MACHINE It is an automatic clothes washing SYSTEM Parts: Status display panel, Switches & Dials, Motor, Power supply & control unit, Inner water level sensor and solenoid valve. Rules 1.Wash by spinning 2.Rinse 3.Drying 4.Wash over by blinking 5.Each step display the process stage 6.In case interruption, execute only the remaining SYSTEM EXAMPLES 11 Copyright to gaurav verma
  • 12. What is EMBEDDED SYSTEM? Intelligence inside the system Processing element 12 Inside it there is a chip Acting as a brain for this system • Microprocessor • Microcontroller • DSP • ASIC • PLDs • FPGA • SOC Copyright to gaurav verma
  • 13. EMBEDDED SYSTEM DEFINITIONS 13 Definition 1: Combination of Hardware & Software in general SOFTWARE PROGRAM Definition 2: An embedded system is a special-purpose computer system designed to perform a dedicated function & Any system where the user doesn’t want to or need to know that it includes a processor by Chandandeep Singh PABLA (Sr. Manager ST Microelectronics) Definition 3: An embedded system can be defined as a processing element based computing or controlling system embed within a larger electronic device, performing a single (or a small set of) function(s) repeatedly, following certain time constraints and often going unnoticed by device user by Prof. Santanu Chattopadyay (IIT Kharagpur) Is Desktop, Laptop, Mobile and Tablets are embedded systems as per the above definition???????? Copyright to gaurav verma
  • 14. 14 EMBEDDED SYSTEM DEFINITIONS Definition 5: An embedded system is a processing element (Microprocessor, Microcontroller, DSP, PLD, FPGA, ASIC, SOC) based computing/controlling electronic system designed to do one or a few dedicated and/or specific functions often with real-time computing constraints. It is embedded as part of a complete device often unnoticed by the device user by Gaurav Verma (Asst. Prof. JIIT Noida) This definition, being a bit technical, may not be very precise. However, it should be noted that giving a precise definition of embedded system is quite difficult. Definition 4: An embedded system is a computer system designed to do one or a few dedicated and/or specific functions often with real-time computing constraints. It is embedded as part of a complete device often including hardware and mechanical parts by Abhishek Tiwari (Sr. Technical officer CDAC Noida) Copyright to gaurav verma
  • 15. Examples of embedded systems • Mobile Phones • Microwave • Washing Machine • GPS • Intelligent credit card • Cruise control Car engine timing 15 Copyright to gaurav verma
  • 16. Examples of embedded systems • Industrial controller • Guided missiles • Digital TV • Flight controller • Pace Makers • Gaming devices and on and on …… 16 Copyright to gaurav verma
  • 17. How many do we use? Average middle-class American home has 40 to 50 embedded processors in it  Microwave, washer, dryer, dishwasher, TV, VCR, stereo, hair dryer, coffee maker, remote control, humidifier, heater, toys, etc. Luxury cars have over 60 embedded processors  Brakes, steering, windows, locks, ignition, dashboard displays, transmission, mirrors, etc. Personal computers have over 10 embedded processors  Graphics accelerator, mouse, keyboard, hard-drive, CD-ROM, bus interface, network card, etc. Pentium/x86 holds largest processor volume share!  True/False? 17 Copyright to gaurav verma
  • 18. Embedded Processors Proliferation 18 Copyright to gaurav verma
  • 19. Broad Embedded Systems Segments 19 Copyright to gaurav verma
  • 20. Embedded System Pervasiveness Enablers • More Processing Power @ Lesser Cost • Moore’s Law • More than Moore • Multicore Systems • Networking Technologies • Progress in wireless communication allows for flexible interconnect topologies • Tools and SoC • Hardware and software commoditization • Open Source provide powerful platforms 1981 1984 1987 1990 1993 1996 1999 2002 Leading edge chip in 1981 10,000 transistors Leading edge chip in 2002 150,000,000 transistors 20 Copyright to gaurav verma
  • 21. Embedded System Economics • The embedded systems market should reach €1.5 trillion in revenue by 2015! 21 Copyright to gaurav verma
  • 23. Design Parameters of Embedded Systems • System Cost: NRE & RE • Small sized : Hardware (Silicon Area) & Software (code size) • Performance: ASIC may have better performance than FPGA • Power: Very Important Issue as most of the embedded systems are battery operated & plastic packaging & cooling increase the cost. • Design Flexibility: FPGA are more flexible than ASIC. Software code is more flexible than hardware. • Design turn around time: time needed to complete the design starting from specification up to taking it into the market ( Use of offshelf components rather design from scratch) • System Maintainability: ease of maintaining and monitoring the health of the system after it has been put on the field. • Testing & Verification: ability to check the system functionality and gets confidence regarding the correct operation of it. 23 Copyright to gaurav verma
  • 24. Design Parameters Competition 24 To best meet this optimization challenge, the designer must be comfortable with a variety of hardware and software implementation technologies, and must be able to migrate from one technology to another, in order to find the best implementation for a given application and constraints. Thus, a designer cannot simply be a hardware expert or a software expert, as is commonly the case today; the designer must have expertise in both areas. Copyright to gaurav verma
  • 25. Design Parameters Competition 25 To best meet this optimization challenge, the designer must be comfortable with a variety of hardware and software implementation technologies, and must be able to migrate from one technology to another, in order to find the best implementation for a given application and constraints. Thus, a designer cannot simply be a hardware expert or a software expert, as is commonly the case today; the designer must have expertise in both areas. Copyright to gaurav verma
  • 26. Embedded System Design Flow 26 Copyright to gaurav verma
  • 27. Digital Circuit Parameters 27 1. Open collector outputs 2. Tristate outputs 3. I/O source and sinking 4. Fan-in and Fan-out 5. Propagation delay 6. Figure of merit Copyright to gaurav verma
  • 28. Why Programmable Logic Devices? 28 • We know about different ICs such as multiplexers, comparators, adders, code converters, demultiplexers etc. Such ICs are called fixed function ICs. • The advantage of designing the fixed function ICs are low development cost and easy testing. But the disadvantage are requirement of large board space, large power requirements, no security, additional costs are required if the existing circuit is to be modified. • The remedy to this problem is application specific integrated circuit (ASICs). These ICs are designed to meet specific requirements of a user or application. But the design of ASICs is too complex, enormous initial development cost, new testing methods will add to the cost and efforts. • The third approach to the problem of digital circuit design is to use programmable logic devices (PLDs). This method has the advantages of both the approaches discussed earlier. PLD are special type of ICs which can be programmed by the users as per their requirements. Copyright to gaurav verma
  • 29. PLD’s options available with us 29 1. PAL - Programmable Array Logic 2. PLA - Programmable Logic Array 3. CPLD - Complex Programmable Logic Devices 4. FPGA - Field Programmable Gate Array 5. SOC - System On Chip Copyright to gaurav verma
  • 30. Programmable Array Logic 30 • PAL is the most commonly used type of PLD. It is a programmable array of logic gates. The array of logic gates is on the single chip and it is in the AND-OR configuration. • The special feature of PAL is that it has a programmable AND array and a fixed OR array. • Also note that each OR gate in the OR array gets inputs from some of the AND gates. That means Outputs of all the AND gates are not applied to any of the OR gates. Figure below shows the configuration for a PAL with 4 inputs, 4 AND gate (programmable) and 2 fixed OR gates. Copyright to gaurav verma
  • 31. BCD to grey code converter using PAL 31 Copyright to gaurav verma
  • 32. BCD to grey code converter using PAL 32 Copyright to gaurav verma
  • 33. Programmable Logic Array 33 • It is also a programmable array of logic gates. The array of logic gates is on the single chip and it is in the AND-OR configuration. • The only difference in PLA from PAL is that it has a programmable AND array and a programmable OR array. • The AND matrix can be used to implement the product terms in the SOP form and the OR matrix is used for implementing the sum of the product terms. Figure below shows the configuration for a PLA with 4 inputs, 4 AND gate (programmable) and 4 OR gate (programmable). Copyright to gaurav verma
  • 34. Magnitude Comparator using PLA 34 Copyright to gaurav verma
  • 35. Magnitude Comparator using PLA 35 Copyright to gaurav verma
  • 36. Complex Programmable Logic Devices 36 A CPLD comprises multiple circuit blocks on a single chip, with internal wiring resources to connect the circuit blocks. Each circuit block is similar to a PLA or a PAL; we will refer to the circuit blocks as PAL-like blocks. An example of a CPLD is given in Figure below. It includes four PAL-like blocks that are connected to a set of interconnection wires. Each PAL-like block is also connected to a sub circuit labeled I/O block, which is attached to a number of the chip’s input and output pins. Copyright to gaurav verma
  • 37. Field Programmable Gate Array 37 Copyright to gaurav verma
  • 38. 38 The user-programmable gate array is composed of five major configurable elements: • IOBs provide the interface between the package pins and the internal logic • CLBs provide the functional elements for constructing most logic • Dedicated Block RAM memories of 4096 bits each • Clock DLLs for clock-distribution delay compensation and clock domain control • Versatile multi-level interconnect structure Copyright to gaurav verma
  • 39. 39 Antifuse FPGAs Devices are configured by burning a set of fuses. Once the chip is configured, it cannot be altered any more. The Bug fixes and updates possible for new PCBs, but hardly for already manufactured boards. Flash FPGAs Devices may be re-programmed several thousand times and are non-volatile, i.e. keep their configuration after power-off and- with only marginal additional effort, the chips may be updated in the field. Their re-configuration takes several seconds SRAM FPGAs It is currently the dominating technology having unlimited re-programming and additional circuitry is required to load the configuration into the FPGA after power on. FPGAs are chips, which are programmed by the customer to perform the desired functionality. The chips may be programmed either Once: Antifuse technology, e.g. devices manufactured by Quick logic. Several times: Flash based, e.g. devices manufactures by Actel. Dynamically: SRAM based, e.g. devices manufactured by Actel, Altera, Atmel, Cypress, Lucent, Xilinx. Each technology has its own advantages, which shall be discussed only very briefly: Copyright to gaurav verma
  • 40. 40 Copyright to gaurav verma
  • 41. 41 Copyright to gaurav verma
  • 42. System On Chip 42 Copyright to gaurav verma
  • 43. 43 Copyright to gaurav verma
  • 44. 44 Copyright to gaurav verma
  • 45. 45 Copyright to gaurav verma
  • 47. 47 Copyright to gaurav verma
  • 50. Acquire skills and get employed Update skills and stay employed THANK YOU 50 Copyright to gaurav verma