SlideShare a Scribd company logo
1 of 37
BY -
NAVEEN LAMBA
• Introduction
• Hardware Components
• Firmware Components
• RTOS System Software Mechanisms
• Software Application Components
• Summary
• System design can be approached in a bottom-up or a
top-down fashion.
• Bottom-up approach: consists of determining
fundamental components that go into a system.
• Top-down approach: hierarchical breakdown of the
system into subsystems and then into components,
example : concrete breakdown system.
• Real time embedded system Includes a wide range of
mechanical and electrical components
• Example can be -
Structural and Mechanical- Camera assembly
Electro-Mechanical actuators- Tilt and pan servos
Electro-Mechanical sensors (Transducers)
Optical sensors- Digital cameras
Cabling (Interfacing)
Digital state machines, microcontroller and
microprocessors
Analog frontend (Sensor) and Backend (actuators)
circuits
• Sensors are devices that respond to physical stimulus
(light, heat, pressure, motion etc.) by transforming the
associated energy into electrical energy.
• Example : Camera , thermistor etc.
• Analog signals from sensors are converted into digital
with the help of ADCs which is optional.
• Since digital signals have added advantages over analog
signals, so ADCs are preferred.
• The sensors always includes the AFE, but may also
include analog-to-digital encoding as well.
• The sensor AFE involve physics that are very particular
to the environmental phenomena being sensed and the
method for generating measurable changes in an analog
circuit based upon physical stimulus.
• The ADC implementation has significant impact on the
encoding capability, including the following:
i. Sampling frequency
ii. Sample accuracy
iii. Input range
• ADC requires a reference voltage and normally ADC
encodes all the inputs into a range of values from zero to
vref/(2n), where vref is the reference voltage.
• The resolution can clearly be increased by reducing the
reference voltage ,however, this is at the cost of
constraining the input range.
• This tradeoff drives the selection of how many bits the
ADC provides in the encoding.
• Speed of sampling AFE depends upon type of ADC
which are-
i. Flash: Using comparators, 1 per voltage step, and
resistors
ii. Successive approximation: Comparators and
counting logic.
• The flash ADC conversion speed is the sum of the
comparator delays and logic delay.
• The successive approximation ADC uses comparators to
determine first whether the input is greater than half the
reference, then to determine whether it is greater than
one quarter, and so on until the LSB comparison is made
and the signal level has been approximated successively
to the bit accuracy of the ADC.
• Fundamentally, an actuator is a transducer that converts
electrical energy into some other form such as sound,
motion, heat, or electromagnetism.
• A simplest form of actuation is a switching.
• Digital values are decoded into analog signals through an
analog backend (ABE) for actuation so that a digitally
encoded value drives the voltage in the ABE circuit.
• This is most often done using either PWM or a DAC so
that the amplitude in the ABE can be driven by a stream of
digital encoded outputs.
• With PWM, a periodic digital pulse is driven out with a duty
cycle that is proportional to the desired amplitude of the
signal at a given point in time.
• The DAC provides the proportional output automatically
based upon the last commanded, digital output rather
than decoding using a digital duty cycle.
• DAC actuator interfaces should be characterized by -
i. Type of actuation- on/off or DAC/PWM modulated
ii. Speed of actuation
iii. Accuracy of modulation
• Most often for accurate high-rate actuators, a DAC is
required rather than relays or PWM.
• Actuators can be very unstable and suffer over-shoot or
failure to settle without careful design and potential
feedback from sensors.
• The I/O, in general , to and from a real-time embedded
system can be classified first as either analog or digital.
• In the case of analog I/O , an ADC is required to encode
analog inputs and a DAC,PWM, or relay interface is
required to decode digital outputs when analog I/O is
interfaced to a real-time embedded system.
• So prior to ABE or after the AFE, the embedded system is
simply sees a digital I/O.
• The form of the digital I/O can vary significantly and can be
characterized as-
i. Word-at-a-time I/O
ii. Block I/O
• In case of word I/O, a simple set of registers defines the
interface to the AFE/ABE and provides status, data, and
control for encode/decode.
• The word I/O interfaces require significant interaction with
the real-time embedded system and are not very efficient
but do provide simple low rate I/O interfaces.
• These interfaces require programmed I/O where a CPU is
involved in each input and output for all phases of the
read/write, status monitoring, and control.
• This is often not desirable for higher—rate interfaces
where even powerful CPUs would spend way too many
cycles on programmed I/O and not enough on processing
to provide services.
• Most high rate interfaces have a block I/O interface where
a State-machine or a DMA engine provides command and
control of the word encoding/decoding and less frequently
interrupts the CPU when significant large blocks of data
have been encoded/decoded.
• The method of interfacing word or block I/O can be-
i. MMIO
ii. Port I/O
• Processor cores traditionally have provided I/O through
dedicated pins from the CPU to other devices called I/O
ports. An alternative is to save on off-chip interface pins by
mapping MMIO onto existing address and data lines in/ out
of the CPU so that I/O causes devices to be read or written
in the same address space as memory devices.
• Many processors, such as the Intel X86, provide both port
I/O and MMIO.
• When devices are memory mapped, care must be taken to
ensure that the MMU (Memory Management Unit) is aware
that particular address ranges are being used for device I/O
so that output data is not cached, writes are fully drained to
the device rather than buffered, and the address range is
allowed to be accessed without exception.
• Almost all modern real-time embedded systems include a
general-purpose CPU to process firmware/ software to
provide updatable and flexible services by processing
and linking sensor inputs to actuator outputs. If the
services that a real-time embedded system must provide
are so well known that they can be fully committed to a
hardware state machine, then perhaps a processor
complex (or set of interconnected CPUs) is not needed.
Most often, services are expected to change over time,
are not well enough specified initially, or are too complex
to consider hardware only implementations.
• The processor complex may be composed of the
following-
i. A single CPU with port I/O and bus interface MMIO
ii. Multiple CPUs on an internal bus with port/MMIO
iii. Multiple CPUs with an interconnection network and
port/MMIO
• Processing subsystem in stereo-vision tracking systemProcessing (x86, PCI-
IO)
Servo Control Image Processing
Servo
Command
Stereo
Range
Estimation
Image
Segmentation
Target
Centroid
• For multi-CPU real-time embedded systems, an
interconnection network is required to enable I/O and
processing to be distributed.
• The interconnection network can be
i. Simple bus or backplane(e.g., PCI or VME)
ii. On-chip local bus with BIU to back plane I/O bus
iii. A cross-bar on-chip interconnection between CPUs
iv. An off-board network– e.g., firewire,USB, Ethernet
Taxonomy of processor-I/O interconnection
strategies
• Many different bus architectures have been used and are
being used for embedded systems.
• Here we are going to examine to two different buses
namely VME(Versa Module Extension) bus and PCI bus.
• The VME bus has historically been popular and simple
bus architecture used with embedded systems.
• By contrast, PCI is an emergent bus architecture that
offers traditional parallel bus integration as well as high-
speed serial interconnection with PCI Express.
Feature VME bus PCI 2.x bus
Bus transfers Asynchronous 20 MHz Synch clock 33/66 MHz
Target addressing 32,24, or 16 bit address Multiplexed 32/64 bit
address/data bus
Data transfer 32,24, or 16 bit separate
data bus
Multiplexed with 32 bit
address bus
Data transfer types Word or block transfer
limited to a specific block
size(e.g. 512 bytes)
Burst transfer always with
min and max length
Device interrupt
mechanism
Daisy-chained prio
interrupts
4 shared interrupt lines
Interrupt vectoring Interrupt data cycle
following interrupt level
Map A-D onto processor
vector
Bus access arbitration
for multiple initiators
No arbitration, firmware or
custom controller must
ensure mutex access
Built-in hidden arbitration
Faster options VME-64+ PCI-X 1.0a; 2.0
• The high-speed serial interconnections are:
i. Universal serial bus
ii. Fire wire
iii. PCI-Express
iv. Gigabit Ethernet
• Universal Serial Bus (USB) is an industry standard
developed in the mid-1990s that defines the cables,
connectors and communications protocols used in a bus
for connection, communication, and power supply
between computers and electronic devices.
USB 2.0 USB 3.0
• FireWire is Apple's name for the IEEE 1394 High Speed
Serial Bus. It was initiated by Apple (in 1986) and developed
by the IEEE P1394 Working Group, largely driven by
contributions from Apple, although major contributions were
also made by engineers from Texas Instruments, Sony,
Digital Equipment Corporation and IBM. Firewire is a serial
bus architecture for high-speed data transfer. It fully supports
both isochronous and asynchronous applications.
• A 9-pin FireWire 800 connector
• PCI Express (Peripheral Component Interconnect
Express), officially abbreviated as PCIe, is a high-speed
serial computer expansion bus standard designed to
replace the older PCI, PCI-X, and AGP bus standards.
• PCIe has numerous improvements over the older
standards, including higher maximum system bus
throughput, lower I/O pin count and smaller physical
footprint, better performance scaling for bus devices, a
more detailed error detection and reporting mechanism
(Advanced Error Reporting, AER), and native hot-plug
functionality. More recent revisions of the PCIe standard
provide hardware support for I/O virtualization.
• Gigabit Ethernet (GbE or 1 GigE) is a term describing
various technologies for transmitting Ethernet frames at a
rate of a gigabit per second (1,000,000,000 bits per
second), as defined by the IEEE 802.3-2008 standard. It
came into use beginning in 1999, gradually supplanting
Fast Ethernet in wired local networks, where it performed
considerably faster.
• Many real-time embedded systems not only include high-
rate I/O for services such as video or network transport,
but also include low-rate command/response or
monitoring interfaces.
• If rate of transmission is not our high priority, then to
decrease the cost of embedded system, we go for Low
speed serial interconnection.
• The RS232, common serial, point-to-point data
transmission has been used in real-time embedded
systems since the advent of the industry and remains a
common low-rate and debug interface.
• The RS232 link normally tops out around 115,200
bits/second (about 12KB/sec) and is not capable of long-
distance transmission due to line noise at the 12-volt
signalling levels it uses.
• The other options that are widely used are:
i. RS422
ii. Multidrop RS232,RS422
iii. I2C (Inter IC)
iv. SPI (Serial Peripheral Interface)
• Real-time embedded system require non-volatile data
storage to boot the system and to start services.
• After a power-on reset, the processors in the processor
complex each vector to a hardware-defined starting
address to execute code.
• From a hardware view point, memory is better described
as a hierarchy of storage devices
i. Registers (CPU and memory mapped for device
control)
ii. Cache
iii. Working memory
iv. Extended memory
• Some components can only be realized in hardware, but
many can be implemented with software or firmware (noting
that software interfacing directly to hardware is typically
called firmware).
• Furthermore, if the real—time embedded system has any
software—based services or even Just management,
firmware is needed to interface hardware resources to
software applications.
• The universal definition of firmware is code or software that
runs out of a nonvolatile device to make hardware
resources available for the rest of the application software.
• Firmware providing this function is normally referred to in
general as board support package (BSP) firmware because
traditionally, this firmware has initialized and made available
all onboard resources for a processor complex to software
applications.
• Before the resources have been fully initialized, the
firmware boots the board by executing code out of a
nonvolatile device so that one or more basic interfaces is
made operable and the system can now download
additional application software.
• For example, the BSP boot firmware might initialize an
Ethernet interface and provide TFTP download of
application code for execution.
• Device interface drivers are most often considered firmware
because they directly interface to hardware resources and
make those resources available to higher level software
applications.
• The architecture of a device driver interface is depicted in
Figure on the next slide and includes both a HW bottom half
interface and a SW top half interface.
• Device Driver Firmware Interface
• Not all real-time embedded systems require an operating
system .
• Most RTOS implementations do, however, provide a layer of
software that acts a single interface for all applications to gain
access to system resources.
• Furthermore, most real-time systems incorporate an RTOS,
which provides a framework for resource management and
for scheduling processor resources with an RM policy. The
RTOS also provides commonly needed services and libraries
used by application services.
• The most fundamental services and mechanisms provided
include the following:
1. Priority preemptive scheduler for threads
2. Thread control block management
3. Inter-thread synchronization and communication (e.g
semaphores
and message queues)
4. Basic I/O for system debug and Bring Up (eg., serial,
Ethernet, LED.)
5. ISR ( Interrupt Service Routine) installation on Interrupt
vectors.
6. Transition from boot to operational state.
7. Timers for delays and blocked thread timeouts.
8. Drivers for basic hardware devices (serial, Ethernet, timers,
nonvolatile memory)
Extended services beyond these may be provided to assist
development and debug of a system:
1. Cross debug agent.
2. Interactive shell to view control blocks and system context.
3. Capability to dynamically load and execute code object files.
4. Interface to resource analysis tools (e.g., WindView).
Embedded sysyetm components

