SlideShare a Scribd company logo
10
Most read
11
Most read
14
Most read
Introduction to
EMBEDDED SYSTEM
(2nd Edition)
SHIBU K V
Dr Moe Moe Myint
Department of Computer Engineering & Information Technology
Mandalay Technological University
www.slideshare.net/MoeMoeMyint
moemoemyint@moemyanmar.ml
moe2myint.mdy@gmail.com
drmoemoemyint.blogspot.com
Agenda
2.1 Core of the Embedded System
2.2 Memory
2.3 Sensors and Actuators
2.4 Communication Interface
2.5 Embedded Firmware
2.6 Other System Components
2.7 PCB and Passive Components
2
Mandalay Technological University
Department of Computer Engineering and Information Technology
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Learning Objectives
 Learn the building blocks of a typical Embedded System
 Learn about General Purpose Processors (GPPs), Application
Specific Instruction Set Processors (ASIPs), Microprocessors,
Microcontrollers, Digital Signal Processors, RISC & CISC
processors, Harvad and Von-Neumann Processor Architecture, Big-
endian v/s Little endian processors, Load Store operation and
Instruction pipelining
 Learn about different PLDs like Complex Programmable Logic
Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), etc.
3
Mandalay Technological University
Department of Computer Engineering and Information Technology
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
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 different factors to be considered in the selection of memory
for embedded systems
 Understand the role of sensors, actuators and their interfacing with the I/O
subsystems of an embedded system
4
Mandalay Technological University
Department of Computer Engineering and Information Technology
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
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
 Learn about the different communication interfaces of an embedded system
 Understand the various chip level communication interfaces like I2C, SPI,
UART, 1-wire, parallel bus, etc
 Understand the different wired and wireless external communication interfaces
like RS-232C, RS-485, Parallel Port, USB, IEEE1394, Infrared (IrDA),
Bluetooth, Wifi, ZigBee, GPRS, etc.
 Know what embedded firmware is and its role in embedded systems
5
Mandalay Technological University
Department of Computer Engineering and Information Technology
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Cont’d
 Understand the different system components like Reset Circuit,
Brown-out protection circuit, Oscillator Unit, Real-Time Clock
(RTC) and Watchdog Timer unit
 Understand the role of PCB in embedded systems
6
Mandalay Technological University
Department of Computer Engineering and Information Technology
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Embedded Firmware7
Mandalay Technological University
Department of Computer Engineering and Information Technology
 Embedded firmware refers to the control algorithm (Program instructions)
and/or the configuration settings that an embedded system developer dumps
into the code (program) memory of the embedded system. It is an un-avoidable
part of an embedded system. There are various methods available for
developing the embedded firmware. They are listed below:
1. Write the program in high level languages like Embedded C/C++ using an
Integrated Development Environment.
2. Write the program in Assembly language
using the instructions supported
by your application’s target processor/controller.
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Cont’d8
Mandalay Technological University
Department of Computer Engineering and Information Technology
 The instruction set for each family of processor/controller is different and the
program written in either of the methods given above should be converted into a
processor understandable machine code before loading it into the program
memory.
 The process of converting the program written in either a high level language or
processor/controller specific Assembly code to machine readable binary code is
called ‘HEX File Creation’.
 If the program is written in Embedded
C/C++ using an IDE, the cross compiler included
in the IDE converts it into corresponding
processor/controller understandable ‘HEX File’.
 If you are following the Assembly language
based programming technique, you can use the utilities
supplied by the processor/controller vendors to convert
the source code into ‘HEX File’.
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Other System Components9
Mandalay Technological University
Department of Computer Engineering and Information Technology
 The other system components refer to the components/circuits/ICs
which are necessary for the proper functioning of the embedded
system.
 Reset Circuit, Brown-out Protection Circuit, Oscillator Unit, Real-
Time Clock (RTC), Watchdog Timer are examples of circuits/ICs
which are essential for the proper functioning of the
processor/controllers.
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Reset Circuit10
Mandalay Technological University
Department of Computer Engineering and Information Technology
 The reset circuit is essential to ensure that the device is not operating at a voltage level where
