28-05-2011

A COMPARATIVE ANALYSIS OF CONVENTIONAL 8051 MICRCONTROLLER AND MODERN ULTRA LOW POWERED MSP 430
Presented By: V/s Chittora Nigam #3Pankaj Chaudhary *4Saurabh Porwal
#2Akshay #1Nishit

8051

MSP430

Electronics & Communication Engineering Department #Geetanjali Institute of Technical Studies, Udaipur

CONTENTS at a GLANCE
� INTRODUCTION � MICROCONTROLLER 8051 � 8051 Key Features � 8051 Applications � MODERN ULTRALOW POWERED MSP430 � MSP430 Key Features � Dominance of MSP430 � Application of MSP430 � WHAT HAS BEEN IMPROVED? � FEATURE COMPARISON � CONCLUSIONS � REFERENCES

1

28­05­2011

INTRODUCTION
�The popularity of microcontroller is ever increasing, as fuelled by the advances in the semiconductor industry.

�They are embedded in almost any device connected to power or battery.

�Limitations of digital electronics ­vanished today,

due to emergence of powerful microcontrollers.

INTRODUCTION
In this paper we are presenting the �featured characteristics of latest processor MSP430 by TI. Further

…contd.

�A comparison is done among different features of the ultra low power MSP430 with the conventional 8051 microcontroller. �Broad application areas and advantages of MSP430 microcontroller over 8051 are reviewed in terms of �Power consumption �Number of Code bytes �Additional on­chip components.

2

28­05­2011

MICROCONTROLLER
As we all know
� A microcontroller is a functional computer system­on­a­chip.

� It contains : i) Processor core ii) Memory iii)Programmable input/output peripherals. � They consume relatively little power (MiliWatts). � Able to retain functionality � Programmable Microcontrollers are now used in all automatically controlled products and devices, such as automobile engine control systems, implantable medical devices, remote controls, office machines, appliances, power tools, and toys.

MICROCONTROLLER 8051
� Conventional Microcontroller � It is single chip microcontroller (µC) series which was developed by Intel in 1980 for use in embedded systems � Harvard architecture � Intel's original MCS­51 family was based on NMOS technology, but later versions are based on CMOS technology and were less power­hungry than their NMOS predecessors. However, as the need has grown, a desire to control more number of chip components has increased, which →seeks more power. →demands more number of peripherals like ADCs/ DACs, etc

3

28­05­2011

MICROCONTROLLER 8051 KEY FEATURES
The 8051 architecture provides many functions in a single package � 8­bit ALU, Accumulator and 8­bit Registers, hence a 8­bit microcontroller. � 8­bit data bus – It can access 8 bits of data in one operation. � 16­bit address bus – It can access 216 memory locations – 64 KB (65536 locations) each of RAM and ROM � On­chip RAM – 128 bytes (data memory) � On­chip ROM – 4 Kbyte (program memory) � Four byte bi­directional input/output port � UART (serial port) � Two 16­bit Counter/timers � Two­level interrupt priority � Power saving mode

MICROCONTROLLER 8051 ­ ARCHITECTURE

4

28­05­2011

APPLICATION OF MSP430
At present, 8051 microcontroller are generally used in � Home Appliances � Office Accessories � Portable electronic gadgets � Biomedical instrumentation � Automobile industries � Mission critical application � Solar panels etc. However, the increasing technology with rising demand to incorporate more number of features utilizing same/less power has led to the evolution of ultra low power microcontrollers like­ MSP430.

MODERN ULTRA LOW POWERED MSP430
� MSP430 are mixed­signal microprocessors and are now ready to offer solutions for today and tomorrow's mixed­signal applications. � 16­bit RISC CPU � Various on­chip peripherals available � Von­Neumann common memory architecture � Flexible clock system � Designed for low cost and specifically, low power consumption embedded applications

5

28­05­2011

FEATURE COMPARISON
Features Processor width Architecture 8­bit 8051 16­bit MSP430

8­bit internal data bus width and 16­ Flexibility of 16 fully­addressable, bit internal single­cycle, 16­bit CPU registers. address bus with Harvard architecture.

Register Sets Type of processor

8­bit and 16­bit CISC

16­bit CPU registers. RISC

Addressing modes

5

7