More Related Content

What's hot

Honeywell PLC ML-200R Communcation & Networking
Honeywell PLC ML-200R Communcation & NetworkingHoneywell PLC ML-200R Communcation & Networking
Honeywell PLC ML-200R Communcation & NetworkingShivam Singh
 
Honeywell PLC ML-50 (MLM-DR16S)
Honeywell PLC ML-50 (MLM-DR16S)Honeywell PLC ML-50 (MLM-DR16S)
Honeywell PLC ML-50 (MLM-DR16S)Shivam Singh
 
Topic 6 Digital Technique Data buses
Topic 6 Digital Technique Data busesTopic 6 Digital Technique Data buses
Topic 6 Digital Technique Data busesBai Haqi
 
Honeywell PLC ML 200R ystem architecture &-installation
Honeywell PLC ML 200R ystem architecture &-installationHoneywell PLC ML 200R ystem architecture &-installation
Honeywell PLC ML 200R ystem architecture &-installationShivam Singh
 
Introduction to Interfacing Technique
Introduction to Interfacing TechniqueIntroduction to Interfacing Technique
Introduction to Interfacing TechniqueMabeth MaRiyah Ramos
 
Honeywell Experion HS
Honeywell Experion HSHoneywell Experion HS
Honeywell Experion HSShivam Singh
 