the device is not guaranteed to operate, during system power ON. The reset signal brings
the internal registers and the different hardware systems of the processor/controller to a
known state and starts the firmware execution from the reset vector.
 The reset signal can be either active high (The processor undergoes reset when the reset pin
of the processor is at logic high) or active low (The processor undergoes reset when the reset
pin of the processor is at logic low). Since the processor operation is synchronized to a clock
signal, the reset pulse should be wide enough to give time for the clock oscillator to
stabilize before the internal reset state starts.
 Some microprocessors/controllers contain built-in internal reset circuitry and they don’t
require external reset circuitry. Figure illustrates a resistor capacitor based passive reset
circuit for active high and low configurations. The reset pulse width can be adjusted by
changing the resistance value R and capacitance value C.
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
11
Mandalay Technological University
Department of Computer Engineering and Information Technology
RC-Based Reset Circuit
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Brown-out Protection Circuit12
Mandalay Technological University
Department of Computer Engineering and Information Technology
 The brown-out protection circuit prevents the processor/controller
from unexpected program execution behavior when the supply
voltage to the processor/controller falls below a specified voltage.
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Oscillator
 The Oscillator unit generates clock signals for synchronizing the
operations of the processor.
Real-Time Clock (RTC)13
Mandalay Technological University
Department of Computer Engineering and Information Technology
 Real-Time Clock (RTC) is a system component responsible for keeping
track of time. RTC holds information like current time (in hours,
minutes and seconds) in 12 hour/24 hour format, date, month, year, day of
the week, etc. and supplies timing reference to the system. RTC is intended
to function even in the absence of power. The RTC chip contains a
microchip for holding the time and date related information and backup
battery cell for functioning in the absence of power, in a single IC
package. The RTC chip is interfaced to the processor or controller of the
embedded system. For Operating System based embedded devices, a
timing reference is essential for synchronizing the operations of the OS
kernel.
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Watchdog Timer
14
Mandalay Technological University
Department of Computer Engineering and Information Technology
 A watchdog is to monitor the firmware execution and reset the system
processor/microcontroller when the program execution hangs up or generates an Interrupt in
case the execution time for a task is exceeding the maximum allowed limit.
 If the firmware execution doesn’t complete due to malfunctioning, within the time
required by the watchdog to reach the maximum count, the counter will generate a reset pulse
and this will reset the processor (if it is connected to the reset line of the processor).
 Most of the processors implement watchdog as a built-in component and provides status
register to control the watchdog timer (like enabling and disabling watchdog functioning)
and watchdog timer register for writing the count value. If the processor/controller doesn’t
contain a built in watchdog timer, the same can be
implemented using an external watchdog timer IC circuit.
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
PCB and Passive Components15
Mandalay Technological University
Department of Computer Engineering and Information Technology
 Printed Circuit Board (PCB) is the backbone of every embedded
system. After finalizing the components and the inter-connection
among them, a schematic design is created and according to the schematic
PCB is fabricated. PCS acts as a platform for mounting all the
necessary components as per the design requirement. Also it acts as a
platform for testing your embedded firmware. You can also find some
passive electronic components like resistor, capacitor, diodes, etc. on your
board. They are the co-workers of various chips contained in your
embedded hardware. They are very essential for the proper functioning of
your embedded system.
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Cont’d16
Mandalay Technological University
Department of Computer Engineering and Information Technology
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Reviewed Questions17
Mandalay Technological University
Department of Computer Engineering and Information Technology
1. What is Embedded Firmware? What are the various methods available
for developing Embedded Firmware?
2. Explain the role of Reset circuit in Embedded System.
3. Explain the role of Real Time Clock (RTC) in Embedded System.
4. Explain the role of Watchdog Timer in Embedded System.
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
 Only Original Owner has full rights reserved for copied images.
 This PPT is only for fair academic use.
18
Mandalay Technological University
Department of Computer Engineering and Information Technology
19

More Related Content

What's hot (20)

PPT
Memory & I/O interfacing
deval patel
 
PPTX
Chapter 3 Charateristics and Quality Attributes of Embedded System
Moe Moe Myint
 
DOCX
Hardware-Software Codesign
Sudhanshu Janwadkar
 
PPT
Embedded systems and its ports
nitin kumar
 
