MEB/0404 © 2004 Texas Instruments Inc, Slide 1ewh.ieee.org/r6/scv/ims/archives/Aug2006Wu.pdfthan...

32
MEB/0404 © 2004 Texas Instruments Inc, Slide 1 Intro

Transcript of MEB/0404 © 2004 Texas Instruments Inc, Slide 1ewh.ieee.org/r6/scv/ims/archives/Aug2006Wu.pdfthan...

MEB/0404 © 2004 Texas Instruments Inc, Slide 1

Intro

MEB/0404 © 2004 Texas Instruments Inc, Slide 2

MSP430 AgendaCore Architecture

Integrated Peripherals

Device Roadmap

Ideal Applications

Development Tools

MEB/0404 © 2004 Texas Instruments Inc, Slide 3

MSP430Ultra-low

Power8-bit

Performance

MeasurementUtility MeteringPortable Instrumentation

Industry StandardAutomotiveGeneral Purpose

High-PerformanceMotor Control Digital Power Supply

16/32-bit

DSP

TMS470ARM7TDMI

C2000150 DSP

MIPS

TI Microcontroller Portfolio

MEB/0404 © 2004 Texas Instruments Inc, Slide 4

MSP430 Features & Applications

FLASHClock

DigitalPeripheral

RISCCPU16-bit

MAB 16

MDB 16

RAM

AnalogPeripheral

. . .

. . .ACLK

SMCLK

JTA

G/D

ebug

MEB/0404 © 2004 Texas Instruments Inc, Slide 5

• No accumulator bottleneck

• Single-cycle operations• Silicon area 30% smaller

than ‘8051 lowers cost• Industries most efficient

C-code density

Write Less Code, Use Write Less Code, Use Fewer CyclesFewer Cycles

Modern 16-bit RISC CPU015

16

16-bit ALU

R8R9R10R11R12R13R14R15

R4R5R6R7

R3/CGR2/SRR1/SPR0/PC

16

015

16

16-bit ALU

R8R9R10R11R12R13R14R15

R4R5R6R7

R3/CGR2/SRR1/SPR0/PC

16

MEB/0404 © 2004 Texas Instruments Inc, Slide 6

Memory

Write Less Code

Other MCUmovf ADCRESH,Wmovwf RAMHbsf STATUS 0x20movf ADCRESL,Wbcf STATUS 0x20movwf RAML

84 bits / 24 cycles

10-bits10-bitADC

MSP430mov ADC10MEM,RAM

48 bits / 6 cycles

MEB/0404 © 2004 Texas Instruments Inc, Slide 7

Ultra-low Power Activity Profile

• Operate in Standby as long as possible• Fast Wake-Up from Interrupt-driven activity

<1us<1us

MEB/0404 © 2004 Texas Instruments Inc, Slide 8

Multiple Oscillator Clock System

Always-on

On demand

• In < 1us< 1us the DCO is active and stable !

MEB/0404 © 2004 Texas Instruments Inc, Slide 9

DCO Allows Fast Reaction to Events

Interrupt

Oscillator

2-SpeedStartup

<1us<1us

MEB/0404 © 2004 Texas Instruments Inc, Slide 10

Multiple Internal Crystal Oscillators

• LF – approximately 32kHz• HF - 400k-16MHz• Clock or Resonator Input• Integrated & software-

selectable load capacitors• Automatic LF/HF OSC

Fault Detection

XIN

XOUT

OSCOFF XTS

XCAP

LFXT1 Oscillator

LF XT

0 VLFOff

XT1Off

0 V

LFXT1S

MEB/0404 © 2004 Texas Instruments Inc, Slide 11

Brown Out Reset Protection

•MSP430 BOR is always-on and zerozero--powerpower

Battery Insertion

VCC/BOR

VSS

MCU

Brown-outBrown-out

MEB/0404 © 2004 Texas Instruments Inc, Slide 12

High Performance 12-bit ADC• 12-bit monotonic• 200KSPS+• Single

sequence repeat-single repeat-sequenceCPU-free data-handling

16 x 8InputRef

Control

S/H 12-bit SAR+

16 x 12MemoryBuffer

-

CONSEQx

1.5 or 2.5V

