Professional Documents
Culture Documents
Dr. Y S Rao
Embedded Processors
Embedded vs. Desktop Processors Applications
Embedded Processors: Cell phones / pagers / PDAs DAQ Q Controls (Automotive, Industrial) Smart Media Desktop Processors: D kt computers Desktop t Notebook computers / Laptops
Advantages: Lower cost Optimized Instruction Set Lower Power consumption Smaller footprint Disadvantages: Sl Slower clock speeds l k d Less Processing power
Commercial/industrial applications Complex features to be simplified Replace electro-mechanical systems C t reduction Cost d ti Quality improvement
4
An Embedded System
Inputs
Microcontroller (uC)
Outputs
Inputs I t
Microcontroller (uC)
Outputs
Feedback
computers + SoCs = hardware / software mix complete change in device interaction ever-growing number of critical applications
CPU
DSP
GLU
RAM
ROM
FPGA
Hardware or Software?
8
telephone, audio, TV, DVD, games business critical => time-to market + quality pacemakers, diabet control, robot surgeons life-critical => TBD (!)
10
Microcontroller Manufacturers
ARM Advanced RISC Machines Atmel Cypress- programmable blocks Freescale Semiconductor- uC, DSP Intel 8051/8052 cores Intel Microchip NEC Renasas Sharp ST Mi Microelectronics l t i Texas Instruments- uC, DSP a y others Many ot e s
11
Microcontrollers Spectrum p
$0.15 - $0.20 Far Eastern parts A 4-bit 4 pin $0.35 ST part 4 bit 4-pin $0 35 Musical gift card uC 8-bit 8K flash,1K RAM, 16-I/O 8-Bit, 256K flash, 32K RAM, 64-I/O 8 Bit, 64 I/O 32-Bit, 2M Flash, 64K RAM, TPU A high end $50 Marvell processor
GbE, USB HS
DSPs
12
14
Design Issues g
Design Methodology Time To Market Clock Speed Cl k S d Power Consumption Silicon Technology Consumer Market: Minimize Manufacturing Cost. No chance for future modification.
15
I/O (3)
Input (1)
16
Microcontroller Functionality y
Core processor - Voltages Memor Fl h RAM, EEPROM, FRAM Memory Flash, RAM EEPROM FRAM,
DDR2
Input/Output iinterface voltage t f lt Timers Interrupts Serial Communication- SPI,, I2C,, UART USB, CAN-BUS, IR, SD-Cards Analog A/D DAC, C A/D, DAC Comparator, O t Op-amp
17
A Typical Microcontroller
RAM Flash
EEPROM
I/O
Timers
Comm
Analog
18
21
22
23
A Typical Microcontroller
RAM Flash
EEPROM
I/O
Timers
Comm
Analog
24
DSP
MMU
A/D 40-Ch
PLL
64-Ch I/O
25
Embedded Systems Development y p System development Electronics PCB Layout Software Mechanical Product qualification DFM design for manufacturability
27
System Development y p Architecture Complexity MIPS required Complexityi d Sub-systems interface - Master/slave Communication - Networking protocols Power budget HW/SW tradeoffs uC selection C l ti System tests regulatory agencies y g y g
28
Worst case analyses- simulations Proof of concept, Prototyping- PALs, FPGAs p, yp g DFMEA- UL, agencies approval Reliability predictions - MTBF
30
31
Hold on there!
What is real time software?
33
I/O
MicroController Core SW
Prioritized Interrupts
Inputs
Interrupts ISRs
C v/s Assembly Timers input capture and output compare Tasks and priorities RTOS Worst case analysis
37
38
39
40
Based on the type of timing guarantee they provide, real time systems are classified as soft real soft time or hard real time.
41
43
45
46
47
ProgrammersE l t Emulators- JTAG Simulators Assemblers Compilers Linkers Loaders CASE tools
Version control
48
Architecture
Micro-Architecture RTL design circuits DFT (test) Place&Route $ 1,000,000 Masks Chips
concurrency pipeline resource s a g esou ce sharing gates, clocks registers, RAMs critical path cells, clock trees area, speed testability scan insertion
Word, Visio
VHDL, Verilog
Verilog + ...
49
Linker
C System Libraries
C Executable File
Host C H Computer
Embedded System
50
Assembler
Run-Time Library:
Boot Process
51
Program Initialization
Read-Only Memory (ROM)
ROM "Burner"
52
What is ISP?
In-System Programmable (ISP) means :
The ability to reconfigure the logic and f d functionality of a ti lit f device, board or complete electronic system. system This can be done before, during and after its manufacture and shipment to the end user.
53
Case Studies
54
Speaker
55
Optical Encoder E d
Optical Isolation I l ti
Freescale 68HCxx
RS232
PC Application
56
eBook
Rechargeable Battery
Video
Xilinx FPGA
Graphics LCD
57
58
59
60
61
62
63
64
Product: TIQIT Computer s Computers Matchbox PC. Microprocessor: 32 bit 32-bit AMD Elan SC410.
65
66
Product: Motorola i1000plus iDEN MultiService Digital Phone Phone. Microprocessor: Motorola 32 bit MCORE 32-bit MCORE.
67
68
69
Product: IBM Researchs Linux wrist watch prototype. Microprocessor: 32-bit ARM RISC.
70
Product: Sony Aibo ERS-110 Robotic Dog. Microprocessor: 64-bit MIPS RISC.
71
72
73
74
2mm 2mm, 2mm*2mm PIC 12c508 512b ROM 24b ROM, RAM, 6bits IO 4MHz RC IO,
75
76
Embedded Systems
Classification
77
Classification
1. 1 Autonomous Systems
Autonomous systems function in standalone mode. Many Embedded systems used for process control in manufacturing units and automobiles fall this category category. Ex: Air-conditioner, CD players
79
4. Mobile``````
Mobile gadgets need to store data bases locally in their memory. These gadgets imbibe powerful computing and communication p g capabilities to perform real-time tasks and handle multimedia applications. The gadgets embed powerful processor and OS, and a lot of memory with minimal power consumption. ith i i l ti
82