MSP430 Ultra-low-power Microcontrollers - Texas … Ultra-low-power Microcontrollers MSP430 Key...

12
T H E W O R L D L E A D E R I N D S P A N D A N A L O G MSP430 Ultra-low-power Microcontrollers MSP430 Key Features Ultra-low power consumption - 400-μA active mode - 1.3-μA standby mode - 0.1-μA off mode High throughput processor - 16-bit orthogonal RISC architecture - Most instructions executed within a single 200-ns cycle operating at 5 MHz - Seven different address modes for 51 (27 core) instructions Hardware multiplier Integrated 14-bit A/D converter Integrated LCD driver Integrated USART Various timers Product Bulletin From the beginning, the design objective of the MSP430 team was to focus on the ultra-low power consumption of the com- plete system. The goal was to create a microcontroller which consumes very little current in the sleep modes and performs the given tasks in the active mode as fast as possible. To reduce the current consumption of a system, the MSP430 allows designers the ability to influence the active cur- rent consumption and active time as well as sleep mode current con- sumption and sleep time. The active mode cur- rent consumption of the MSP430 is 400 μA in a typical 3-V system. The time to wake-up from the sleep mode to a total functional system takes a maximum of 6 μs. This allows the MSP430 to be in sleep modes longer and eliminates unnecessary energy use in the active mode. The powerful 16-bit CPU core ensures a fast execution of the tasks and therefore reduces the active time. This means that the higher the performance of the CPU core, the lower the system power Second Quarter, 1999 A full range of MSP430 evaluation and support tools are available and provide easy-to-use design solutions.

Transcript of MSP430 Ultra-low-power Microcontrollers - Texas … Ultra-low-power Microcontrollers MSP430 Key...

Page 1: MSP430 Ultra-low-power Microcontrollers - Texas … Ultra-low-power Microcontrollers MSP430 Key Features • Ultra-low power consumption - 400-µA active mode - 1.3-µA standby mode

T H E W O R L D L E A D E R I N D S P A N D A N A L O G

MSP430 Ultra-low-powerMicrocontrollers

MSP430 Key Features• Ultra-low power consumption

- 400-µA active mode- 1.3-µA standby mode- 0.1-µA off mode

• High throughput processor- 16-bit orthogonal RISC architecture- Most instructions executed within a single

200-ns cycle operating at 5 MHz- Seven different address modes for 51 (27 core)

instructions• Hardware multiplier• Integrated 14-bit A/D converter• Integrated LCD driver• Integrated USART• Various timers

Product Bulletin

From the beginning, the designobjective of the MSP430 teamwas to focus on the ultra-lowpower consumption of the com-plete system. The goal was tocreate a microcontrollerwhich consumes very little current in the sleepmodes and performs thegiven tasks in the activemode as fast as possible.

To reduce the currentconsumption of a system,the MSP430 allowsdesigners the ability toinfluence the active cur-rent consumption andactive time as well assleep mode current con-sumption and sleep time.

The active mode cur-rent consumption of theMSP430 is 400 µA in atypical 3-V system. Thetime to wake-up fromthe sleep mode to a totalfunctional system takes amaximum of 6 µs. This

allows the MSP430 to be in sleepmodes longer and eliminatesunnecessary energy use in theactive mode. The powerful 16-bit CPU core ensures a fast

execution of the tasks andtherefore reduces the activetime. This means that the higherthe performance of the CPUcore, the lower the system power

Second Quarter, 1999

A full range of MSP430evaluation and support

tools are availableand provide easy-to-use

design solutions.

Page 2: MSP430 Ultra-low-power Microcontrollers - Texas … Ultra-low-power Microcontrollers MSP430 Key Features • Ultra-low power consumption - 400-µA active mode - 1.3-µA standby mode

2

consumption. All MSP430 periph-eral modules are speciallydesigned to support these ultra-low power features.

The sleep modes offer areduced current consumptioneven when some peripherals arestill active. For example, in asimple real time clock (RTC), itis not necessary to keep thedevice in active mode. Anotherexample, the system can operatefrom the 32-kHz (ACLK) clockinstead of 1-4 MHz (MCLK) withthe timers and LCD still active.These examples are benefits ofthe most often used low-power

mode 3 (LPM3) which consumes1.3 µA typically. The currentconsumption can be reduceddown to 0.1 µA in LPM4 wherethe MSP430 is still capable of

processing external interrupts,for example from a connectedkeyboard. The sleep time can bemaximized due to the fast wake-up from the low-power modes.

In a modern household, many electronicapplications like TV sets or stereosystems are permanently in a standbymode. Assuming the total standby powerin a household is 10 W, a country with 40million households requires 400 MW justto supply the standby energy. Thismeans that a mid sized power plant isworking only to supply the standbyenergy for these parts.

The MSP430 is an ultra-low-powermicrocontroller family and can help to

reduce this standby current. The typicalcurrent consumption in low-power modeis 1.3 µA, where the device is still capa-ble of displaying information on the LCDdisplay or keeping a real-time clockupdated.

This ultra-low-power consumption is nolimitation for the outstanding high pro-cessing capability. The 16-bit RISC CPUcore can perform tasks like calculationof the energy, faster than conventional4- and 8-bit microcontrollers.