PPTX
Pipelining approach
GopinathD17
 
PPTX
synchronous state machine design
Adarsh Patel
 
PDF
Task communication
1jayanti
 
PPTX
CISC & RISC Architecture
Suvendu Kumar Dash
 
PPT
Purpose of Embedded Systems
VijayKumar5738
 
PPTX
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I Core of Embedded Systems
Arti Parab Academics
 
PPTX
Layout & Stick Diagram Design Rules
varun kumar
 
PPTX
Interfacing with peripherals: analog to digital converters and digital to ana...
NimeshSingh27
 
PPTX
ARM Exception and interrupts
NishmaNJ
 
PPTX
LPC 2148 ARM MICROCONTROLLER
sravannunna24
 
PPTX
Interfacing Stepper motor with 8051
Pantech ProLabs India Pvt Ltd
 
PDF
Keypad Interfacing with 8051 Microcontroller
Sudhanshu Janwadkar
 
PPTX
test generation
dennis gookyi
 
PPT
Core of the ES
VijayKumar5738
 
PPTX
Embedded system design process
RAMESHBABU311293
 
PPTX
Introduction to Embedded Systems I : Chapter 1
Moe Moe Myint
 
Memory & I/O interfacing
deval patel
 
Chapter 3 Charateristics and Quality Attributes of Embedded System
Moe Moe Myint
 
Hardware-Software Codesign
Sudhanshu Janwadkar
 
Embedded systems and its ports
nitin kumar
 
Pipelining approach
GopinathD17
 
synchronous state machine design
Adarsh Patel
 
Task communication
1jayanti
 
CISC & RISC Architecture
Suvendu Kumar Dash
 
Purpose of Embedded Systems
VijayKumar5738
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I Core of Embedded Systems
Arti Parab Academics
 
Layout & Stick Diagram Design Rules
varun kumar
 
Interfacing with peripherals: analog to digital converters and digital to ana...
NimeshSingh27
 
ARM Exception and interrupts
NishmaNJ
 
LPC 2148 ARM MICROCONTROLLER
sravannunna24
 
Interfacing Stepper motor with 8051
Pantech ProLabs India Pvt Ltd
 
Keypad Interfacing with 8051 Microcontroller
Sudhanshu Janwadkar
 
test generation
dennis gookyi
 
Core of the ES
VijayKumar5738
 
Embedded system design process
RAMESHBABU311293
 
Introduction to Embedded Systems I : Chapter 1
Moe Moe Myint
 

Similar to Introduction to Embedded System I: Chapter 2 (5th portion) (20)

PDF
Unit 1 intro-embedded
Pavithra S
 
PPTX
Lecture 1 PPT - Introduction to Embedded Systems.pptx
cronydeva
 
PDF
shibu KV_ intro slides on embedded systems.pdf
lekha349785
 
PDF
To expose students to various challenges and constraints of special purpose c...
Sindhu Mani
 
PDF
typicales-210510062115.pdf
ssuser136534
 
PDF
Typical Embedded System
anand hd
 
PDF
A topic on embedded system
SarengGopal
 
PPTX
Introduction to Embedded Systems
Joy Dutta
 
PPTX
Introduction to embedded System.pptx
Pratik Gohel
 
PPT
Embedded system Design
AJAL A J
 
PPT
lecture1-244.ppt
SohailAhmed215465
 
PDF
Introduction to Embedded Systems
محمد عبد الحى
 
PPTX
Introduction to Embeded System chapter one and 2.pptx
gadisaAdamu
 
PPTX
ESD III UNIT.pptx
ECEHOD19
 
PPTX
Chapter 4 Embedded System: Application and Domain Specific
Moe Moe Myint
 
PDF
training report on embedded system and AVR
Urvashi Khandelwal
 
PPTX
Basics of Embedded Systems and its applications by Dr. A. K. Lodhi
AmairullahKhanLodhi1
 
PPTX
EMBEDDED SYSTEMS overview
MADHUMITHA154
 
PDF
PILOT Session for Embedded Systems
Mohamed Al-Emam, PMP®, CAP®
 
PPTX
EE8691 – EMBEDDED SYSTEMS.pptx
RockFellerSinghRusse
 
Unit 1 intro-embedded
Pavithra S
 
