EPD-Unit-5-Embedded Systems
EPD-Unit-5-Embedded Systems
● It is unique and the hardware and firmware are highly specialized to the
application domain.
Memory
◆ Memory is a group of registers used to store the data to be processed
(Input data), the processed data (output) and instructions(Code to run the
hardware)
◆ Two types of memory are RAM(Data memory), ROM(Program memory).
System core
◆ Set of special circuit/s which is the actual processing unit where the actual
INTRODUCTION TO EMBEDDED
SYSTEMS
Application Specific
Integrated Circuits (ASIC's)
◆ It is a microchip deigned to perform a specific or unique
application.
◆ Used as a replacement for conventional general purpose logic
chips.
◆ It integrates several functions into a single chip and consumes
very small area in the total system.
◆ It can be pre-fabricated for a special application or it can be
custom fabricated by using the components from a re-usable
building block library of components .
◆ Non Recurring Engineering Charge (NRE) : It is a non refundable
initial investment for the fabrication of ASIC's and it is a one time
investment.
◆ Application Specific Standard Product (ASSP): If the Non Recurring
Engineering Charges is borne by a third party and the Application
Specific Integrated Circuit (ASIC) is made openly available in the
market, the ASIC is reffered as ASSP.
Aryan
Memory
◆ Memory is required for holding data temporarily during
certain operations.
◆ On chip memory: built in memory within an IC.
◆ Off chip memory: external memory connected with the
controller/ processor for storing controller algorithm.
◆ Program Memory also called as code storage memory of an ES
stores the program / instructions. It retains its contents even
after the power to it is turned off.( non-volatile storage
memory)
◆ Code memory is classified as follows
Harsh
Classification of ROM
◆ Depends on fabrication, erasing and programming technique, ROM is
divided as follows:
A) Masked ROM (MROM)
• One time Programmable device.
• Uses hardwired technology to store the data.
• This is low cost for high volume of production.
• It is a good candidate for storing the embedded firmware for
low cost embedded device.
• Limitation is that its inability to modify the device firmware
against firmware upgrades.
Karthik Dileep
Classification of ROM
Classification of ROM
Classification of ROM
Classification of ROM
E) FLASH
• Latest ROM technology which combines the re-
programmability of EEPROM and high capacity of standard
ROMs.
• It is organized as sectors /pages.
• It stores the information in array of floating gate of an MOSFET.
Classification of ROM
SRAM DRAM
◆ Made up of 6 CMOS Transistors ◆ Made up of a MOSFET and a
(MOSFET) capacitor
◆ Doesn't require refreshing ◆ Require refreshing
◆ Low capacity ◆ High Capacity
◆ Fast in operation. Typical access ◆ Less expensive
time is 10ns ◆ Slow in operation. Typical
access time is 60ns
◆ Write Operation is faster than
read operation
Jiya
Communication Interface
◆ Device/
Board level communication Interface ( Onboard
Communication Interface)
• The communication channel which interconnects the
various components within an embedded product
Ex: Serial Interface like I2C, SPI , UART(Universal
Asynchronous Receiver/Transmitter), 1-Wire & parallel
bus interface
◆ Product level Communication Interface (External
Communication Interface)
• Responsible for data transfer between the embedded
system and other devices or modules.
• It can be wired media , wireless media , serial or
parallel interface
Ex: IR(Infrared) , Bluetooth, Wi- Fi (Wireless Fidelity) ,
RS232c (Recommended Standard 232), USB(Universal
Jaikumar
ARM Processor
• ARM stands for Advanced RISC Machines.
Where RISC: Reduced-instruction-set Computing
• Founded 1990, owned by Acorn, Apple and VLSI.
• ARM is one of the most licensed and thus widespread processor cores in
the world.
• Used especially in portable devices due to low power consumption and
reasonable performance.
• Used in PDA, cell phones, multimedia players,
handheld game console, digital TV and cameras
Malleshappa
ARM Processor
• ARM has several processors that are grouped into number
of families based on the processor core they are implemented with.
• The architecture of ARM processors has continued to evolve with
every family.
• Some of the famous ARM Processor families are ARM7, ARM9, ARM10
and ARM11
Likitha
ARM Philosophy
Ashika
RISC Characteristics
Harshitha
RISC Characteristics
Venkata
Features of ARM7
• 32 bit Processor
• 32 bit ALU
• 32 bit data bus
• 32 bit instructions
• 32 Address bus
• Von Neumann Architecture
• Three stage Pipelining
Krishna
ii. Data items are placed in register file-storage bank made of 32- bit
registers. Since the ARM core is a 32-bit processor, most instructions
treat the registers as holding signed or unsigned 32-bit values.
iii. Sign extend hardware converts signed 8-bit and 16-bit numbers
to 32 bit values as they are read from memory and placed in a register
Medha
Data flow model
Barrel Shifter:
A barrel shifter is a digital circuit that can shift a data
word by a specified number of bits in one clock cycle.
Address register:
◆ It is a 32-bit register.
◆ It contains the present status of an internal operation.
◆ ARM uses CPSR to monitor and control internal operations.
◆ CPSR is a dedicated 32-bit register and resides in the register
file.
N (31) – This bit will be set if the result of an operation is non zero.
Z (30) – This bit will be set if the result of an operation is zero.
C(29) – This bit will be set whenever the carry bit is generated in
any of the iterations of binary addition.
V (28) – If the result produced is more than 32 bit size, it is said to
be overflowed, in this case this bit is set to indicate the result is
overflowed.
Reserved (8 to 27) – These bits are reserved for future use.
I (7) – This bit is set when a low priority interrupt is enabled.
F (6) – This bit is set when a high priority interrupt is enabled.
T (5) – This bit being at logic 1 keep the processor in thumb state
(16 bit processor) and this bit being at logic 0 will keep the
processor I ARM state (32 bit processor).
Mode (0 to 4) – This fields indicates the current processor mode.
Mohitha
PROCESSOR MODES