This combination sets a new benchmarkof processing capability versus energyconsumption.

The MSP430 offers 1200 MIPS/Watt inactive mode. Finally, the high integrationof the MSP430 allows the user to buildup a system with a minimum of externalcomponents. This leads to very costcompetitive system solutions.

The ‘Green’ Microcontroller

Active Mode550 µA with A/D

400 µA without A/DCPU is active

Various modules are active1-4 MHz on

LP-Mode LPM1 50µA

CPU is inactivePeripherals active

1-4 MHz on

LP-Mode LPM4 0.1 µA

CPU is inactivePeripherals inactive

32 kHz off

wake up from LPM4 only withexternal interrupt

all parameters typical at 3V

LP-Mode LPM3 1.3 µA

CPU is inactivePeripherals active

32 kHz on

The MSP430 offers a variety of possibil-ities to reduce the cost of the completesystem to a minimum.

• The use of the 32-kHz XTAL and theinternal DCO/FLL eliminates the needfor a second XTAL for the system fre-quency. Furthermore, a ceramic res-onator can be used in place of the32-kHz XTAL; or, the system can beoperated without any external com-ponent for the clock generation at all.

• The low-power features of theMSP430 make it possible to choose asmaller battery for the applicationand still increase the system life dueto the various power saving modes.

• High code efficiency leads to smallermemory sizes and drives cost down.

• The high integration of the devicemakes an external LCD driver or anexternal ADC unnecessary. This highlevel of integration saves system

cost and lowers the failure rate ofthe system by reducing the devicecount.

• The ease-of-use MSP430 architec-ture and the development toolssignificantly improve the develop-ment time and speed up the time-to-market.

System Cost Saving with the MSP430 Family

Current consumption in active mode Current consumption in sleep mode

Page 3: MSP430 Ultra-low-power Microcontrollers - Texas … Ultra-low-power Microcontrollers MSP430 Key Features • Ultra-low power consumption - 400-µA active mode - 1.3-µA standby mode

3

The MSP430 RISC Core16-bit RISC CPUThe MSP430 CPU offers youmuch more than standard 4- and8-bit microcontrollers. The 16-bitRISC core is built with a highlyorthogonal structure.

Every instruction can be usedwith each of the seven differentaddressing modes. The reducedinstruction set consists of only27 core instructions. However,the user has, due to the 24 addi-tional emulated instructions thecapability of using highly famil-iar instructions. For example, afamiliar instruction like INC R4is available to the firmware pro-grammer and automatically emu-lated by the assembler with ADD #1,R4. This instruction willbe executed like all other regis-ter to register instructions inonly one cycle.

The orthogonal architectureof the MSP430 CPU core makesthe device extremely easy-to-use.

Sixteen (16) registers areimplemented in the CPU itselfand contain the Programcounter, the stack pointer, theStatus Register and the ConstantGenerator (which contains thehighly used constants -1, 0, 1, 2,4 and 8). This feature makes theMSP430 an extremely code effi-cient device using a lot less ofthe code space than convention-al CISC machines. The remain-ing 12 registers are available forgeneral usage.

0

0

0

0

0

R0, Program Counter PC

R1, Stack Pointer SP

R2, Status Register ST / Constant Generator CG

R3, Constant Generator CG

R4, General Purpose

R15, General Purpose

15 01

15 0

15 089 7

1

15 01

15 01

15 01

reserved for future enhancements V SCG1 SCG2 OscOff

CPUOff GIE N Z C

AddressModes Destination

AddressModes Destination

Instructions Instructions

Address ModesSource

Example: orthogonality to operandinstructions

Example: non-orthogonality to operandinstructions

Address ModesSource

Price

Complexity

AvailableIn Design

With LCDDriver

Without LCDDriverx31x

CPUTimer/Port

x32x CPU

14-bit A/D

x33x CPU

HW MPY +UART

x11x CPU

Timer_A

x11x1CPU

Timer_AComparator_A

MoreTo

Come

The MSP430 Mixed-Signal Processor Roadmap

The hardware multiplicationmodule in the MSP430x33x con-figuration provides multipli-cations in less than one cycle.The two operands are movedinto registers inside the multi-plier module, and in the nextcycle, the result can be read out.

Oscillator / FLL ModuleThe clock network of the MSP430offers the designer flexibility.The Digital Controlled Oscillator(DCO) generates the system frequency of 1 to 4 MHz. The 32-kHz oscillator, which oper-ates with only a single 32-kHzcrystal, can be used to provide astable frequency over tempera-ture and operating voltage. The

integrated Frequency LockedLoop (FLL) regulates the systemfrequency MCLK with the stable32-kHz crystal frequency. It iseven possible to operate theMSP430 without any crystal atall, disable the FLL and just usethe DCO to generate the systemclock.

The product offers a fail-safefeature. If the crystal connectionis broken, the MSP430 continuesoperation with the lowest possi-ble frequency.

The DCO starts operation amaximum of 6 µs after a reset orinterrupt occurs. This provides aworking system in a fraction ofthe time needed with conven-tional microcontrollers.

Page 4: MSP430 Ultra-low-power Microcontrollers - Texas … Ultra-low-power Microcontrollers MSP430 Key Features • Ultra-low power consumption - 400-µA active mode - 1.3-µA standby mode