Introduction to DSP Processors-UNIT-6
Introduction to DSP Processors-UNIT-6Introduction to DSP Processors-UNIT-6
Introduction to DSP Processors-UNIT-6Ananda Gopathoti
 
Computer Organisation and Architecture
Computer Organisation and ArchitectureComputer Organisation and Architecture
Computer Organisation and ArchitectureSubhasis Dash
 
Basics and applications of programmable logic controller (plc)
Basics and applications of programmable logic controller (plc)Basics and applications of programmable logic controller (plc)
Basics and applications of programmable logic controller (plc)Ali Altahir
 
Embedded systems notes
Embedded systems notesEmbedded systems notes
Embedded systems notesShikha Sharma
 
Embedded System basic and classifications
Embedded System basic and classificationsEmbedded System basic and classifications
Embedded System basic and classificationsrajkciitr
 
Introduction to microcontrollers
Introduction to microcontrollersIntroduction to microcontrollers
Introduction to microcontrollersEdwardOmondi4
 
Bluetooth and Raspberry Pi
Bluetooth and Raspberry PiBluetooth and Raspberry Pi
Bluetooth and Raspberry PiDamien Magoni
 
RTOS based Confidential Area Security System
RTOS based Confidential Area Security SystemRTOS based Confidential Area Security System
RTOS based Confidential Area Security Systemajinky gadewar
 

What's hot (20)

Honeywell PLC ML-200R Communcation & Networking
Honeywell PLC ML-200R Communcation & NetworkingHoneywell PLC ML-200R Communcation & Networking
Honeywell PLC ML-200R Communcation & Networking
 
Honeywell PLC ML-50 (MLM-DR16S)
Honeywell PLC ML-50 (MLM-DR16S)Honeywell PLC ML-50 (MLM-DR16S)
Honeywell PLC ML-50 (MLM-DR16S)
 
Topic 6 Digital Technique Data buses
Topic 6 Digital Technique Data busesTopic 6 Digital Technique Data buses
Topic 6 Digital Technique Data buses
 
Honeywell PLC ML 200R ystem architecture &-installation
Honeywell PLC ML 200R ystem architecture &-installationHoneywell PLC ML 200R ystem architecture &-installation
Honeywell PLC ML 200R ystem architecture &-installation
 
Arduino
Arduino Arduino
Arduino
 
EMBEDDED SYSTEM BASICS
EMBEDDED SYSTEM BASICSEMBEDDED SYSTEM BASICS
EMBEDDED SYSTEM BASICS
 
Introduction to Interfacing Technique
Introduction to Interfacing TechniqueIntroduction to Interfacing Technique
Introduction to Interfacing Technique
 
Honeywell Experion HS
Honeywell Experion HSHoneywell Experion HS
Honeywell Experion HS
 
Introduction to DSP Processors-UNIT-6
Introduction to DSP Processors-UNIT-6Introduction to DSP Processors-UNIT-6
Introduction to DSP Processors-UNIT-6
 
Computer Organisation and Architecture
Computer Organisation and ArchitectureComputer Organisation and Architecture
Computer Organisation and Architecture
 
Basics and applications of programmable logic controller (plc)
Basics and applications of programmable logic controller (plc)Basics and applications of programmable logic controller (plc)
Basics and applications of programmable logic controller (plc)
 
Embedded systems notes
Embedded systems notesEmbedded systems notes
Embedded systems notes
 
Ec8791 lpc2148
Ec8791 lpc2148Ec8791 lpc2148
Ec8791 lpc2148
 
Embedded System basic and classifications
Embedded System basic and classificationsEmbedded System basic and classifications
Embedded System basic and classifications
 
Arm processor
Arm processorArm processor
Arm processor
 
Lecture 37
Lecture 37Lecture 37
Lecture 37
 
Introduction to microcontrollers
Introduction to microcontrollersIntroduction to microcontrollers
Introduction to microcontrollers
 
Bluetooth and Raspberry Pi
Bluetooth and Raspberry PiBluetooth and Raspberry Pi
Bluetooth and Raspberry Pi
 
CPU Architecture
CPU ArchitectureCPU Architecture
CPU Architecture
 
RTOS based Confidential Area Security System
RTOS based Confidential Area Security SystemRTOS based Confidential Area Security System
RTOS based Confidential Area Security System
 