Channel Ref

TSoftwareTimer_ATimer_B

MEB/0404 © 2004 Texas Instruments Inc, Slide 13

High-Precision 16-bit ADC

16-bit ΣΔ ADCDifferential inputs4.096KSPS85dB SINAD32x PGA18ppm 1.2V refTemp sensorBattery input

VREF

8x SD16MEM0

1.2V

Batt

PGA 16-bit

Temp

MEB/0404 © 2004 Texas Instruments Inc, Slide 14

Precision Operational Amplifiers• Rail-to-rail

input/output• 0.5nA bias• 10mV offset• 10uV/C• 70dB CMRR• 70dB PSRR • 2.5MHz UGB

Three very flexible amplifier blocks

OA1

OA2

OA0R BOTTOM

OA0+-

OA1R BOTTOM

OA0TAP

OA0I0OA0I1

OA2TAP

OA0I0OA0I1OA2OUT

A1 int./ext.

A12 int.

OA0I0OA0I1

DAC12_0DAC12_1

DAC12_0DAC12_1

Vss

Vss

Vcc

OA1

OA2

OA0R BOTTOM

OA0+-

OA1R BOTTOM

OA0TAP

OA0I0OA0I1

OA2TAP

OA0I0OA0I1OA2OUT

A1 int./ext.

A12 int.

OA0I0OA0I1

DAC12_0DAC12_1

DAC12_0DAC12_1

Vss

Vss

Vcc

MEB/0404 © 2004 Texas Instruments Inc, Slide 15

DAC + DMA Completes SCoC

• Two 12-bit DACs• Three DMA Channels DAC12_0Timer_B

Timer_A

Group Load

Software

DAC12_1

DMA0

2 MCLK

DAC12

External

DMAREQ

DMA2

Timer_ATimer_B

ADC12

USART0USART1

MPY DMA1

DMA2

CompleteAddressSpace

MEB/0404 © 2004 Texas Instruments Inc, Slide 16

Integrated Pull-Up/Down Resistors

MEB/0404 © 2004 Texas Instruments Inc, Slide 17

FE43x F15x/16x

1xx Catalog8MIPS

20PIN

5xx

x5xx

25MIPS (2006)

DACDMA

(2005)

$0.49

16MIPS

38PIN

2xx

F201x

F22x

F21x1F21x1

F1xx2

x13x/14x

4xx w/LCD

FE41x

x41x

F43x/44x

F42x0

FG46x

FG43x

128KB

8MIPS

Sigma Delta F42x

FE42x

FW42x

OPAMP

USB

F1xx1

F48x

F26xx

Low Pin Count

Per

form

ance

Integration

x23x/24x

Zigbee

MSP430 Portfolio

MEB/0404 © 2004 Texas Instruments Inc, Slide 18

Low-End MSP430 Devices

MEB/0404 © 2004 Texas Instruments Inc, Slide 19

Mid-Range MSP430 Devices

MAB

MDB

Port 28 I/O IRQ

Pull-up/Down Resistors

JTA

G D

ebug

Port 18 I/O IRQ

Pull-up/Down Resistors

Timer_A316-Bit

3 CC Reg

ADC1010-Bit

200kspsAutoscan

DTC

WatchdogTimer+/16-Bit

Interval Timer

FLASH8kB 223416kB 225432kB 2274

RAM512B 2234512B 22541kB 2274

16MHz16-BitRISCCPU

BasicClock+

VLODCO

BrownoutReset(BOR)

OA0, OA12 Op Amps

Port 38 I/O’sPull-

up/Down Resistors

USCIA/BUART/LIN, IrDA, SPI

SPI, I2C

Timer_B316-Bit

3 CC RegJTAG/

Spy Bi-Wire

Port 48 I/O’sPull-

up/DownResistors

MEB/0404 © 2004 Texas Instruments Inc, Slide 20

High-End MSP430 Devices

MEB/0404 © 2004 Texas Instruments Inc, Slide 21

Ordinary Motion Detector

20µA – 2mA ComplicatedFixed function

PIR -+

-+-

+

5VMCU

Px.x

MEB/0404 © 2004 Texas Instruments Inc, Slide 22

