Hardware View of The Embedded Systems-1 - Anz
Hardware View of The Embedded Systems-1 - Anz
Systems-1
Lecture-2
Core of the Embedded System
• Core will fall into one of these categories
– Processors
• Microprocessor(General purpose)
• Microcontroller(General purpose/Application
Specific)
• Digital signal processor(Application specific)
– Application Specific Integrated Circuits(ASIC)
– Programmable Logic Devices(PLD)
– Commercial off-the- shelf components(COTS)
Processors-Microprocessors
• CPU fabricated in a single IC-
ALU,CU,registers
• dependent unit-memory,timer
unit,interrrupt controllers etc
• Intel 4004-4 bit processor
– 1K data memory.12 bit program counter,4K
program memory,16 registers(4 bit),46
instructions,740kHz(clock speed)
• 4004 upgraded to 4040
– 60 instructions,8K program memory,interuppts
added
• Intel 8008-8 bit processor
• Intel 8080-16 bit processor-
– 16 bit address bus,program counter,7 nos of 8
bit registers(A-E,H,L:BC,DE,HL-16 bit
processors)
– used in industry and control
• Motorola 6800-different architecture and
instruction set compared to 8080
• Intel 8080 upgraded to 8085-
– two newly added instructions,3 interrupt pins,
– serial i/o,built-in clock generator and bus
controller,5V supply
• Z80(Zilog) -improved version of 8080
– same architecture and instruction set (but 80
new instructions added)of 8080
– register banking-doubling the register set
– included 2 sets of index registers for flexible
design
• 16,32,64 bit processors
• clock speed over 3GHz
• Different instruction set -RISC and CISC
architecture available -Harvard and
VonNeumann
Microprocessor
System control
Control Unit bus
Register
System
address and
Arithmetic data bus
and Logic
Unit
Clock
Microcontrollers
• Highly integrated chip-CPU,scratch pad
RAM,special and genral purpose register
arrays,on chip ROM/flash
memory,timer,interrupt,I/O ports
• Superset of Microprocessors
• Texas TMS1000-world's first
microcontroller
– similar to 4004/4040 with additional
RAM,ROM and I/O ports on single chip
• Intel family of microcontrollers-MCS-48
– 8038,39,40A,48,49,50
• 8051-popular,powerful,family MCS-51
– 75% of the microcontrollers used in
embedded system is 8051 family
– low cost,memory efficient instruction set
– CISC set
– general purpose
• 8051 with special addons
– built in Serial parallel Interface
– I2C serial buses,USB controller
• 8 bit microcontrollers -processing power not a constraint
• Peripheral Interface Conroller(PIC)-Microchip Technologies
– 8/16/32 bit ,high performance,RISC
• Intel-8096,MSP430(Texas)-16 bit
• High processing speed microcontrollers
– ARM Cortex M series-32 bit
– AVR(Advance Virtual RISC)-8 bit RISC flashmemory,fast
enough to execute powerful instructions in a single clock
cycle ,Application specific-automotive domain
• PSoC-Programmable System on Chip
– 8 bit M8C core(PSoC1)/8bit 8051core(PSoC3)/32 bit ARM core(PSoc5)
– more peripherals-programmable
– Programmable analog digital blocks,configurable peripherals(flexible and
can be coonected to any peripherals)
– Cypress PSoC-popular
– PSoC used in controlling the touch sensitive scroll in Apple iPod
Microcontroller
Registers
Memory I/O ports
Arithmetic and
Logic Unit
• Program memory
– to store program
• Data memory
– working memory-store temporary variables or
data
• Computational engine
– performs signal processing
– special ALU
• I/O unit-interface-capture and deliver signals
Applications of DSP
• Audio video signal processing
• telecommunication
• multimedia
• Real time calculations
– SOP(Sum of Product)
– convolution
– FFT
– DFT
• Ex:Blackfin processor-signal processing
Instruction set
Note: Intel was with CISC but later to design Pentium Pro it made CISC to
breakdown into simpe RISC. “Pentium Pro is a RISC processor with CISC
instructions”
Harvard Von-Neumann
• Separate buses for • Single shared bus for
instruction and data instruction and data
fetching fetching
• High performance • Low performance
• Comparatively high • cheaper
cost • Allows self modifying
• No memory alignment codes
problem • Chances of program
• No chances of getting corrupted
program getting
corrupted
Von Neumann architecture
Harvard architecture