MSP430 FEATURES
Specialized on­chip analog components � � � � � 10/12/16­bit Analog­to­Digital Converter (ADC) 12­bit dual Digital­to­Analog Converter (DAC) Comparator­gated timers to count for events. Operational Amplifiers for comparison. Supply Voltage Supervisor (SVS) to generate a system reset (POR) when the external supply voltage drops below a user­selectable threshold. Architectural features: � � � � � � 16­bit RISC Instructions processing done on any bits, bytes or words. Compact core design which reduces power consumption and cost. It has 51 instructions (27 core + 24 emulated). Supports 7 addressing modes. Extensive vectored­interrupt capability.

6

28­05­2011

POWER REQIUREMENT
• MSP430 has low power consumption. a. b. c. It takes only 0.1µA for RAM data retention. Requires 0.8 µA for real time clock mode operation. 250 µA per MIPS (Machine Instructions per Second) at active operation. • It works on low operating voltages ranging from 1.8 V to 3.6 V in different operating modes. Feature The port has low leakage current typically less than 50nA.

8051

MSP430

These controllers can be put easily from active mode to low­power mode by controlling bits in the status register. These supports several low­power modes, depending on how much of the device should remain active and how quickly it should return to full­speed operation.

Power 5 Volt requirement Power dissipation 1.5Watt

1.8­3.6 Volt

4.5mW

FEATURE COMPARISON
Current Consumption (in µA)
300 250 200 150

Modes
Active Mode LPM0 LPM1 LPM2 LPM3 LPM4

Current Consumption (in µA)
0.75 0.105 0.132

100

0.0475 0.0144 0.0018
50 0
Active Mode LPM0 LPM1 LPM2 LPM3 LPM4

Current Consumption (in µA)

7

28­05­2011

DOMINANCE OF MSP430
Figure­1 shows the total code size in bytes for each microcontroller with no optimization and with full optimization.
8000 7000

Codes size in Bytes

6000 5000 4000 3000 2000 1000 0

Unoptimized Optimized

MSP430FG4619

8051

DOMINANCE of MSP430
Figure­2 shows the total cycle count for each microcontroller with no optimization and with full optimization
80000 70000 60000 50000 40000 30000 20000 10000 0 MSP430FG4619 8051 Unoptimized Optimized

8

28­05­2011

APPLICATION OF MSP430
Within the MSP430 platform, it includes 5 generations of ultra­low power, highly integrated microcontrollers spanning over 200 devices. It also offers various levels of analog integration, digital peripherals, and communication protocols to help developers find the right microcontroller for various applications.
� � � � � � � � � � Communication and telecom Utility Metering Portable Medical and instrumentation Low­power Wireless Application Intelligent Sensing Consumer Electronics Security Systems Energy and lightening Space Avionics and Defence Transportation Automotive

WHAT OTHER HAS BEEN IMPROVED…?
XIN XOUT

Basic Clock System Plus Improved Oscillators

12MHz Basic Clock Plus
MCLK

ACLK

FLASH 1­8 KB

RAM 256B

Power­On Reset Brown­Out Protection

Port 1 with IRQ

Programmable Pull­Ups / ­ Downs

SMCLK

BOR
J T A G/De B UG
MAB

FLASH Higher Speed 16MHz
TEST

RISC CPU 16­bit

MDB

Watchdog Plus

Timer_A3 16­bit

Comp_A Mux Input

Port 2 with IRQ

Comparator_A + Sample & Hold Multiplexer

WDT+ Improved Robustness

15­bit

Programmable Pull­Ups / ­ Downs

9

28­05­2011

SIGNAL CHAIN on CHIP­ SCoC
• • • • Complete Signal Chain On a Chip SCoC High performance­to­cost benefits Embedded emulation allows real­time authentic debugging High performance A/D converter can eliminate the need for signal amplification • Integrated D/A converters complete the signal chain • DMA enabled peripherals eliminate Peripheral Interface Control

MSP430F169

Feature
Sensor Signal Input Analog to Digital Converter 3-Channel DMA Digital to Analog Converter Analog Output IrDA Serial COM I2C Readout

8051 Not Available

MSP430 Available

On­chip wireless features DMA

Not Available

16 x 16 MACS

16-bit RISC CPU

Available upto 3 to 8 channels.

FEATURE COMPARISON

Interfacing

General purpose interfaced externally 127 2 to 3 No

Devices A wide selection of on­chip general purpose devices based on specific MSP430Fxxx platform. 51 instructions (27 core + 24 emulated) Several timers few of which have capture compare modes. Yes