Lecture 1 PPT - Introduction to Embedded Systems.pptx
cronydeva
 
shibu KV_ intro slides on embedded systems.pdf
lekha349785
 
To expose students to various challenges and constraints of special purpose c...
Sindhu Mani
 
typicales-210510062115.pdf
ssuser136534
 
Typical Embedded System
anand hd
 
A topic on embedded system
SarengGopal
 
Introduction to Embedded Systems
Joy Dutta
 
Introduction to embedded System.pptx
Pratik Gohel
 
Embedded system Design
AJAL A J
 
lecture1-244.ppt
SohailAhmed215465
 
Introduction to Embedded Systems
محمد عبد الحى
 
Introduction to Embeded System chapter one and 2.pptx
gadisaAdamu
 
ESD III UNIT.pptx
ECEHOD19
 
Chapter 4 Embedded System: Application and Domain Specific
Moe Moe Myint
 
training report on embedded system and AVR
Urvashi Khandelwal
 
Basics of Embedded Systems and its applications by Dr. A. K. Lodhi
AmairullahKhanLodhi1
 
EMBEDDED SYSTEMS overview
MADHUMITHA154
 
PILOT Session for Embedded Systems
Mohamed Al-Emam, PMP®, CAP®
 
EE8691 – EMBEDDED SYSTEMS.pptx
RockFellerSinghRusse
 
Ad

More from Moe Moe Myint (16)

PPTX
Chapter 8 Embedded Hardware Design and Development (third portion)
Moe Moe Myint
 
PPTX
Chapter 8 Embedded Hardware Design and Development (second portion)
Moe Moe Myint
 
PPTX
Schematic and PCB Design Using Eagle
Moe Moe Myint
 
PPTX
Lect 06
Moe Moe Myint
 
PPTX
Lect 03 - first portion
Moe Moe Myint
 
PPTX
Lect 02 second portion
Moe Moe Myint
 
PPTX
Lect 02 first portion
Moe Moe Myint
 
PPTX
Lect 02 first portion
Moe Moe Myint
 
PPTX
Lecture 1 for Digital Image Processing (2nd Edition)
Moe Moe Myint
 
PPTX
Digital Image Processing (Lab 09 and 10)
Moe Moe Myint
 
PPTX
Digital Image Processing (Lab 08)
Moe Moe Myint
 
PPTX
Digital Image Processing (Lab 07)
Moe Moe Myint
 
PPTX
Digital Image Processing (Lab 06)
Moe Moe Myint
 
PPTX
Digital Image Processing (Lab 05)
Moe Moe Myint
 
PPT
Dital Image Processing (Lab 2+3+4)
Moe Moe Myint
 
PPT
Digital image processing lab 1
Moe Moe Myint
 
Chapter 8 Embedded Hardware Design and Development (third portion)
Moe Moe Myint
 
Chapter 8 Embedded Hardware Design and Development (second portion)
Moe Moe Myint
 
Schematic and PCB Design Using Eagle
Moe Moe Myint
 
Lect 06
Moe Moe Myint
 
Lect 03 - first portion
Moe Moe Myint
 
Lect 02 second portion
Moe Moe Myint
 
Lect 02 first portion
Moe Moe Myint
 
Lect 02 first portion
Moe Moe Myint
 
Lecture 1 for Digital Image Processing (2nd Edition)
Moe Moe Myint
 
Digital Image Processing (Lab 09 and 10)
Moe Moe Myint
 
Digital Image Processing (Lab 08)
Moe Moe Myint
 
Digital Image Processing (Lab 07)
Moe Moe Myint
 
Digital Image Processing (Lab 06)
Moe Moe Myint
 
Digital Image Processing (Lab 05)
Moe Moe Myint
 
Dital Image Processing (Lab 2+3+4)
Moe Moe Myint
 
Digital image processing lab 1
Moe Moe Myint
 
Ad

Recently uploaded (20)

PPTX
Knowledge Representation : Semantic Networks
Amity University, Patna
 
PPTX
2025 CGI Congres - Surviving agile v05.pptx
Derk-Jan de Grood
 
PDF
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
PDF
methodology-driven-mbse-murphy-july-hsv-huntsville6680038572db67488e78ff00003...
henriqueltorres1
 