4

C=ROM, P=OTP, E=UV EPROM (prototyping only)ADC: slope = slope measurements for resistive sensors, 14-bit = hardwired A/D converter with 14-bit resolution. LCD = LCD Driver for 1-4 MUX, WDT = Watchdog Timer, BT = Basic Timer, T/P = Timer/Port Module, 8bT/C = 8-bit Timer/Counter, T_A = 16-bit Timer,MPY = Hardware Multiplier, USART = UART/SPI, P0 – P2 = I/O Ports.^ If not used for LCD, the LCD segment lines can be used as outputs.

DEVICE ROM OTP EPROM RAM ADC LCD^ PERIPHERALS PACKAGEMSP430C111 2KB 128B slope N/A WDT, P1, P2, T_A 20 SOPMSP430C112 4KB 256B slope N/A WDT, P1, P2, T_A 20 SOPMSP430P112 4KB 256B slope N/A WDT, P1, P2, T_A 20 SOPPMS430E112 4KB 256B slope N/A WDT, P1, P2, T_A 20 DILMSP430C311S 2KB 128B slope 64seg WDT, BT, T/P, P0, 8bT/C 48 SSOPMSP430C312 4KB 256B slope 92seg WDT, BT, T/P, P0, 8bT/C 56 SSOPMSP430C313 8KB 256B slope 92seg WDT, BT, T/P, P0, 8bT/C 56 SSOPMSP430C314 12KB 512B slope 92seg WDT, BT, T/P, P0, 8bT/C 56 SSOPMSP430C315 16KB 512B slope 92seg WDT, BT, T/P, P0, 8bT/C 56 SSOPMSP430P313 8KB 256B slope 92seg WDT, BT, T/P, P0, 8bT/C 56 SSOPPMS430E313 8KB 256B slope 92seg WDT, BT, T/P, P0, 8bT/C 68 CLCCMSP430P315 16KB 512B slope 92seg WDT, BT, T/P, P0, 8bT/C 56 SSOPMSP430P315S 16KB 512B slope 64seg WDT, BT, T/P, P0, 8bT/C 48 SSOPPMS430E315 16KB 512B slope 92seg WDT, BT, T/P, P0, 8bT/C 68 CLCCMSP430C323 8KB 256B 14 bit & slope 84seg WDT, BT, T/P, P0, 8bT/C 64 QFP/68 PLCCMSP430C325 16KB 512B 14 bit & slope 84seg WDT, BT, T/P, P0, 8bT/C 64 QFP/68 PLCCMSP430P325 16KB 512B 14 bit & slope 84seg WDT, BT, T/P, P0, 8bT/C 64 QFP/68 PLCCPMS430E325 16KB 512B 14 bit & slope 84seg WDT, BT, T/P, P0, 8bT/C 68 CLCCMSP430C336 24KB 1KB slope 120seg 31x + T_A, MPY, USART, P1, P2, P3, P4 100 QFPMSP430C337 32KB 1KB slope 120seg 31x + T_A, MPY, USART, P1, P2, P3, P4 100 QFPMSP430P337 32KB 1KB slope 120seg 31x + T_A, MPY, USART, P1, P2, P3, P4 100 QFPPMS430E337 32KB 1KB slope 120seg 31x + T_A, MPY, USART, P1, P2, P3, P4 100 CQFP

MSP430 Mixed-Signal Processor Selection Guide

x31x56 SSOP - DL48 SSOP - DL

Timer/Port

x32x64 QFP - PM (0.5 mm)64 QFP - PG (1 mm)

68 PLCC - FNADC 14 bit

x33x100 QFP - PJMH/W Multiplier

16-bit Timer, USART

x11x20 SOP - DW

Timer_A

32 KB

24 KB

16 KB

12 KB

8 KB

4 KB

2 KB C111 C311S

C312

C313

C314

P315 P315S C325

C323

P325

C337 P337

C315

P313

C112

C336

P112

The MSP430 Mixed-Signal Processor Family

The MSP430 family offers you flexibility. Choose from several members out of four configurations:• MSP430x11x devices – Basic version with Timer_A• MSP430x31x devices – A/D conversion with the Timer/Port module• MSP430x32x devices – A/D conversion with 14-bit ADC module• MSP430x33x devices – High-end version with Timer_A, USART and H/W multiplier

Page 5: MSP430 Ultra-low-power Microcontrollers - Texas … Ultra-low-power Microcontrollers MSP430 Key Features • Ultra-low power consumption - 400-µA active mode - 1.3-µA standby mode

5

MSP430x11x Configuration

The newest member in theMSP430 microcontroller familyoffers an unmatched ratio ofultra-low power consumption,16-bit RISC performance, andlow cost. The MSP430x11xfamily features an ultra-lowpower consumption rating of350 µA in active mode, 1.5 µA instandby mode and 0.1 µA in(RAM-retention) off mode. Withvolume pricing as low as $1 forROM versions, the 11x devicesare quickly becoming the bench-mark in this price/performancerange.

The 16-bit RISC core operatesup to 5 MHz, allowing most ofthe 27 core instructions to beexecuted within one 200-ns

cycle. This combination of 27core instructions and the orthog-onal architecture allows everyinstruction to be used in eachaddressing mode, making theMSP430x11x easy to program.It’s also completely code com-patible with TI’s other MSP430families.