Viewers also liked

Embedded systems ppt
Embedded systems pptEmbedded systems ppt
Embedded systems pptShreya Thakur
 
Prerna sharma
Prerna sharmaPrerna sharma
Prerna sharmaRCET
 
Introduction to embedded systems
Introduction to embedded systemsIntroduction to embedded systems
Introduction to embedded systemsApurva Zope
 
Introduction to embedded system design
Introduction to embedded system designIntroduction to embedded system design
Introduction to embedded system designMukesh Bansal
 
Unit 1 embedded systems and applications
Unit 1 embedded systems and applicationsUnit 1 embedded systems and applications
Unit 1 embedded systems and applicationsDr.YNM
 

Viewers also liked (9)

Embedded systems
Embedded systemsEmbedded systems
Embedded systems
 
Embedded systems ppt
Embedded systems pptEmbedded systems ppt
Embedded systems ppt
 
Prerna sharma
Prerna sharmaPrerna sharma
Prerna sharma
 
Introduction to embedded systems
Introduction to embedded systemsIntroduction to embedded systems
Introduction to embedded systems
 
Introduction to embedded system design
Introduction to embedded system designIntroduction to embedded system design
Introduction to embedded system design
 
Embedded system ppt
Embedded system pptEmbedded system ppt
Embedded system ppt
 
Embedded System Presentation
Embedded System PresentationEmbedded System Presentation
Embedded System Presentation
 
Unit 1 embedded systems and applications
Unit 1 embedded systems and applicationsUnit 1 embedded systems and applications
Unit 1 embedded systems and applications
 
Embedded System Basics
Embedded System BasicsEmbedded System Basics
Embedded System Basics
 

Similar to Embedded sysyetm components

Introduction_to_Mechatronics_Chapter4.pdf
Introduction_to_Mechatronics_Chapter4.pdfIntroduction_to_Mechatronics_Chapter4.pdf
Introduction_to_Mechatronics_Chapter4.pdfBereket Walle
 
Remote Terminal Unit (RTU) in SCADA.pptx
Remote Terminal Unit (RTU) in SCADA.pptxRemote Terminal Unit (RTU) in SCADA.pptx
Remote Terminal Unit (RTU) in SCADA.pptxDrAyyarKandasamy
 
Switched networks (LAN Switching – Switches)
Switched networks (LAN Switching – Switches)Switched networks (LAN Switching – Switches)
Switched networks (LAN Switching – Switches)Fleurati
 
Introduction to embedded System.pptx
Introduction to embedded System.pptxIntroduction to embedded System.pptx
Introduction to embedded System.pptxPratik Gohel
 
PLC lecture by raj nayak
PLC lecture by raj nayakPLC lecture by raj nayak
PLC lecture by raj nayakRaj Nayak
 
Embedded networking
Embedded networkingEmbedded networking
Embedded networkingArul Kumar
 
UNIT- 3.pptx
UNIT- 3.pptxUNIT- 3.pptx
UNIT- 3.pptxBASKARS53
 
PLC boot camp training courses in Lahore Pakistan.pptx
PLC boot camp training courses in Lahore Pakistan.pptxPLC boot camp training courses in Lahore Pakistan.pptx
PLC boot camp training courses in Lahore Pakistan.pptxirfanakram32
 
Introduction to Embedded C++.pptx
Introduction to Embedded C++.pptxIntroduction to Embedded C++.pptx
Introduction to Embedded C++.pptxMohamedSaied316569
 
Microcontroller.pptx
Microcontroller.pptxMicrocontroller.pptx
Microcontroller.pptxSaba651353
 
( KEVIN SONI )DATA ACQUISITION SYSTEM
( KEVIN SONI )DATA ACQUISITION SYSTEM ( KEVIN SONI )DATA ACQUISITION SYSTEM
( KEVIN SONI )DATA ACQUISITION SYSTEM Kevin Soni
 
1fbciobmrrqmnlyjl1he-signature-a1b6820cbe628a2a167a0a81f2762fc8f340dd4b93d47a...
1fbciobmrrqmnlyjl1he-signature-a1b6820cbe628a2a167a0a81f2762fc8f340dd4b93d47a...1fbciobmrrqmnlyjl1he-signature-a1b6820cbe628a2a167a0a81f2762fc8f340dd4b93d47a...
1fbciobmrrqmnlyjl1he-signature-a1b6820cbe628a2a167a0a81f2762fc8f340dd4b93d47a...Mathavan N
 

Similar to Embedded sysyetm components (20)

1.instrumentation ii
1.instrumentation ii1.instrumentation ii
1.instrumentation ii
 
Introduction_to_Mechatronics_Chapter4.pdf
Introduction_to_Mechatronics_Chapter4.pdfIntroduction_to_Mechatronics_Chapter4.pdf
Introduction_to_Mechatronics_Chapter4.pdf
 
Remote Terminal Unit (RTU) in SCADA.pptx
Remote Terminal Unit (RTU) in SCADA.pptxRemote Terminal Unit (RTU) in SCADA.pptx
Remote Terminal Unit (RTU) in SCADA.pptx
 
Switched networks (LAN Switching – Switches)
Switched networks (LAN Switching – Switches)Switched networks (LAN Switching – Switches)
Switched networks (LAN Switching – Switches)
 
Introduction to embedded System.pptx
Introduction to embedded System.pptxIntroduction to embedded System.pptx
Introduction to embedded System.pptx
 
PLC lecture by raj nayak
PLC lecture by raj nayakPLC lecture by raj nayak
PLC lecture by raj nayak
 
Lecture 9.pptx
Lecture 9.pptxLecture 9.pptx
Lecture 9.pptx
 
Embedded networking
Embedded networkingEmbedded networking
Embedded networking
 
UNIT- 3.pptx
UNIT- 3.pptxUNIT- 3.pptx
UNIT- 3.pptx
 
PLC boot camp training courses in Lahore Pakistan.pptx
PLC boot camp training courses in Lahore Pakistan.pptxPLC boot camp training courses in Lahore Pakistan.pptx
PLC boot camp training courses in Lahore Pakistan.pptx
 