PPTX
美国电子版毕业证南卡罗莱纳大学上州分校水印成绩单USC学费发票定做学位证书编号怎么查
Taqyea
 
PDF
SERVERLESS PERSONAL TO-DO LIST APPLICATION
anushaashraf20
 
PPTX
Introduction to Internal Combustion Engines - Types, Working and Camparison.pptx
UtkarshPatil98
 
PDF
Data structures notes for unit 2 in computer science.pdf
sshubhamsingh265
 
PPTX
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
PDF
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
PDF
Halide Perovskites’ Multifunctional Properties: Coordination Engineering, Coo...
TaameBerhe2
 
PPT
Testing and final inspection of a solar PV system
MuhammadSanni2
 
PDF
Design Thinking basics for Engineers.pdf
CMR University
 
PDF
Electrical Machines and Their Protection.pdf
Nabajyoti Banik
 
PDF
Digital water marking system project report
Kamal Acharya
 
PPTX
MODULE 03 - CLOUD COMPUTING AND SECURITY.pptx
Alvas Institute of Engineering and technology, Moodabidri
 
PDF
20ES1152 Programming for Problem Solving Lab Manual VRSEC.pdf
Ashutosh Satapathy
 
PPTX
澳洲电子毕业证澳大利亚圣母大学水印成绩单UNDA学生证网上可查学历
Taqyea
 
PPTX
Water Resources Engineering (CVE 728)--Slide 4.pptx
mohammedado3
 
PDF
WD2(I)-RFQ-GW-1415_ Shifting and Filling of Sand in the Pond at the WD5 Area_...
ShahadathHossain23
 
Knowledge Representation : Semantic Networks
Amity University, Patna
 
2025 CGI Congres - Surviving agile v05.pptx
Derk-Jan de Grood
 
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
methodology-driven-mbse-murphy-july-hsv-huntsville6680038572db67488e78ff00003...
henriqueltorres1
 
美国电子版毕业证南卡罗莱纳大学上州分校水印成绩单USC学费发票定做学位证书编号怎么查
Taqyea
 
SERVERLESS PERSONAL TO-DO LIST APPLICATION
anushaashraf20
 
Introduction to Internal Combustion Engines - Types, Working and Camparison.pptx
UtkarshPatil98
 
Data structures notes for unit 2 in computer science.pdf
sshubhamsingh265
 
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
Halide Perovskites’ Multifunctional Properties: Coordination Engineering, Coo...
TaameBerhe2
 
Testing and final inspection of a solar PV system
MuhammadSanni2
 
Design Thinking basics for Engineers.pdf
CMR University
 
Electrical Machines and Their Protection.pdf
Nabajyoti Banik
 
Digital water marking system project report
Kamal Acharya
 
MODULE 03 - CLOUD COMPUTING AND SECURITY.pptx
Alvas Institute of Engineering and technology, Moodabidri
 
20ES1152 Programming for Problem Solving Lab Manual VRSEC.pdf
Ashutosh Satapathy
 
澳洲电子毕业证澳大利亚圣母大学水印成绩单UNDA学生证网上可查学历
Taqyea
 
Water Resources Engineering (CVE 728)--Slide 4.pptx
mohammedado3
 
WD2(I)-RFQ-GW-1415_ Shifting and Filling of Sand in the Pond at the WD5 Area_...
ShahadathHossain23
 