Among the peripherals inte-grated into the new device are: a 16-bit timer with three capture/compare, 14 individual I/O signals,a new basic clock system, watch-dog timer and JTAG interface.The new basic clock systemmakes it possible to increase the maximum standby time to128 seconds. The memory sizesare 2 or 4 KB with the ROM

version and 4 KB with the low-power OTP version. The OTPversion (MSP430P112IDW) isavailable now.

2/4 KB ROM128/256B

RAMSRAM

Power On

Reset

JTAG

Busconv.

4 KB OTP'C' ROM'P' OTP'E' EPROM

CPUincl. 16 reg.

Rosc

XIN

TEST/VPP

MAB, 16 bit

MDB, 16 bit

MAB, 4 bit

MCB

MDB, 8 bit

XOUT

ACLK

MCLK

ACLK

SMCLK

SMCLK

VCC VSS RST/NMI P1.0 P1.7

P2.0 P2.5

I/O port 2

6 I/Os, all with interr.capability

WatchdogTimer

15 bit

Timer_A

3 CC RegisterCCR0/1/2x = 0, 1, 2

Test

JTAG

Oscillator

SystemClock

I/O port 1

8 I/Os, all with interr.capability

OutxCCIxACCIxB

Out0CCI0BCCI1B

DCORACLK

OutxCCIxATACLK

SMCLK

TACLK or INCLKINCLK

MSP430x11x Application ExampleThe MSP430x11x series, new members to theMSP430 family, expands the reach of low-costsystem design to a higher level. A 10-year Real-TimeClock is one of many system applications thatminimize the cost to manufacturers while simplifythe design and development cycle drastically.

Working at Low Power Mode 3 (LPM3), theMSP430x11x receives the time input from a 32,768-Hzexternal crystal oscillator. With a connection to anoutside host device through UART or SPI port,MSP430x11x internally generates a timer interruptservice routine to wake-up once per second. Systemintegration engineers will be able to develop anapplication specific system by taking advantage ofthis 1.52-µA average current consumption solution.

TX

Xin

Xout

RX P2.x

P1.x

VSS

VCC

32768

12 Pins for

Expansion

MSP430C111

3V

Host

UART, SPI, IIC

Low-cost 10-year Real-Time Clock (RTC)

Typical applicationsThe MSP430x11x is ideally suited forportable instrumentation equipmentsuch as:• Real-time clock• Communication• Digital motor control• Home automation• Alarm systems• Data loggers

Development toolsDevelopment tools for the MSP430x11xinclude an Evaluation Kit from TI,and in-circuit emulators and C-Compilers are available from third-party development tool vendors.

Page 6: MSP430 Ultra-low-power Microcontrollers - Texas … Ultra-low-power Microcontrollers MSP430 Key Features • Ultra-low power consumption - 400-µA active mode - 1.3-µA standby mode

6

OscillatorFLL

System Clock

CPU

incl. 16 reg.

4/8/12/16kBROM

8/16kBOTP

256/512BRAM

SRAM

8b Timer/Counter

Serial ProtocolSupport

BasicTimer 1

WatchdogTimer

15bit

LCD92 Segments

1, 2, 3, 4 Mux

Timer/Port

Applications:A/D Conv.Timer, O/P

I/O Port

8 I/O's, all withinterruptcapability

3 Int. Vectors

Poweron

Reset

Busconv.

Test

JTAG

MAB16bit

MAB4bit

MDB8bit

MCB

MDB16bit

6

TXD

RXD

ACLK

MCLK

LCD

Com0...3Seg 0..18,22,23,26Seg 27

TP.0..5 Cin R13 R23

P0.0RST/NMI

TDI

TDO

TMS

TCK

VSSVCCXIN XOUT XBuf P0.7

The MSP430x31x configuration isthe most cost optimized versionwith the LCD driver in theMSP430 family. It offers all thefamily features like 16-bit RISC

core and ultra-low power

consumption.It can be used for sensor

applications by measuring theresistor values. The Timer/Port

module can perform this resis-tive to digital conversion bymeasuring the charge/discharge

time of an external capacitor. Ifthis function is not needed, thismodule can be used as a 16-bitTimer.

The Watchdog Timer can beused in 15-bit watchdog mode orin 16-bit general-purpose timermode.

The Basic Timer includestwo 8-bit timers for general use.It generates the basic LCD fre-quency and supports the realtime clock function.

The LCD driver module candrive up to 92 segments in 1 - 4MUX mode in this configuration.

The I/O port can be individu-ally configured and each pin hasinterrupt capability. The 8-bit

Timer/Counter supports serialcommunication protocols likeUART or I2C bus on the I/O port,the software routines are includ-ed in the MSP430 applicationreport.

MSP430x31x Configuration

CIN0V

TPD.0

COM0-3

SEG0-9

LCDTPD.1

P0.y

P0.z

VSS

VCC

32 kHz

3V/5µA

MSP430C312

Reference

Sensor

Keys+

+

The MSP430 requires only a minimum of externalcomponents to build up a complete system.

The low component count in the thermometershown ensures a fast design cycle, maximum flexi-bility via software and a very competitive systemcost.

