SlideShare a Scribd company logo
8/21/2012 Embedded Systems 1
Embedded Processors-II
DR. APARNA P.
Assistant Professor
EC Dept
NITK, Surathkal
8/21/2012 Embedded Systems 2
Microcontroller
8/21/2012 Embedded Systems 3
Microcontrollers
A single chip that contains
The processor (the CPU)
Non-volatile memory for the program
(ROM or flash)
Volatile memory for input and output
(RAM)
Basic I/P and O/P interfaces
Basic peripherals like timers, PWM etc.
A clock generator.
More generic and simple in nature.
‘Computer on Chip’
Emphasis on
Low cost
Less Power
Small size
8/21/2012 Embedded Systems 4
Distinction between µP and µC
µPs are associated with general purpose
computing whereas µCs are associated
with embedded application.
µCs have a simple memory hierarchy
(RAM and ROM are on chip and usually
cache is absent.) where as µPs will have
multi layered cache.
µP’s development time is higher unlike
µCs which choose the existing processor.
The power consumption and
temperature rise of µC is restricted
because of constraints on physical
dimension.
8 bit and 16 bit µCs are very popular
with a simpler design as compared to
large bit-length (32 bit-64 bit) complex
general purpose processor.
8/21/2012 Embedded Systems 5
Popular Microcontrollers-I
Atmel
AT89 series (Intel 8051 architecture)
AT90, ATtiny, ATmega, ATxmega series (AVR architecture) (Atmel Norway
design)
AT91SAM (Smart ARM-based Microcontrollers )
AVR32 (32-bit AVR architecture) (Atmel Norway design)
Freescale Semiconductors
8-bit: 68HC05,68HC08, 68HC11 (Motorola 680x series)
16-bit: 68HC12, 68HC16
32-bit:
Freescale 683XX – (Motorola 683xx family )
MCF5xxx (Freescale Coldfire-MC68000 architecture)
MPC 860, MPC 8240/8250, MPC 8540/8555/8560 (Power PC Architecture)
Infineon
8-bit: XC8000 –(Intel 8051 architecture)
16-bit: -XC2000, XE166, C166, C167-(RISC To replace 8051)
32 bit
XMC4000 – (ARM Cortex M4 based)
TricoreTM- (Unified RISC/MCU/DSP processor core)
8/21/2012 Embedded Systems 6
Popular Microcontrollers-II
Intel
8-bit:
MCS-48 (8048 Family)
MCS-51 (8051 family)- Harvard Architecture
16 bit: MCS-96 (8096 family-8xC196 series), MCS-296
NXP Semiconductors
8-bit: 80C51
32-bit:
ARM7 – (LPC 2000 series ),ARM9 – (LPC 3000 series )
ARM Cortex M0- (LPC 1100, LPC 1200 series )
ARM Cortex M3- (LPC 1300, LPC 1700, LPC 1800 series )
ARM Cortex M4- (LPC 4300 series )
ST Microelectronics
8-bit: ST6, ST7,STM8–(pipelined RISC architecture)
32 bit :
STR7 – (ARM7TDMI)
STR9- (ARM966E-S)
STM32 F0-(Cortex-M0), F1, F2, L1, W ((Cortex-M3), F4-
(Cortex-M4)
8/21/2012 Embedded Systems 7
Popular Microcontrollers-III
Texas Instruments
16 bit: MSP430- (Mixed Signal microcontroller)
32 bit:
C2000 – High performance, real time control
applications.
Stellaris –(ARM Cortex M3 architecture)
MicroChip
8/21/2012 Embedded Systems 8
Architecture of a typical µC –(Intel MCS-96 )
Introduced by Intel during 1982.
Family of 16-bit microcontrollers.
Widely used in printers, modems and hard disc drives.
Have different operating frequencies and offered in
various packages.
8xC196 is discussed as a sample member of the family.
8/21/2012 Embedded Systems 9
The simplified internal architecture
8/21/2012 Embedded Systems 10
Important Features of MCS-96
Register-to-Register architecture
16K on-chip ROM/OTPROM
488 bytes register RAM
Five 8-bit I/O ports
High speed I/O subsystem
Full-Duplex serial port
16-bit multiply and divide instructions
8 or 10-bit A/D converter with sample and hold
Four 16-bit software timers
16-bit up/down counter with capture
Dynamically configurable 16-bit or 8-bit bus-width
Three PWM outputs
16-bit Watchdog Timer
28 interrupt sources, 16 vectors
HOLD/HLDA bus protocol
8/21/2012 Embedded Systems 11
Pins and Signals of 8xC196 (68-pin PLCC)
External memory interfacing is
allowed thr’ external address, data
and control lines.
Pin numbers differ in package type.
MCS-96 designed around Princeton
(Von Neumann) architecture.
Program and data share same
memory space.
Total addressable memory (internal
and external) is 64K.
8/21/2012 Embedded Systems 12
Architecture of a typical µC –(TI MSP 430 )
The MSP430 is a 16 bit RISC mixed-signal microcontroller family from Texas
Instruments.
Built around a 16-bit CPU, the MSP430 is designed for low cost and, specifically, ultra
low power consumption embedded applications.
Broad family of TI’s 16-bit microcontrollers
from 1Kbytes ROM, 128 bytes RAM (approx. $1 )
to 60Kbytes ROM, 10Kbytes RAM ( $10)
Subfamilies
MSP430x1xx: basic unit
MSP430x3xx: more features
MSP430x4xx: built-in LCD driver
MSP430x5xx – new Flash-based family featuring the lowest power consumption
up to 25 MIPS with 1.8 to 3.6V operation starting at 12 MIPS
New features include an innovative Power Management Module for optimizing power
consumption, an internally controlled voltage regulator, and 2x more memory than
previous devices.
8/21/2012 Embedded Systems 13
Ultra Low power standby mode
System enters and remains in an
ultra-low power standby mode for as
long as possible
Is awakened only to service interrupts
as fast as possible.
Multiple oscillators
Flexible clock system
allows the MSP430 to operate
optimally from a single 32KHz crystal
Digitally controlled oscillator (DCO)
Low power standby mode typically
consumes current in the 1µA range.
The integrated high-speed DCO can
source the (MCLK) used by the CPU
and high-speed peripherals.
8/21/2012 Embedded Systems 14
(FRAM) Ferroelectric Random Access Memory
Nonvolatile memory that combines high
speed with ultra low power.
Lowest Power : Active power
consumption
<100µA/MHz
250x less power than Flash writes
Protected write completion
True unified memory
Gives flexibility to designate any section
of memory as program or data memory.
This can be changed throughout the
development process to suit the changing
needs of the application.
8/21/2012 Embedded Systems 15
-contd (FRAM)
Higher Throughput :
FRAM can also maintain very high data throughput for non-volatile
data storage.
FRAM can write more than 150X faster than flash, while consuming
less power
FRAM max throughput = 2000kB/s
Flash max throughput = 12kB/s
Write Endurance :
Embedded FRAM also offers longevity and write endurance that
existing memory technologies cannot match.
This increased write endurance is ideal for data logging, digital rights
management, replacing battery-backed SRAM and other applications.
1015 write cycles for FRAM
105 write cycles for Flash/EPROM
8/21/2012 Embedded Systems 16
MSP430 Typical Applications
Handheld Measurement
Air Flow measurement
Alcohol meter
Barometer
Data loggers
Emission/Gas analyser
Humidity measurement
Temperature
measurement
Weight scales
Medical Instruments
Blood pressure meter
Blood sugar meter
Breath measurement
EKG system
Utility Metering
Gas Meter
Water Meter
Heat Volume Counter
Heat Cost Allocation
Electricity Meter
Meter reading system (RF)
Sports equipment
Altimeter
Bike computer
Diving watches
Security
Glass break sensors
Door control
Smoke/fire/gas detectors
Home environment
Air conditioning
Control unit
Thermostat
Boiler control
Shutter control
Irrigation system
White goods
(Washing machine,..)
Misc
Smart card reader
Taxi meter
Smart Batteries
8/21/2012 Embedded Systems 17
MSP 430 Modular Architecture
16 bit bus
handles
wide width
data much
more
effectively
Von-Neumann
common bus
connects CPU to
all memory and
peripherals
Embedded emulation accesses in-
application with JTag.
8/21/2012 Embedded Systems 18
MSP430x14x Architecture
8/21/2012 Embedded Systems 19
MSP430 16-bit RISC
•Large 16-bit register file eliminates single
accumulator bottleneck
•High-bandwidth 16-bit data and address
bus with no paging.
•RISC architecture with 27 instructions
and 7 addressing modes
•Single-cycle register operations with full-
access
•Direct memory-memory transfer designed
for modern programming
•Compact silicon 30% smaller than an 8051
saves power and cost
•Orthogonal architecture with every
instruction usable with every addressing
mode.
•Full register access including program
counter, status registers, and stack pointer.
8/21/2012 Embedded Systems 20
MSP430 Memory Model

More Related Content

PPT
Introduction to embedded system
PPTX
Ec8791 arm 9 processor
PPTX
Chapter 1 CSC118
PPT
Microprocessors and microcontrollers
PDF
Microcontrollers 8051 MSP430 notes
PDF
Embedded system (Chapter 1)
DOC
Unit 1 embedded systems and applications
PPTX
Ec8791 lpc2148
Introduction to embedded system
Ec8791 arm 9 processor
Chapter 1 CSC118
Microprocessors and microcontrollers
Microcontrollers 8051 MSP430 notes
Embedded system (Chapter 1)
Unit 1 embedded systems and applications
Ec8791 lpc2148

What's hot (20)

PPT
Origin of Microprocessor and Classification of Microprocessor
PPT
MCF5223x: Integrated ColdFire V2 Ethernet Microcontrollers
DOC
Embedded two mark question
PDF
Tank water level & monitoring solution based on the STM32L476 MCU
PDF
Introduction to microcontroller
PDF
Introduction to Microcontroller
PDF
Introduction to-microprocessors
PDF
Unit 1 intro-embedded
PPTX
Processor types
PDF
Introduction to Microprocessors
PPTX
Embedded system
PDF
IRJET-Design of ARM Based Data Acquisition and Control System for Engine Asse...
PPTX
Intro to micro controller (Atmega16)
PDF
High-performance ARM SoM Powered by NXP i.MX 8M
PDF
Microprocessor and Microcontroller - ITVoyagers
PPT
Necessity of 32-Bit Controllers
PPSX
8051 microcontroller and embedded system
PPTX
Microcontroller overview 1
PPT
Chapter 4 Microprocessor CPU
Origin of Microprocessor and Classification of Microprocessor
MCF5223x: Integrated ColdFire V2 Ethernet Microcontrollers
Embedded two mark question
Tank water level & monitoring solution based on the STM32L476 MCU
Introduction to microcontroller
Introduction to Microcontroller
Introduction to-microprocessors
Unit 1 intro-embedded
Processor types
Introduction to Microprocessors
Embedded system
IRJET-Design of ARM Based Data Acquisition and Control System for Engine Asse...
Intro to micro controller (Atmega16)
High-performance ARM SoM Powered by NXP i.MX 8M
Microprocessor and Microcontroller - ITVoyagers
Necessity of 32-Bit Controllers
8051 microcontroller and embedded system
Microcontroller overview 1
Chapter 4 Microprocessor CPU
Ad

Similar to Ch2 embedded processors-ii (20)

PDF
8 bit microcontroller
PPTX
Microcontoller and Embedded System
PPTX
embedded system and microcontroller
PPTX
8051 chap 4 microcontroller for B.Tech third year std.pptx
DOCX
Digital electronics
PPT
Embedded System Basics
PPTX
microprocessor unit1 2022.pptx
PDF
How to Select Hardware for Internet of Things Systems?
PPT
Embedded system
PPT
Embeddedsystem
PDF
An entire concept of embedded systems entire ppt
PDF
An Entire Concept of Embedded systems
PDF
Chapter Two Hahhhhhhhhhhhhhhhhhhhhhhhndout RTES.pdf
DOCX
Chapter Two Hbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbandout RTES.docx
DOCX
Wireless energy meter monitoring with automated tariff calculation
PPT
Embedded System Introduction and microcontroller.ppt
PPT
arm 7 microprocessor architecture ans pin diagram.ppt
PPT
armcores introduction to arm provessor.ppt
PPT
PMA71xx- SmartLEWIS™ MCUs
PPTX
3.TechieNest microcontrollers
8 bit microcontroller
Microcontoller and Embedded System
embedded system and microcontroller
8051 chap 4 microcontroller for B.Tech third year std.pptx
Digital electronics
Embedded System Basics
microprocessor unit1 2022.pptx
How to Select Hardware for Internet of Things Systems?
Embedded system
Embeddedsystem
An entire concept of embedded systems entire ppt
An Entire Concept of Embedded systems
Chapter Two Hahhhhhhhhhhhhhhhhhhhhhhhndout RTES.pdf
Chapter Two Hbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbandout RTES.docx
Wireless energy meter monitoring with automated tariff calculation
Embedded System Introduction and microcontroller.ppt
arm 7 microprocessor architecture ans pin diagram.ppt
armcores introduction to arm provessor.ppt
PMA71xx- SmartLEWIS™ MCUs
3.TechieNest microcontrollers
Ad

Recently uploaded (20)

PDF
PPT on Performance Review to get promotions
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
Arduino robotics embedded978-1-4302-3184-4.pdf
PPTX
Lecture Notes Electrical Wiring System Components
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPT
Mechanical Engineering MATERIALS Selection
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
Well-logging-methods_new................
PPTX
UNIT 4 Total Quality Management .pptx
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
Digital Logic Computer Design lecture notes
PPT on Performance Review to get promotions
Operating System & Kernel Study Guide-1 - converted.pdf
Arduino robotics embedded978-1-4302-3184-4.pdf
Lecture Notes Electrical Wiring System Components
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Mechanical Engineering MATERIALS Selection
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Strings in CPP - Strings in C++ are sequences of characters used to store and...
CH1 Production IntroductoryConcepts.pptx
Model Code of Practice - Construction Work - 21102022 .pdf
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
bas. eng. economics group 4 presentation 1.pptx
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Well-logging-methods_new................
UNIT 4 Total Quality Management .pptx
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Digital Logic Computer Design lecture notes

Ch2 embedded processors-ii

  • 1. 8/21/2012 Embedded Systems 1 Embedded Processors-II DR. APARNA P. Assistant Professor EC Dept NITK, Surathkal
  • 2. 8/21/2012 Embedded Systems 2 Microcontroller
  • 3. 8/21/2012 Embedded Systems 3 Microcontrollers A single chip that contains The processor (the CPU) Non-volatile memory for the program (ROM or flash) Volatile memory for input and output (RAM) Basic I/P and O/P interfaces Basic peripherals like timers, PWM etc. A clock generator. More generic and simple in nature. ‘Computer on Chip’ Emphasis on Low cost Less Power Small size
  • 4. 8/21/2012 Embedded Systems 4 Distinction between µP and µC µPs are associated with general purpose computing whereas µCs are associated with embedded application. µCs have a simple memory hierarchy (RAM and ROM are on chip and usually cache is absent.) where as µPs will have multi layered cache. µP’s development time is higher unlike µCs which choose the existing processor. The power consumption and temperature rise of µC is restricted because of constraints on physical dimension. 8 bit and 16 bit µCs are very popular with a simpler design as compared to large bit-length (32 bit-64 bit) complex general purpose processor.
  • 5. 8/21/2012 Embedded Systems 5 Popular Microcontrollers-I Atmel AT89 series (Intel 8051 architecture) AT90, ATtiny, ATmega, ATxmega series (AVR architecture) (Atmel Norway design) AT91SAM (Smart ARM-based Microcontrollers ) AVR32 (32-bit AVR architecture) (Atmel Norway design) Freescale Semiconductors 8-bit: 68HC05,68HC08, 68HC11 (Motorola 680x series) 16-bit: 68HC12, 68HC16 32-bit: Freescale 683XX – (Motorola 683xx family ) MCF5xxx (Freescale Coldfire-MC68000 architecture) MPC 860, MPC 8240/8250, MPC 8540/8555/8560 (Power PC Architecture) Infineon 8-bit: XC8000 –(Intel 8051 architecture) 16-bit: -XC2000, XE166, C166, C167-(RISC To replace 8051) 32 bit XMC4000 – (ARM Cortex M4 based) TricoreTM- (Unified RISC/MCU/DSP processor core)
  • 6. 8/21/2012 Embedded Systems 6 Popular Microcontrollers-II Intel 8-bit: MCS-48 (8048 Family) MCS-51 (8051 family)- Harvard Architecture 16 bit: MCS-96 (8096 family-8xC196 series), MCS-296 NXP Semiconductors 8-bit: 80C51 32-bit: ARM7 – (LPC 2000 series ),ARM9 – (LPC 3000 series ) ARM Cortex M0- (LPC 1100, LPC 1200 series ) ARM Cortex M3- (LPC 1300, LPC 1700, LPC 1800 series ) ARM Cortex M4- (LPC 4300 series ) ST Microelectronics 8-bit: ST6, ST7,STM8–(pipelined RISC architecture) 32 bit : STR7 – (ARM7TDMI) STR9- (ARM966E-S) STM32 F0-(Cortex-M0), F1, F2, L1, W ((Cortex-M3), F4- (Cortex-M4)
  • 7. 8/21/2012 Embedded Systems 7 Popular Microcontrollers-III Texas Instruments 16 bit: MSP430- (Mixed Signal microcontroller) 32 bit: C2000 – High performance, real time control applications. Stellaris –(ARM Cortex M3 architecture) MicroChip
  • 8. 8/21/2012 Embedded Systems 8 Architecture of a typical µC –(Intel MCS-96 ) Introduced by Intel during 1982. Family of 16-bit microcontrollers. Widely used in printers, modems and hard disc drives. Have different operating frequencies and offered in various packages. 8xC196 is discussed as a sample member of the family.
  • 9. 8/21/2012 Embedded Systems 9 The simplified internal architecture
  • 10. 8/21/2012 Embedded Systems 10 Important Features of MCS-96 Register-to-Register architecture 16K on-chip ROM/OTPROM 488 bytes register RAM Five 8-bit I/O ports High speed I/O subsystem Full-Duplex serial port 16-bit multiply and divide instructions 8 or 10-bit A/D converter with sample and hold Four 16-bit software timers 16-bit up/down counter with capture Dynamically configurable 16-bit or 8-bit bus-width Three PWM outputs 16-bit Watchdog Timer 28 interrupt sources, 16 vectors HOLD/HLDA bus protocol
  • 11. 8/21/2012 Embedded Systems 11 Pins and Signals of 8xC196 (68-pin PLCC) External memory interfacing is allowed thr’ external address, data and control lines. Pin numbers differ in package type. MCS-96 designed around Princeton (Von Neumann) architecture. Program and data share same memory space. Total addressable memory (internal and external) is 64K.
  • 12. 8/21/2012 Embedded Systems 12 Architecture of a typical µC –(TI MSP 430 ) The MSP430 is a 16 bit RISC mixed-signal microcontroller family from Texas Instruments. Built around a 16-bit CPU, the MSP430 is designed for low cost and, specifically, ultra low power consumption embedded applications. Broad family of TI’s 16-bit microcontrollers from 1Kbytes ROM, 128 bytes RAM (approx. $1 ) to 60Kbytes ROM, 10Kbytes RAM ( $10) Subfamilies MSP430x1xx: basic unit MSP430x3xx: more features MSP430x4xx: built-in LCD driver MSP430x5xx – new Flash-based family featuring the lowest power consumption up to 25 MIPS with 1.8 to 3.6V operation starting at 12 MIPS New features include an innovative Power Management Module for optimizing power consumption, an internally controlled voltage regulator, and 2x more memory than previous devices.
  • 13. 8/21/2012 Embedded Systems 13 Ultra Low power standby mode System enters and remains in an ultra-low power standby mode for as long as possible Is awakened only to service interrupts as fast as possible. Multiple oscillators Flexible clock system allows the MSP430 to operate optimally from a single 32KHz crystal Digitally controlled oscillator (DCO) Low power standby mode typically consumes current in the 1µA range. The integrated high-speed DCO can source the (MCLK) used by the CPU and high-speed peripherals.
  • 14. 8/21/2012 Embedded Systems 14 (FRAM) Ferroelectric Random Access Memory Nonvolatile memory that combines high speed with ultra low power. Lowest Power : Active power consumption <100µA/MHz 250x less power than Flash writes Protected write completion True unified memory Gives flexibility to designate any section of memory as program or data memory. This can be changed throughout the development process to suit the changing needs of the application.
  • 15. 8/21/2012 Embedded Systems 15 -contd (FRAM) Higher Throughput : FRAM can also maintain very high data throughput for non-volatile data storage. FRAM can write more than 150X faster than flash, while consuming less power FRAM max throughput = 2000kB/s Flash max throughput = 12kB/s Write Endurance : Embedded FRAM also offers longevity and write endurance that existing memory technologies cannot match. This increased write endurance is ideal for data logging, digital rights management, replacing battery-backed SRAM and other applications. 1015 write cycles for FRAM 105 write cycles for Flash/EPROM
  • 16. 8/21/2012 Embedded Systems 16 MSP430 Typical Applications Handheld Measurement Air Flow measurement Alcohol meter Barometer Data loggers Emission/Gas analyser Humidity measurement Temperature measurement Weight scales Medical Instruments Blood pressure meter Blood sugar meter Breath measurement EKG system Utility Metering Gas Meter Water Meter Heat Volume Counter Heat Cost Allocation Electricity Meter Meter reading system (RF) Sports equipment Altimeter Bike computer Diving watches Security Glass break sensors Door control Smoke/fire/gas detectors Home environment Air conditioning Control unit Thermostat Boiler control Shutter control Irrigation system White goods (Washing machine,..) Misc Smart card reader Taxi meter Smart Batteries
  • 17. 8/21/2012 Embedded Systems 17 MSP 430 Modular Architecture 16 bit bus handles wide width data much more effectively Von-Neumann common bus connects CPU to all memory and peripherals Embedded emulation accesses in- application with JTag.
  • 18. 8/21/2012 Embedded Systems 18 MSP430x14x Architecture
  • 19. 8/21/2012 Embedded Systems 19 MSP430 16-bit RISC •Large 16-bit register file eliminates single accumulator bottleneck •High-bandwidth 16-bit data and address bus with no paging. •RISC architecture with 27 instructions and 7 addressing modes •Single-cycle register operations with full- access •Direct memory-memory transfer designed for modern programming •Compact silicon 30% smaller than an 8051 saves power and cost •Orthogonal architecture with every instruction usable with every addressing mode. •Full register access including program counter, status registers, and stack pointer.
  • 20. 8/21/2012 Embedded Systems 20 MSP430 Memory Model