Introduction to Embedded System I: Chapter 2 (5th portion)

  • 1. Introduction to EMBEDDED SYSTEM (2nd Edition) SHIBU K V Dr Moe Moe Myint Department of Computer Engineering & Information Technology Mandalay Technological University www.slideshare.net/MoeMoeMyint [email protected] [email protected] drmoemoemyint.blogspot.com
  • 2. Agenda 2.1 Core of the Embedded System 2.2 Memory 2.3 Sensors and Actuators 2.4 Communication Interface 2.5 Embedded Firmware 2.6 Other System Components 2.7 PCB and Passive Components 2 Mandalay Technological University Department of Computer Engineering and Information Technology Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
  • 3. Learning Objectives  Learn the building blocks of a typical Embedded System  Learn about General Purpose Processors (GPPs), Application Specific Instruction Set Processors (ASIPs), Microprocessors, Microcontrollers, Digital Signal Processors, RISC & CISC processors, Harvad and Von-Neumann Processor Architecture, Big- endian v/s Little endian processors, Load Store operation and Instruction pipelining  Learn about different PLDs like Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), etc. 3 Mandalay Technological University Department of Computer Engineering and Information Technology Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
  • 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 different factors to be considered in the selection of memory for embedded systems  Understand the role of sensors, actuators and their interfacing with the I/O subsystems of an embedded system 4 Mandalay Technological University Department of Computer Engineering and Information Technology Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
  • 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  Learn about the different communication interfaces of an embedded system  Understand the various chip level communication interfaces like I2C, SPI, UART, 1-wire, parallel bus, etc  Understand the different wired and wireless external communication interfaces like RS-232C, RS-485, Parallel Port, USB, IEEE1394, Infrared (IrDA), Bluetooth, Wifi, ZigBee, GPRS, etc.  Know what embedded firmware is and its role in embedded systems 5 Mandalay Technological University Department of Computer Engineering and Information Technology Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
  • 6. Cont’d  Understand the different system components like Reset Circuit, Brown-out protection circuit, Oscillator Unit, Real-Time Clock (RTC) and Watchdog Timer unit  Understand the role of PCB in embedded systems 6 Mandalay Technological University Department of Computer Engineering and Information Technology Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
  • 7. Embedded Firmware7 Mandalay Technological University Department of Computer Engineering and Information Technology  Embedded firmware refers to the control algorithm (Program instructions) and/or the configuration settings that an embedded system developer dumps into the code (program) memory of the embedded system. It is an un-avoidable part of an embedded system. There are various methods available for developing the embedded firmware. They are listed below: 1. Write the program in high level languages like Embedded C/C++ using an Integrated Development Environment. 2. Write the program in Assembly language using the instructions supported by your application’s target processor/controller. Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
  • 8. Cont’d8 Mandalay Technological University Department of Computer Engineering and Information Technology  The instruction set for each family of processor/controller is different and the program written in either of the methods given above should be converted into a processor understandable machine code before loading it into the program memory.  The process of converting the program written in either a high level language or processor/controller specific Assembly code to machine readable binary code is called ‘HEX File Creation’.  If the program is written in Embedded C/C++ using an IDE, the cross compiler included in the IDE converts it into corresponding processor/controller understandable ‘HEX File’.  If you are following the Assembly language based programming technique, you can use the utilities supplied by the processor/controller vendors to convert the source code into ‘HEX File’. Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
  • 9. Other System Components9 Mandalay Technological University Department of Computer Engineering and Information Technology  The other system components refer to the components/circuits/ICs which are necessary for the proper functioning of the embedded system.  Reset Circuit, Brown-out Protection Circuit, Oscillator Unit, Real- Time Clock (RTC), Watchdog Timer are examples of circuits/ICs which are essential for the proper functioning of the processor/controllers. Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
  • 10. Reset Circuit10 Mandalay Technological University Department of Computer Engineering and Information Technology  The reset circuit is essential to ensure that the device is not operating at a voltage level where the device is not guaranteed to operate, during system power ON. The reset signal brings the internal registers and the different hardware systems of the processor/controller to a known state and starts the firmware execution from the reset vector.  The reset signal can be either active high (The processor undergoes reset when the reset pin of the processor is at logic high) or active low (The processor undergoes reset when the reset pin of the processor is at logic low). Since the processor operation is synchronized to a clock signal, the reset pulse should be wide enough to give time for the clock oscillator to stabilize before the internal reset state starts.  Some microprocessors/controllers contain built-in internal reset circuitry and they don’t require external reset circuitry. Figure illustrates a resistor capacitor based passive reset circuit for active high and low configurations. The reset pulse width can be adjusted by changing the resistance value R and capacitance value C. Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
  • 11. 11 Mandalay Technological University Department of Computer Engineering and Information Technology RC-Based Reset Circuit Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
  • 12. Brown-out Protection Circuit12 Mandalay Technological University Department of Computer Engineering and Information Technology  The brown-out protection circuit prevents the processor/controller from unexpected program execution behavior when the supply voltage to the processor/controller falls below a specified voltage. Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018 Oscillator  The Oscillator unit generates clock signals for synchronizing the operations of the processor.
  • 13. Real-Time Clock (RTC)13 Mandalay Technological University Department of Computer Engineering and Information Technology  Real-Time Clock (RTC) is a system component responsible for keeping track of time. RTC holds information like current time (in hours, minutes and seconds) in 12 hour/24 hour format, date, month, year, day of the week, etc. and supplies timing reference to the system. RTC is intended to function even in the absence of power. The RTC chip contains a microchip for holding the time and date related information and backup battery cell for functioning in the absence of power, in a single IC package. The RTC chip is interfaced to the processor or controller of the embedded system. For Operating System based embedded devices, a timing reference is essential for synchronizing the operations of the OS kernel. Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
  • 14. Watchdog Timer 14 Mandalay Technological University Department of Computer Engineering and Information Technology  A watchdog is to monitor the firmware execution and reset the system processor/microcontroller when the program execution hangs up or generates an Interrupt in case the execution time for a task is exceeding the maximum allowed limit.  If the firmware execution doesn’t complete due to malfunctioning, within the time required by the watchdog to reach the maximum count, the counter will generate a reset pulse and this will reset the processor (if it is connected to the reset line of the processor).  Most of the processors implement watchdog as a built-in component and provides status register to control the watchdog timer (like enabling and disabling watchdog functioning) and watchdog timer register for writing the count value. If the processor/controller doesn’t contain a built in watchdog timer, the same can be implemented using an external watchdog timer IC circuit. Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
  • 15. PCB and Passive Components15 Mandalay Technological University Department of Computer Engineering and Information Technology  Printed Circuit Board (PCB) is the backbone of every embedded system. After finalizing the components and the inter-connection among them, a schematic design is created and according to the schematic PCB is fabricated. PCS acts as a platform for mounting all the necessary components as per the design requirement. Also it acts as a platform for testing your embedded firmware. You can also find some passive electronic components like resistor, capacitor, diodes, etc. on your board. They are the co-workers of various chips contained in your embedded hardware. They are very essential for the proper functioning of your embedded system. Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
  • 16. Cont’d16 Mandalay Technological University Department of Computer Engineering and Information Technology Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
  • 17. Reviewed Questions17 Mandalay Technological University Department of Computer Engineering and Information Technology 1. What is Embedded Firmware? What are the various methods available for developing Embedded Firmware? 2. Explain the role of Reset circuit in Embedded System. 3. Explain the role of Real Time Clock (RTC) in Embedded System. 4. Explain the role of Watchdog Timer in Embedded System. Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
  • 18.  Only Original Owner has full rights reserved for copied images.  This PPT is only for fair academic use. 18 Mandalay Technological University Department of Computer Engineering and Information Technology
  • 19. 19