For resistive sensors (such as thermistors) the16-bit A/D converter integrated in the Timer/PortModule is ideal. Three (3) additional external com-ponents: a crystal (optional), a battery and theLCD display are all that you need for a completesystem with the MSP430.

MSP430x31x Application Example

Thermometer application

Page 7: MSP430 Ultra-low-power Microcontrollers - Texas … Ultra-low-power Microcontrollers MSP430 Key Features • Ultra-low power consumption - 400-µA active mode - 1.3-µA standby mode

7

OscillatorFLL

System Clock

CPU

incl. 16 reg.

8/16kROM16kOTP

"C": ROM"P": OTP

256/512BRAM

SRAM

8b Timer/Counter

Serial ProtocolSupport

BasicTimer 1

ADC14 bit

6 ChannelsCurrent S.

WatchdogTimer

15 bit

LCD84 Segments

1, 2, 3, 4 Mux

Timer/Port

Applications:A/D Conv.Timer, O/P

I/O Port

8 I/O's, all withinterruptcapability

3 Int. Vectors

Poweron

Reset

Busconv.

Test

JTAG

MAB16bit

MAB4bit

MDB8bit

MCB

MDB16bit

66

TXD

RXD

ACLK

MCLK

LCD

Com0...3Seg 0..19Seg 20

R33TP.0..5A0..5 C_in R03R13R23

P0.0RST/NMI

TDI

TDO

TMS

TCK

VSSVCC

RI SVCCI

XIN XOUT XBuf P0.7

MSP430x32x Configuration

One of the many application exam-ples in the MSP430 application reportis the shown single-phase electricitymeter with the MSP430. This costcompetitive single-chip solution usesthe 14-bit ADC to convert the analogsignals of the voltage (via a voltagedivider on A2) and the current (via acurrent transformer on A1) into adigital value. A split power supplyenables signed measurement, whilethe LMx85 creates a referencevoltage on A3. The value of theconsumed energy is calculated by theCPU and directly displayed on theLCD or transmitted via the optionalserial (MBUS) connection. Non-volatile data storage is possible withan optional external EEPROM.

Single phase electricity meter

EEPROM

TSS721

IR-IF

Clk

Data

MBUS

+2.5V

+2.5V

P0.k

P0.z

P0.y

RCD

TXD

P0.x

Out

COM

SEGA1SVCC

A2

OutA0

A3

AGND

-2.5V

-2.5V

Key

Pulse Ws

Backup Battery

VSS VCC

Current TransformerLive

Neutral

0V

LMx85 Uref

Load220V

TLC4016lRange Switch

32 kHz

MSP430C323

The second configuration in theMSP430 family, the MSP430x32x,offers a high resolution A/D con-verter in addition to the periph-erals of the MSP430x31x.

This 14-bit A/D converter

has six inputs to convert analogsignals into a 14-bit digital valueover the full supply voltagerange; or a 12-bit resolution in

each of four separate ranges.The integrated current sourcecan be programmed with anexternal resistor to connectcurrent driven sensors.

MSP430x32x ApplicationExample

Page 8: MSP430 Ultra-low-power Microcontrollers - Texas … Ultra-low-power Microcontrollers MSP430 Key Features • Ultra-low power consumption - 400-µA active mode - 1.3-µA standby mode

8

OscillatorFLL

System Clock

CPU

incl. 16 reg.

24/32kBROM

32kBOTP

1024BRAM

SRAM

Power-On-

Reset

USART

UART or SPIFunction

I/O Port1x8 I/O's

I/O Port8 I/O's, all with

interruptcapability

1 Int. Vector

BasicTimer 1

HardwareMultiplier

WatchdogTimer

15bit

8bitTimer/

Counter

LCD120 Segments

1, 2, 3, 4 Mux

Timer/Port

Applications:ADC.

Timer, O/P

I/O Port8 I/O's, all with

interruptcapability

3 Int. Vectors

I/O Port2x8 I/O's

Busconv.

Test

JTAG

MAB4bit

MDB8bit

MCBMDB 16bit

MAB 16bit MAB 4bit

MCB

6

8

ACLK

MCLK

LCD

Com0...3Seg 0...28Seg 29

R03TP.0..5

UTXURXUCK

C_in R13 R33R23

P0.0RST/NMI

TDI

TDO

TMS

TCK

VSSVCCXIN XOUT XBuf P0.7P3.0 P3.7P2.xP4.x P1.x

UART Timer A 8bT/C

Timer_A

5 Capture/Compare

MDB 8bit

TXD RXDTACLK TA0..5

8 8

0FFFFh

CCR0

CCR1

CCR2

0h

EQU0EQU2 EQU2 EQU2

EQU1 EQU0 EQU1 EQU0

Output CCR1

Output CCR2

Interrupts generated

MSP430x33x Configuration

The Timer_A of the MSP430x33x configuration isideally suited for the generation of PWM-signals inseveral modes.

Continuous Mode: the Timer Register runs con-tinuously upwards and continues at zero after thevalue 0FFFFh. This mode allows up to five inde-pendent timing.

Up Mode: the Timer Register counts up to thecontent of Compare Register 0 (here the PeriodRegister) and restarts at zero when it has reachedthis value. If the Timer Register equals one of thefour Compare Latches the hardware task pro-grammed to the Output Unit is performed.