Instruction sets Timers Watch Dog

10

28­05­2011

FEATURE COMPARISON

Number of on­ Not Available chip components ADC and DAC External interface required

Available on­chip – USB, LCD, LCD_A controllers, Software RTC Module.

Available on­chip 10, 12 and 16­bit different ADCs in specific devices. Flexible Clocking System MCLK, ACLK, SMCLK

Clocking System Fixed

Interfacing

General purpose interfaced externally 127

Devices A wide selection of on­chip general purpose devices based on specific MSP430Fxxx platform. 51 instructions (27 core + 24 emulated) Several timers few of which have capture compare modes.

Instruction sets

Timers

2 to 3

11

28­05­2011

FEATURE COMPARISON
Power requirement Power dissipation 5 Volt 1.8­3.6 Volt

1.5Watt

4.5mW

Number of on­ Not Available chip components ADC and DAC External interface required

Available on­chip – USB, LCD, LCD_A controllers, Software RTC Module.

Available on­chip 10, 12 and 16­bit different ADCs in specific devices. Flexible Clocking System MCLK, ACLK, SMCLK

Clocking System Fixed

FEATURE COMPARISON
Low power modes Programming Interface Only one. Aging RS 232 Five modes available. 4­wire JTAG and Spy Bi­wire interface.

Cost

Comparatively high.

low­cost, Lower­end applications. Ideal for high­ volume/Low­cost designs. (25 cents)

12

28­05­2011

CONCLUSION
One of the most important quality standards for battery powered devices is battery life. Handheld medical tools, electricity meters, personal digital assistants, and a goal of the designer and programmer is to lower the power use of the embedded system to negligible levels. � In designing battery powered devices, savings can be gained from the choice of electronic components, the arrangement of components, and the software on the design. The MSP430 supports various low power modes thus we can conclude that, the ultra­low power mixed­signal microcontrollers from TI provides the ultimate solution for a wide range of low power and portable applications. � To enable the adoption of advanced low­power techniques by mainstream users, the MSP430 fulfils the need for a design flow which holistically addresses the architecture, design, verification, and implementation of low­power designs. The major advantage of MSP430 is that it requires very low input power supply for its operation, Further more it has inbuilt ADC and DAC which are not present in 8051 microcontroller. The MSP430's DMA allows data transfers from one address to another without CPU intervention, across the entire address range. This features up to three independent transfer channels.

REFERENCES:
1. 2. 3. John H. Davies, MSP 430 Microcontroller Basics, 2010, Elsevier Inc., ISBN: 9780750682763 Chris Nagy, Embedded Systems Design using the TI MSP430 Series, 2003, Boston Newnes, Embedded Technology Series, ISBN 075067623X. MSP430 Microcontroller Essentials, CD­ROM from Texas Instruments, 2009. 4. Ajay V. Deshmukh, 2008, Microcontrollers: Theory and Applications, First Edition, Tata McGraw­ Hill Publishing Company Ltd., ISBN: 9780070585959 5. Muhammad Ali Mazidi, Janice Gillespie Mazidi and Rollin D. McKinley, The Microcontroller and Embedded Systems: using Assembly & C, 2009, Second Edition, Dorling Kindersley (India) Pvt. Ltd., ISBN: 9788131710265 6. Kenneth J. Ayala and Dhananjay V. Gadre, The 8051 Microcontrollers and Embedded Systems: Using Assembly & C, 2010, Second Impression, Cengage Learning India Pvt. Ltd., ISBN: 9788131511053 7. Satish Shah, 8051 Microcontrollers: MCS51 family and its variants, 2010, First Edition, Oxford University Press, ISBN:9780198063575 8. Scott Mackenzie and Raphael C.­W. Phan, The 8051 Microcontroller, 2008, Fourth Edition, Pearson Education, ISBN: 9788131720189 9. Han­Way Huang, Embedded System Design using C8051, 2009, Cengage Learning India Pvt. Ltd., ISBN: 9788131512241 http://en.wikipedia.org/wiki/Intel_MCS­51 http://en.wikipedia.org/wiki/TI_MSP430 http://focus.ti.com/mcu/docs/mcumspoverview.tsp?sectionId=95&tabId=140&familyId=342

13

28­05­2011

Thank You

14

��������������������������������������������������������������������������� ��������������������������������������������������������������������������������� �����������������������������������������������������

Sign up to vote on this title
UsefulNot useful