Fingerprint Biometrics
Fingerprint BiometricsFingerprint Biometrics
Fingerprint Biometrics
 
Introduction to Embedded C++.pptx
Introduction to Embedded C++.pptxIntroduction to Embedded C++.pptx
Introduction to Embedded C++.pptx
 
9781111306366 ppt ch8
9781111306366 ppt ch89781111306366 ppt ch8
9781111306366 ppt ch8
 
Ca 2 note mano
Ca 2 note manoCa 2 note mano
Ca 2 note mano
 
Chapter 3 esy
Chapter 3 esy Chapter 3 esy
Chapter 3 esy
 
Microcontroller.pptx
Microcontroller.pptxMicrocontroller.pptx
Microcontroller.pptx
 
( KEVIN SONI )DATA ACQUISITION SYSTEM
( KEVIN SONI )DATA ACQUISITION SYSTEM ( KEVIN SONI )DATA ACQUISITION SYSTEM
( KEVIN SONI )DATA ACQUISITION SYSTEM
 
Unit 2 sdr architecture
Unit 2   sdr architectureUnit 2   sdr architecture
Unit 2 sdr architecture
 
1fbciobmrrqmnlyjl1he-signature-a1b6820cbe628a2a167a0a81f2762fc8f340dd4b93d47a...
1fbciobmrrqmnlyjl1he-signature-a1b6820cbe628a2a167a0a81f2762fc8f340dd4b93d47a...1fbciobmrrqmnlyjl1he-signature-a1b6820cbe628a2a167a0a81f2762fc8f340dd4b93d47a...
1fbciobmrrqmnlyjl1he-signature-a1b6820cbe628a2a167a0a81f2762fc8f340dd4b93d47a...
 
Mpi unit i_8086_architectures
Mpi unit i_8086_architecturesMpi unit i_8086_architectures
Mpi unit i_8086_architectures
 

Recently uploaded