Up-Down Mode: the Timer Register counts up tothe content of Capture/Compare Register 0 (herethe Period Register) and counts down to zerowhen it has reached this value. PWM with the Timer_A (motor control application)

The new MSP430x33x configura-tion is focused on the high-endarea of applications. For this rea-son, this device generation wasequipped with some additionalfeatures.

The H/W multiplier moduleperforms 16x16, 16x8, 8x16 and8x8 multiplications with signed,unsigned and unsigned accumu-lation. After loading bothoperands into the multiplier, theresult is available in a separateregister; no extra cycle is neededfor the multiplication.

The Timer_A module includesa 16-bit timer/counter and five

capture / compare registers,which can be configured by theapplication to capture or com-pare mode. The capture mode isprimarily used to measure exter-nal or internal events from anycombination of positive, negativeor both edges; but, can also bestopped by software. The com-pare mode is primarily used togenerate timing for the softwareor application hardware or togenerate pulse-width modulatedoutput signals for various pur-poses like D/A conversion func-tions, PWM, or motor control.

The USART module has twofunctions for serial communica-tion included, a standard asyn-chronous communicationprotocol (UART up to 115.2kBaud) and a serial peripheralinterface function (SPI). One bitin a control register defines themode (which can be switchedback and forth in theapplication).

The number of I/O pins isincreased in this configuration to40. The LCD offers 30 segmentlines to drive up to 120 segmentsin 4MUX mode.

MSP430x33x Application Example

Page 9: MSP430 Ultra-low-power Microcontrollers - Texas … Ultra-low-power Microcontrollers MSP430 Key Features • Ultra-low power consumption - 400-µA active mode - 1.3-µA standby mode

9

For more information or acomplete list of all starter kitsavailable today, please visithttp://www.ti.com/sc/msp430

The MSP430 Starter Kit PackageContains:• MSP430 board with OTP, LCD

display, PC connector andlight sensor

• Cable to connect the STK toyour PC

• MS-Windows based basicsimulation environment andassembler software*

• Terminal software to commu-nicate with the on-chip monitor

• Starter Kit/Evaluation kitmanual

• MSP430 application report

• Architecture users guide andmodule library

• Software users guide

MSP-STK430x320—a Low-costPlug-and-Play ToolThe Starter Kit (STK) enablesyou to explore the MSP430 fea-tures in a very easy and costefficient way.

Simply connect the Starter Kitboard to your PC with the cablesupplied, install the MS-Windows® based software andstart the pre-programmed demowith a mouse click on one of theinstalled icons. Due to theextremely low power consump-tion, no external power supply isneeded for this Starter Kit.

But the STK is not only ademo board. You can developyour own program, test it withthe basic Simulation Environ-ment and download it in the512B on-chip RAM of the OTPversion to test on board-level.Additionally, it is possible to pro-gram the 16KB on-chip OTPmemory with your code.

MSP-EVK430x110, MSP-EVK430x320and MSP-EVK430x330These three evaluation kits arepowerful development tools andinclude much of the hardwareand software required to com-plete your application develop-ment. Each EVK (11x, 32x and33x) comes with its own evalua-tion board.

The MSP-EVK430x110 evalua-tion kit supports the MSP430x11xfamily of devices and comes withthe PMS430E112JL (UV EPROM).The MSP-EVK430x320 evaluationkit supports the MSP430x32xfamily of devices and comes withthe PMS430E325FZ (UV EPROM)assembled in a socket. The MSP-EVK430x330 evaluation kit sup-ports the MSP430x33x family ofdevices and comes with thePMS430E337HFD (UV EPROM).

The MSP430 Evaluation KitsContents• MSP430 EVK board with UV

erasable EPROM, LCD, PCconnector

• Cable to connect the EVK toyour PC

• MSP-PRG430 programmingadapter*

• Programming adapter software

• MSP-SIM430 simulationenvironment and assemblerlanguage software*

• Terminal software (to communi-cate with the on-chip monitor)

• Starter-kit/Evaluation kit manual

• Architecture users guide andmodule library

The MSP-EVK430B330 evaluation kit board

The MSP430 Starter Kit

MSP430 Evaluation Kits

• Assembly language tools usersguide

• MSP430 data sheets

• Simulation environment andLCD editor manual

• MSP430 Brochure

• Software users guide

• Assembly language tools usersguide

• MSP430 Application Report

• MSP430 Data sheets(MSP430x11x, MSP430x31x,MSP430x32x, andMSP430x33x)

• Simulation environment andLCD-editor manual

• MSP430 Brochure

*See the following page for additional information.

Page 10: MSP430 Ultra-low-power Microcontrollers - Texas … Ultra-low-power Microcontrollers MSP430 Key Features • Ultra-low power consumption - 400-µA active mode - 1.3-µA standby mode

10

Texas Instruments runs adedicated MSP430 third-partyprogram for hardware andsoftware tooling as well as forprogramming support.

These third-party developershave the engineering expertiseto provide application-specificsoftware tools to help customersachieve design goals. A hyper-link in the Texas InstrumentsMSP430 web site will direct youto each company home page.Visit:

www.ti.com/sc/docs/msp/

msp430/430tool.htm

MSP430 Third-Party Support