MSP430F20x3 Improved Motion Detector

<10µA total system power~6µA PIR~3µA measurement~0.5µA LPM3 using VLO

No crystal needed – VLOEnhanced watchdog Fully programmable SoCVery low cost

MEB/0404 © 2004 Texas Instruments Inc, Slide 23

MSP430F22x4 For Sensor Applications

32KB Flash / 1KB RAM16 MIPS, <1µA LPM3 10-bit 200ksps ADC2 Op AmpsUSCITimer_A3 / B3, WDT+32 GPIO38-pin F1xx2 upgrade ideal for sensor apps

1TEST2DVCC3P2. 5/ Rosc4

XOUT/P2.7 5XIN/P2.6 6RST/NMI 7

P2.0 8P2.1 9P2.2 10P3.0 11P3.1 12P3.2 13P3.3 14

P4.0

15

P4.1

16

P4.2

17

P4.318 P4.419

38 P1.737 P1.636 P1.535 P1.434 P1.333 P1.232 P1.131 P1.030 P2.429 P2.328 P3.727 P3.626 P3.525 P3.42423AVCC22

AVSS

21

P4.7

20

P4.6

DVSS

P4.5

MEB/0404 © 2004 Texas Instruments Inc, Slide 24

MSP430F2274 Fire Detector

Ultra-low PowerFully programmable SoC

No crystal needed - VLOEnhanced watchdog Very low cost

ADC10+-

Ref

MSP430F2274

SPI/UART/IrDA

SPI/I2C

Temperature

Smoke

Status

3VAlarm

MEB/0404 © 2004 Texas Instruments Inc, Slide 25

MSP430FG43x Portable Medical Device

• Permanent battery

• All features integrated

‘FG439OA-

+ADC12

DAC12OA

1 2 3 4 5 6 7 8 mg/dLAM/PM1 2 3 4 5 6 7 8 mg/dLAM/PM

Sens

or

I_sensor

<2uA

SVS ISP Flash RTC

COM

DMA

MEB/0404 © 2004 Texas Instruments Inc, Slide 26

MSP430 Development Kit

IAR Systems EW430 IDE

JTAG Interface Target Board

Same set of toolsfor all MSP430’s

MEB/0404 © 2004 Texas Instruments Inc, Slide 27

Embedded Emulation Module (EEM)

MCU emulates itself real-time in application

Implemented in silicon, not by debug monitorNo application resources usedFull speedBreakpoint Single step Trace

Code Security

MEB/0404 © 2004 Texas Instruments Inc, Slide 28

In System Programming OptionsSelf Programming

Bootstrap Loader9600/38400 BPSUART format256 bit password protected

JTAGIEEE 1149 interfaceProgramming and emulationPermanent security fuse60KB <3s

Any Flash locationUse any interfaceHardware controlledAs fast 22us/byte

MEB/0404 © 2004 Texas Instruments Inc, Slide 29

MSP430 Security

BenefitsPermanently shut down access to internal memory by blowing security fuseTrying 2256 random passwords would take billions of yearsCan automatically erase all internal memory if incorrect password is attempted 3 times in a row

FeaturesLockable Flash Info SegmentsPermanent Security Fuse Option256-bit Password ProtectionHacker Detection & Prevention

MEB/0404 © 2004 Texas Instruments Inc, Slide 30

Sales & Support

• User’s GuidesArchitecture and peripheral info

• Datasheets Electrical, packaging and pinning

• Application reportsComplete design examples

• Code examplesDownloadable code

www.ti.com/msp430

New!

400+

www.ti.com/msp430

MEB/0404 © 2004 Texas Instruments Inc, Slide 31

Modern CPUMinimum cycles per task

Ultra-low Power MCU ChecklistMultiple operating modes

Instant-on stable high-speed clock

Zero-power BOR

Intelligent peripherals

50nA pin leakage

0.1uA power down0.8uA standby mode250uA / 1MIPS @ 3V

MEB/0404 © 2004 Texas Instruments Inc, Slide 32

Use Less PowerUse Less PowerWrite Less CodeWrite Less Code

Get to Market FasterGet to Market FasterThe Perfect Fit The Perfect Fit

Time to Use the MSP430!