(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
High Profile Call Girls In Andheri 7738631006 Call girls in mumbai Mumbai ...
High Profile Call Girls In Andheri 7738631006 Call girls in mumbai  Mumbai ...High Profile Call Girls In Andheri 7738631006 Call girls in mumbai  Mumbai ...
High Profile Call Girls In Andheri 7738631006 Call girls in mumbai Mumbai ...Pooja Nehwal
 
《1:1仿制麦克马斯特大学毕业证|订制麦克马斯特大学文凭》
《1:1仿制麦克马斯特大学毕业证|订制麦克马斯特大学文凭》《1:1仿制麦克马斯特大学毕业证|订制麦克马斯特大学文凭》
《1:1仿制麦克马斯特大学毕业证|订制麦克马斯特大学文凭》o8wvnojp
 
Dubai Call Girls O528786472 Call Girls In Dubai Wisteria
Dubai Call Girls O528786472 Call Girls In Dubai WisteriaDubai Call Girls O528786472 Call Girls In Dubai Wisteria
Dubai Call Girls O528786472 Call Girls In Dubai WisteriaUnited Arab Emirates
 
Pallawi 9167673311 Call Girls in Thane , Independent Escort Service Thane
Pallawi 9167673311  Call Girls in Thane , Independent Escort Service ThanePallawi 9167673311  Call Girls in Thane , Independent Escort Service Thane
Pallawi 9167673311 Call Girls in Thane , Independent Escort Service ThanePooja Nehwal
 
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...Call Girls in Nagpur High Profile
 
WhatsApp 9892124323 ✓Call Girls In Khar ( Mumbai ) secure service - Bandra F...
WhatsApp 9892124323 ✓Call Girls In Khar ( Mumbai ) secure service -  Bandra F...WhatsApp 9892124323 ✓Call Girls In Khar ( Mumbai ) secure service -  Bandra F...
WhatsApp 9892124323 ✓Call Girls In Khar ( Mumbai ) secure service - Bandra F...Pooja Nehwal
 
Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...
Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...
Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...nagunakhan
 
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
9004554577, Get Adorable Call Girls service. Book call girls & escort service...
9004554577, Get Adorable Call Girls service. Book call girls & escort service...9004554577, Get Adorable Call Girls service. Book call girls & escort service...
9004554577, Get Adorable Call Girls service. Book call girls & escort service...Pooja Nehwal
 
定制(USF学位证)旧金山大学毕业证成绩单原版一比一
定制(USF学位证)旧金山大学毕业证成绩单原版一比一定制(USF学位证)旧金山大学毕业证成绩单原版一比一
定制(USF学位证)旧金山大学毕业证成绩单原版一比一ss ss
 
Thane Escorts, (Pooja 09892124323), Thane Call Girls
Thane Escorts, (Pooja 09892124323), Thane Call GirlsThane Escorts, (Pooja 09892124323), Thane Call Girls
Thane Escorts, (Pooja 09892124323), Thane Call GirlsPooja Nehwal
 
Call Girls in Thane 9892124323, Vashi cAll girls Serivces Juhu Escorts, powai...
Call Girls in Thane 9892124323, Vashi cAll girls Serivces Juhu Escorts, powai...Call Girls in Thane 9892124323, Vashi cAll girls Serivces Juhu Escorts, powai...
Call Girls in Thane 9892124323, Vashi cAll girls Serivces Juhu Escorts, powai...Pooja Nehwal
 
VIP Call Girl Saharanpur Aashi 8250192130 Independent Escort Service Saharanpur
VIP Call Girl Saharanpur Aashi 8250192130 Independent Escort Service SaharanpurVIP Call Girl Saharanpur Aashi 8250192130 Independent Escort Service Saharanpur
VIP Call Girl Saharanpur Aashi 8250192130 Independent Escort Service SaharanpurSuhani Kapoor
 
(ZARA) Call Girls Jejuri ( 7001035870 ) HI-Fi Pune Escorts Service
(ZARA) Call Girls Jejuri ( 7001035870 ) HI-Fi Pune Escorts Service(ZARA) Call Girls Jejuri ( 7001035870 ) HI-Fi Pune Escorts Service
(ZARA) Call Girls Jejuri ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Kalyan callg Girls, { 07738631006 } || Call Girl In Kalyan Women Seeking Men ...
Kalyan callg Girls, { 07738631006 } || Call Girl In Kalyan Women Seeking Men ...Kalyan callg Girls, { 07738631006 } || Call Girl In Kalyan Women Seeking Men ...
Kalyan callg Girls, { 07738631006 } || Call Girl In Kalyan Women Seeking Men ...Pooja Nehwal
 
Vip Noida Escorts 9873940964 Greater Noida Escorts Service
Vip Noida Escorts 9873940964 Greater Noida Escorts ServiceVip Noida Escorts 9873940964 Greater Noida Escorts Service
Vip Noida Escorts 9873940964 Greater Noida Escorts Serviceankitnayak356677
 
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样qaffana
 

Recently uploaded (20)

(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(ANIKA) Wanwadi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
High Profile Call Girls In Andheri 7738631006 Call girls in mumbai Mumbai ...
High Profile Call Girls In Andheri 7738631006 Call girls in mumbai  Mumbai ...High Profile Call Girls In Andheri 7738631006 Call girls in mumbai  Mumbai ...
High Profile Call Girls In Andheri 7738631006 Call girls in mumbai Mumbai ...
 
《1:1仿制麦克马斯特大学毕业证|订制麦克马斯特大学文凭》
《1:1仿制麦克马斯特大学毕业证|订制麦克马斯特大学文凭》《1:1仿制麦克马斯特大学毕业证|订制麦克马斯特大学文凭》
《1:1仿制麦克马斯特大学毕业证|订制麦克马斯特大学文凭》
 
Dubai Call Girls O528786472 Call Girls In Dubai Wisteria
Dubai Call Girls O528786472 Call Girls In Dubai WisteriaDubai Call Girls O528786472 Call Girls In Dubai Wisteria
Dubai Call Girls O528786472 Call Girls In Dubai Wisteria
 
Pallawi 9167673311 Call Girls in Thane , Independent Escort Service Thane
Pallawi 9167673311  Call Girls in Thane , Independent Escort Service ThanePallawi 9167673311  Call Girls in Thane , Independent Escort Service Thane
Pallawi 9167673311 Call Girls in Thane , Independent Escort Service Thane
 
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service
(SANA) Call Girls Landewadi ( 7001035870 ) HI-Fi Pune Escorts Service
 
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
 
WhatsApp 9892124323 ✓Call Girls In Khar ( Mumbai ) secure service - Bandra F...
WhatsApp 9892124323 ✓Call Girls In Khar ( Mumbai ) secure service -  Bandra F...WhatsApp 9892124323 ✓Call Girls In Khar ( Mumbai ) secure service -  Bandra F...
WhatsApp 9892124323 ✓Call Girls In Khar ( Mumbai ) secure service - Bandra F...
 
Low rate Call girls in Delhi Justdial | 9953330565
Low rate Call girls in Delhi Justdial | 9953330565Low rate Call girls in Delhi Justdial | 9953330565
Low rate Call girls in Delhi Justdial | 9953330565
 
Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...
Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...
Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...
 
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Bhavna Call 7001035870 Meet With Nagpur Escorts
 
9004554577, Get Adorable Call Girls service. Book call girls & escort service...
9004554577, Get Adorable Call Girls service. Book call girls & escort service...9004554577, Get Adorable Call Girls service. Book call girls & escort service...
9004554577, Get Adorable Call Girls service. Book call girls & escort service...
 
定制(USF学位证)旧金山大学毕业证成绩单原版一比一
定制(USF学位证)旧金山大学毕业证成绩单原版一比一定制(USF学位证)旧金山大学毕业证成绩单原版一比一
定制(USF学位证)旧金山大学毕业证成绩单原版一比一
 
Thane Escorts, (Pooja 09892124323), Thane Call Girls
Thane Escorts, (Pooja 09892124323), Thane Call GirlsThane Escorts, (Pooja 09892124323), Thane Call Girls
Thane Escorts, (Pooja 09892124323), Thane Call Girls
 
Call Girls in Thane 9892124323, Vashi cAll girls Serivces Juhu Escorts, powai...
Call Girls in Thane 9892124323, Vashi cAll girls Serivces Juhu Escorts, powai...Call Girls in Thane 9892124323, Vashi cAll girls Serivces Juhu Escorts, powai...
Call Girls in Thane 9892124323, Vashi cAll girls Serivces Juhu Escorts, powai...
 
VIP Call Girl Saharanpur Aashi 8250192130 Independent Escort Service Saharanpur
VIP Call Girl Saharanpur Aashi 8250192130 Independent Escort Service SaharanpurVIP Call Girl Saharanpur Aashi 8250192130 Independent Escort Service Saharanpur
VIP Call Girl Saharanpur Aashi 8250192130 Independent Escort Service Saharanpur
 
(ZARA) Call Girls Jejuri ( 7001035870 ) HI-Fi Pune Escorts Service
(ZARA) Call Girls Jejuri ( 7001035870 ) HI-Fi Pune Escorts Service(ZARA) Call Girls Jejuri ( 7001035870 ) HI-Fi Pune Escorts Service
(ZARA) Call Girls Jejuri ( 7001035870 ) HI-Fi Pune Escorts Service
 
Kalyan callg Girls, { 07738631006 } || Call Girl In Kalyan Women Seeking Men ...
Kalyan callg Girls, { 07738631006 } || Call Girl In Kalyan Women Seeking Men ...Kalyan callg Girls, { 07738631006 } || Call Girl In Kalyan Women Seeking Men ...
Kalyan callg Girls, { 07738631006 } || Call Girl In Kalyan Women Seeking Men ...
 
Vip Noida Escorts 9873940964 Greater Noida Escorts Service
Vip Noida Escorts 9873940964 Greater Noida Escorts ServiceVip Noida Escorts 9873940964 Greater Noida Escorts Service
Vip Noida Escorts 9873940964 Greater Noida Escorts Service
 
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
哪里办理美国宾夕法尼亚州立大学毕业证(本硕)psu成绩单原版一模一样
 

Embedded sysyetm components

  • 2. • Introduction • Hardware Components • Firmware Components • RTOS System Software Mechanisms • Software Application Components • Summary
  • 3. • System design can be approached in a bottom-up or a top-down fashion. • Bottom-up approach: consists of determining fundamental components that go into a system. • Top-down approach: hierarchical breakdown of the system into subsystems and then into components, example : concrete breakdown system.
  • 4. • Real time embedded system Includes a wide range of mechanical and electrical components • Example can be - Structural and Mechanical- Camera assembly Electro-Mechanical actuators- Tilt and pan servos Electro-Mechanical sensors (Transducers) Optical sensors- Digital cameras Cabling (Interfacing) Digital state machines, microcontroller and microprocessors Analog frontend (Sensor) and Backend (actuators) circuits
  • 5. • Sensors are devices that respond to physical stimulus (light, heat, pressure, motion etc.) by transforming the associated energy into electrical energy. • Example : Camera , thermistor etc.
  • 6. • Analog signals from sensors are converted into digital with the help of ADCs which is optional. • Since digital signals have added advantages over analog signals, so ADCs are preferred. • The sensors always includes the AFE, but may also include analog-to-digital encoding as well. • The sensor AFE involve physics that are very particular to the environmental phenomena being sensed and the method for generating measurable changes in an analog circuit based upon physical stimulus.
  • 7. • The ADC implementation has significant impact on the encoding capability, including the following: i. Sampling frequency ii. Sample accuracy iii. Input range • ADC requires a reference voltage and normally ADC encodes all the inputs into a range of values from zero to vref/(2n), where vref is the reference voltage. • The resolution can clearly be increased by reducing the reference voltage ,however, this is at the cost of constraining the input range. • This tradeoff drives the selection of how many bits the ADC provides in the encoding.
  • 8. • Speed of sampling AFE depends upon type of ADC which are- i. Flash: Using comparators, 1 per voltage step, and resistors ii. Successive approximation: Comparators and counting logic. • The flash ADC conversion speed is the sum of the comparator delays and logic delay. • The successive approximation ADC uses comparators to determine first whether the input is greater than half the reference, then to determine whether it is greater than one quarter, and so on until the LSB comparison is made and the signal level has been approximated successively to the bit accuracy of the ADC.
  • 9. • Fundamentally, an actuator is a transducer that converts electrical energy into some other form such as sound, motion, heat, or electromagnetism. • A simplest form of actuation is a switching.
  • 10. • Digital values are decoded into analog signals through an analog backend (ABE) for actuation so that a digitally encoded value drives the voltage in the ABE circuit. • This is most often done using either PWM or a DAC so that the amplitude in the ABE can be driven by a stream of digital encoded outputs. • With PWM, a periodic digital pulse is driven out with a duty cycle that is proportional to the desired amplitude of the signal at a given point in time.
  • 11. • The DAC provides the proportional output automatically based upon the last commanded, digital output rather than decoding using a digital duty cycle. • DAC actuator interfaces should be characterized by - i. Type of actuation- on/off or DAC/PWM modulated ii. Speed of actuation iii. Accuracy of modulation • Most often for accurate high-rate actuators, a DAC is required rather than relays or PWM. • Actuators can be very unstable and suffer over-shoot or failure to settle without careful design and potential feedback from sensors.
  • 12. • The I/O, in general , to and from a real-time embedded system can be classified first as either analog or digital. • In the case of analog I/O , an ADC is required to encode analog inputs and a DAC,PWM, or relay interface is required to decode digital outputs when analog I/O is interfaced to a real-time embedded system. • So prior to ABE or after the AFE, the embedded system is simply sees a digital I/O.
  • 13. • The form of the digital I/O can vary significantly and can be characterized as- i. Word-at-a-time I/O ii. Block I/O • In case of word I/O, a simple set of registers defines the interface to the AFE/ABE and provides status, data, and control for encode/decode. • The word I/O interfaces require significant interaction with the real-time embedded system and are not very efficient but do provide simple low rate I/O interfaces. • These interfaces require programmed I/O where a CPU is involved in each input and output for all phases of the read/write, status monitoring, and control.
  • 14. • This is often not desirable for higher—rate interfaces where even powerful CPUs would spend way too many cycles on programmed I/O and not enough on processing to provide services. • Most high rate interfaces have a block I/O interface where a State-machine or a DMA engine provides command and control of the word encoding/decoding and less frequently interrupts the CPU when significant large blocks of data have been encoded/decoded. • The method of interfacing word or block I/O can be- i. MMIO ii. Port I/O
  • 15. • Processor cores traditionally have provided I/O through dedicated pins from the CPU to other devices called I/O ports. An alternative is to save on off-chip interface pins by mapping MMIO onto existing address and data lines in/ out of the CPU so that I/O causes devices to be read or written in the same address space as memory devices. • Many processors, such as the Intel X86, provide both port I/O and MMIO. • When devices are memory mapped, care must be taken to ensure that the MMU (Memory Management Unit) is aware that particular address ranges are being used for device I/O so that output data is not cached, writes are fully drained to the device rather than buffered, and the address range is allowed to be accessed without exception.
  • 16. • Almost all modern real-time embedded systems include a general-purpose CPU to process firmware/ software to provide updatable and flexible services by processing and linking sensor inputs to actuator outputs. If the services that a real-time embedded system must provide are so well known that they can be fully committed to a hardware state machine, then perhaps a processor complex (or set of interconnected CPUs) is not needed. Most often, services are expected to change over time, are not well enough specified initially, or are too complex to consider hardware only implementations.
  • 17. • The processor complex may be composed of the following- i. A single CPU with port I/O and bus interface MMIO ii. Multiple CPUs on an internal bus with port/MMIO iii. Multiple CPUs with an interconnection network and port/MMIO • Processing subsystem in stereo-vision tracking systemProcessing (x86, PCI- IO) Servo Control Image Processing Servo Command Stereo Range Estimation Image Segmentation Target Centroid
  • 18. • For multi-CPU real-time embedded systems, an interconnection network is required to enable I/O and processing to be distributed. • The interconnection network can be i. Simple bus or backplane(e.g., PCI or VME) ii. On-chip local bus with BIU to back plane I/O bus iii. A cross-bar on-chip interconnection between CPUs iv. An off-board network– e.g., firewire,USB, Ethernet
  • 19. Taxonomy of processor-I/O interconnection strategies
  • 20. • Many different bus architectures have been used and are being used for embedded systems. • Here we are going to examine to two different buses namely VME(Versa Module Extension) bus and PCI bus. • The VME bus has historically been popular and simple bus architecture used with embedded systems. • By contrast, PCI is an emergent bus architecture that offers traditional parallel bus integration as well as high- speed serial interconnection with PCI Express.
  • 21. Feature VME bus PCI 2.x bus Bus transfers Asynchronous 20 MHz Synch clock 33/66 MHz Target addressing 32,24, or 16 bit address Multiplexed 32/64 bit address/data bus Data transfer 32,24, or 16 bit separate data bus Multiplexed with 32 bit address bus Data transfer types Word or block transfer limited to a specific block size(e.g. 512 bytes) Burst transfer always with min and max length Device interrupt mechanism Daisy-chained prio interrupts 4 shared interrupt lines Interrupt vectoring Interrupt data cycle following interrupt level Map A-D onto processor vector Bus access arbitration for multiple initiators No arbitration, firmware or custom controller must ensure mutex access Built-in hidden arbitration Faster options VME-64+ PCI-X 1.0a; 2.0
  • 22. • The high-speed serial interconnections are: i. Universal serial bus ii. Fire wire iii. PCI-Express iv. Gigabit Ethernet • Universal Serial Bus (USB) is an industry standard developed in the mid-1990s that defines the cables, connectors and communications protocols used in a bus for connection, communication, and power supply between computers and electronic devices.
  • 23. USB 2.0 USB 3.0 • FireWire is Apple's name for the IEEE 1394 High Speed Serial Bus. It was initiated by Apple (in 1986) and developed by the IEEE P1394 Working Group, largely driven by contributions from Apple, although major contributions were also made by engineers from Texas Instruments, Sony, Digital Equipment Corporation and IBM. Firewire is a serial bus architecture for high-speed data transfer. It fully supports both isochronous and asynchronous applications.
  • 24. • A 9-pin FireWire 800 connector • PCI Express (Peripheral Component Interconnect Express), officially abbreviated as PCIe, is a high-speed serial computer expansion bus standard designed to replace the older PCI, PCI-X, and AGP bus standards.
  • 25. • PCIe has numerous improvements over the older standards, including higher maximum system bus throughput, lower I/O pin count and smaller physical footprint, better performance scaling for bus devices, a more detailed error detection and reporting mechanism (Advanced Error Reporting, AER), and native hot-plug functionality. More recent revisions of the PCIe standard provide hardware support for I/O virtualization.
  • 26. • Gigabit Ethernet (GbE or 1 GigE) is a term describing various technologies for transmitting Ethernet frames at a rate of a gigabit per second (1,000,000,000 bits per second), as defined by the IEEE 802.3-2008 standard. It came into use beginning in 1999, gradually supplanting Fast Ethernet in wired local networks, where it performed considerably faster.
  • 27. • Many real-time embedded systems not only include high- rate I/O for services such as video or network transport, but also include low-rate command/response or monitoring interfaces. • If rate of transmission is not our high priority, then to decrease the cost of embedded system, we go for Low speed serial interconnection. • The RS232, common serial, point-to-point data transmission has been used in real-time embedded systems since the advent of the industry and remains a common low-rate and debug interface.
  • 28. • The RS232 link normally tops out around 115,200 bits/second (about 12KB/sec) and is not capable of long- distance transmission due to line noise at the 12-volt signalling levels it uses. • The other options that are widely used are: i. RS422 ii. Multidrop RS232,RS422 iii. I2C (Inter IC) iv. SPI (Serial Peripheral Interface)
  • 29. • Real-time embedded system require non-volatile data storage to boot the system and to start services. • After a power-on reset, the processors in the processor complex each vector to a hardware-defined starting address to execute code. • From a hardware view point, memory is better described as a hierarchy of storage devices i. Registers (CPU and memory mapped for device control) ii. Cache iii. Working memory iv. Extended memory
  • 30.
  • 31. • Some components can only be realized in hardware, but many can be implemented with software or firmware (noting that software interfacing directly to hardware is typically called firmware). • Furthermore, if the real—time embedded system has any software—based services or even Just management, firmware is needed to interface hardware resources to software applications.
  • 32. • The universal definition of firmware is code or software that runs out of a nonvolatile device to make hardware resources available for the rest of the application software. • Firmware providing this function is normally referred to in general as board support package (BSP) firmware because traditionally, this firmware has initialized and made available all onboard resources for a processor complex to software applications. • Before the resources have been fully initialized, the firmware boots the board by executing code out of a nonvolatile device so that one or more basic interfaces is made operable and the system can now download additional application software. • For example, the BSP boot firmware might initialize an Ethernet interface and provide TFTP download of application code for execution.
  • 33. • Device interface drivers are most often considered firmware because they directly interface to hardware resources and make those resources available to higher level software applications. • The architecture of a device driver interface is depicted in Figure on the next slide and includes both a HW bottom half interface and a SW top half interface.
  • 34. • Device Driver Firmware Interface
  • 35. • Not all real-time embedded systems require an operating system . • Most RTOS implementations do, however, provide a layer of software that acts a single interface for all applications to gain access to system resources. • Furthermore, most real-time systems incorporate an RTOS, which provides a framework for resource management and for scheduling processor resources with an RM policy. The RTOS also provides commonly needed services and libraries used by application services. • The most fundamental services and mechanisms provided include the following: 1. Priority preemptive scheduler for threads 2. Thread control block management 3. Inter-thread synchronization and communication (e.g semaphores and message queues)
  • 36. 4. Basic I/O for system debug and Bring Up (eg., serial, Ethernet, LED.) 5. ISR ( Interrupt Service Routine) installation on Interrupt vectors. 6. Transition from boot to operational state. 7. Timers for delays and blocked thread timeouts. 8. Drivers for basic hardware devices (serial, Ethernet, timers, nonvolatile memory) Extended services beyond these may be provided to assist development and debug of a system: 1. Cross debug agent. 2. Interactive shell to view control blocks and system context. 3. Capability to dynamically load and execute code object files. 4. Interface to resource analysis tools (e.g., WindView).