Dr. Krohn & StillerEmulators for Every BudgetDr. Krohn & Stiller supports theMSP430 family by a set of threedifferent emulators—one forevery budget. All three In-CircuitEmulators (Economy, Standardand Universal) are fullyequipped with at least 128K emu-lation RAM, 32K trace memoryand complex trigger capabilities.

Simulation Environment

MSP-SIM430

The MS-Windows basedSimulation Environment allowsyou to get familiar with theMSP430 quickly and easily. Thesource window allows editingand debugging of your code,along with some breakpointlogic. Several locations in thememory area, e.g. the systemstack can be displayedindependently.

The Simulation Environmentpackage contains also theMSP430 assembler, which canbe used directly from theSimulation Environment.

A custom specific LC displaycan be simulated with the LCDDesigner, which comes in theS/W package.

MSP-PRG430 Programming

Adapter

To help you program your OTPversions of the MSP430, TexasInstruments offers a Program-ming Adapter, which can beused for all family members.

It comes together with theprogramming software includingdocumentation, and allows thein-circuit programming of the

devices. The chip is assembledon the final PCB board and caneasily be programmed after-wards by connecting theProgramming Adapter to theMSP430 JTAG pins; no addition-al power supply on the board isneeded.

MSP-FPP430 Floating

Point Package

The Floating Point Package forthe MSP430 family is supportingthe basic arithmetic operations

add, subtract, multiply, divideand compare with a 24-bit or 40-bit mantissa. A conversionfrom/to binary and BCD formatis also supported. Support s/wlike square roots and trigono-metric functions is included aswell. The package makes use ofthe internal registers of theMSP430 RISC CPU; the hard-ware multiplier can be used inaddition.

MSP430 Design Support Features

BP Microsystems Inc. designsand manufactures device pro-grammers for both engineeringand production applications.Leading the industry in devicesupport, performance, and costof ownership, BP provides com-plete device programming solu-tions to customers worldwide.The company offers a full line ofsingle-site device programmersand Universal Programmers, andmulti-site Concurrent Program-ming Systems.

The MSP430 can be program-med using any of our universalengineering programmers (BP-1200 and BP-1400), our manual,

multi-site Concurrent Program-ming Systems.

For more information, pleasevisit the BP web site:

www.bpmicro.com

Page 11: MSP430 Ultra-low-power Microcontrollers - Texas … Ultra-low-power Microcontrollers MSP430 Key Features • Ultra-low power consumption - 400-µA active mode - 1.3-µA standby mode

11

SMSUniversal ProgrammingSystem SprintSMS has invested heavily intothe steadily growing market ofmicrocontroller devices by con-siderably expanding its devicelibrary. The universal program-ming systems of the Sprint fami-ly do not only stand out frommost other programming sys-tems by the variety of supporteddevices but also by guaranteeingits customers the use of vendorapproved algorithms with maxi-mal programming yields andminimal programming times.

SMS supports the TI deviceswith the universal programmersSprint Multisystem as well aswith the automatic programmingsystems PP100/22. With the lat-est version of the Sprint soft-ware the following devices aresupported: MSP430x313,MSP430x325, MSP430x337 andMSP430x11x. All controllers aresupported with flexible TOPs oradapters for different packageslike PLCC, SSOP or QFP. Specialsoftware functions of the devices,such as UserID, Watchdog Timeror Code Protection can be acti-vated via a simple menu.

For more information, pleasevisit the SMS web site:

www.sms-sprint.com

Göpel electronicOn-chip Emulation Softwarefor the MSP430This solution is based on a com-plete software and hardware kitthat turns any PC into a power-ful device emulator. A standard-ized IEEE1149.1 / JTAG 4-wiretest bus is plugged onto theparallel port via scan controller,while a powerful 32-bit softwareenables access to the differentresources for programming,verification and debug. Highefficiency is achieved throughinteractive control and directdownload of the operation soft-ware into the on-chip EPROM.With the CPU emulator, debug-ging of TI assembler code ispossible.

A low-cost and true high-levelemulator is the result of featuressuch as break-point setting, stepfunction, re-assembler andextended register watching thatmakes the source code traceableand easy-to-debug. For recordinguser actions a script language isused. This ASCII language con-tains commands for memory andregister handling, for program-ming the EPROMS and blowingfuses.

For more information pleasevisit the Göpel web site:

www.goepel.com

IARC-Cross-Compiler andC/ASM-DebuggerThe EW430 integrates C compil-er, linker, librarian and assem-bler in a seamless environmentwith easy-to-use project andoption handling. The CW430 is aHLL debugger incorporating acomplete C expression analyzerand full C-type knowledge. Itcombines a detailed control ofcode execution, needed forembedded development debug-ging, with the flexibility andpower of the C language. Thesource window can display Csource code and mix it withassembler.

CW430 simulator allows anunlimited number of breakpointson C statements, assembler

HitexEmulator in an Affordable Quality ConceptThe MX430 emulator is Hitex’sdebug tool offered for theMSP430x310 and MSP430x320configuration. It provides hard-ware breakpoints in RAM/ROM,simulation memory for internalRAM/ROM with zero wait-states,easy change to other derivates,fast debugging due to transmis-sion rates up to 115200 Baudand more.