Editor's Notes

  • #4: Understand the different types of core i.e. processor Understand the difference between microprocessor & microcontroller Understand the classification of processors based on Bus Architecture, Instruction set Architecture, and Endiannes. Have an overview of processors from most simple and cheap to most expensive and complex, powerful Understand what are sensors and actuators, communication interfaces
  • #8: The IDE will contain an editor, compiler, linker, debugger, simulator, etc. IDEs are different for different family of processors/controllers. Embedded firmware can be developed on top of an embedded operating system or without an operating system.
  • #13: Some of the factors that affect the frequency stability of an oscillator generally include: variations in temperature, variations in the load, as well as changes to its DC power supply voltage to name a few.
  • #14: Some of the factors that affect the frequency stability of an oscillator generally include: variations in temperature, variations in the load, as well as changes to its DC power supply voltage to name a few.
  • #15: In desktop Window systems, if we feel our application is behaving in an abnormal way or if the system hangs up, we have the ‘Ctrl+Alt+Del’ to come out of the situation. A watchdog timer is an electronic timer that is used to detect and recover from computer malfunctions.
  • #16: In desktop Window systems, if we feel our application is behaving in an abnormal way or if the system hangs up, we have the ‘Ctrl+Alt+Del’ to come out of the situation. A watchdog timer is an electronic timer that is used to detect and recover from computer malfunctions.