The MX430P emulates allderivates of the MSP430x3xxfamily. The MX430L emulatesthe MSP430x11x configuration.The new AX430 high-end emula-tor provides comprehensivedebugging and test tools for thewhole MSP430x3xx family.

The HiTOP debugger pro-vides comfortable usage guaran-teeing high stability. It offerscomplete symbolic HLL debug-ging and rapid access to all emu-lator resources. All commands,such as Line and SingleStepping, GoTo Cursor, GoToLabel and many others can beexecuted by using the mouse,keyboard or the extensive com-mand language HiSCRIPT.

For more information, pleasevisit the Hitex web site:

www.hitex.de

A windows debugger interface isavailable for Windows 3.1,Windows 95 and Windows NT. Ccode generated by the IAR com-piler is directly loaded into emu-lation memory—no pre-processoris needed. To step through theprogram the user may choosebetween C, mixed or assemblerdisplay in the HLL debugger. Theemulator can even be used as aserver for the IAR C-Spy debug-ger interface. Drag and Drop,coloring of changes in memoryor registers, automaticallyupdated local windows, andcode coverage, are only a fewfeatures of these highly sophisti-cated emulators.

For more information, pleasevisit the web site of Dr. Krohn &Stiller:

www.iceworld.de

instructions and on any addresswith an access type of read,write and opcode fetch. Interruptsimulation implements com-mands to launch specific inter-rupts at a specific cycle-count orperiodically. For interrupt simu-lation with intermittent inter-rupts, the same algorithm as thehardware, for choosing the high-est priority interrupt to be exe-cuted, will be selected. The sameinterface is available to work onthe EVK-Board (CW430R) andon the emulator from Dr. Krohn& Stiller (CW430K), so there is acommon interface available forall these tools.

For more information, pleasevisit the IAR web site:

www.iar.se

Page 12: MSP430 Ultra-low-power Microcontrollers - Texas … Ultra-low-power Microcontrollers MSP430 Key Features • Ultra-low power consumption - 400-µA active mode - 1.3-µA standby mode

TI Worldwide Technical SupportInternetTI Semiconductor Home Pagehttp://www.ti.com/scTI Distributorshttp://www.ti.com/sc/docs/distmenu.htm

Product Information CentersAmericasPhone +1(972) 644-5580Fax +1(972) 480-7800Email [email protected]

Europe, Middle East, and AfricaPhone

Deutsch +49-(0) 8161 80 3311English +44-(0) 1604 66 3399Español +34-(0) 90 23 54 0 28Francais +33-(0) 1-30 70 11 64Italiano +33-(0) 1-30 70 11 67

Fax +44-(0) 1604 66 33 34Email [email protected]

JapanPhone

International +81-3-3457-0972Domestic 0120-81-0026

FaxInternational +81-3-3457-1259Domestic 0120-81-0036

Email [email protected]

AsiaPhone

International +886-2-23786800Domestic Local Access Code TI Number

Australia 1-800-881-011 -800-800-1450China 10810 -800-800-1450Hong Kong 800-96-1111 -800-800-1450India 000-117 -800-800-1450Indonesia 001-801-10 -800-800-1450Korea 080-551-2804 -Malaysia 1-800-800-011 -800-800-1450New Zealand 000-911 -800-800-1450Philippines 105-11 -800-800-1450Singapore 800-0111-111 -800-800-1450Taiwan 080-006800 -Thailand 0019-991-1111 -800-800-1450

Fax 886-2-2378-6808Email [email protected]

Windows is a registered trademark of Microsoft Corporation.

© 1999 Texas Instruments Incorporated Printed in the U.S.A. at ColorDynamics, Allen, TX SLAB034A

B010899

Important Notice: The products and services of Texas Instruments and its subsidiaries described herein are sold subject to TI’s standard termsand conditions of sale. Customers are advised to obtain the most currentand complete information about TI products and services before placingorders. TI assumes no liability for applications assistance, customer’sapplications or product designs, software performance, or infringement ofpatents. The publication of information regarding any other company’sproducts or services does not constitute TI’s approval, warranty orendorsement thereof.

Texas Instruments providesextensive documentation sup-port for the MSP430 in the formof users guides, applicationsbook, data sheets and brochures.

• Architecture and modulelibrary users guide(SLAUE10B)

• Software users guide(SLAUE11)

• Assembly language tools usersguide (SLAUE12)

• MSP430 application report(SLAAE10C)

• MSP430x11x data sheet(SLAS196)

• MSP430x31x data sheet(SLAS165B)

• MSP430x32x data sheet(SLAS164 to be replaced bySLAS219 for new lower-powerversions)

• MSP430x33x data sheet(SLAS163)

The MSP430 applicationreport (SLAAE10C), for exampleincludes many hardware andsoftware examples using theMSP430 for low power, metering,and high precision applications.This report contains examples ofdeveloping code and circuitry formost of the hardware found onthe MSP430. It will assist you in

developing code for ADC, UART,I2C bus, battery check, digitalmotor control, as well as arith-metic routines, table processing,and much more.

For More InformationFor more information about

TI’s ultra-low-power signalprocessors, contact us at:

www.ti.com/sc/msp430

For a more personal look atthe MSP430, or for pricing andavailability, contact your local TIsales field office or authorizeddistributor.

Documentation