32
MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

MSP430 Senior DesignMSP430 Ultra-Low-Power MCUs

William GohUniversity of Florida

Page 2: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 2

• MSP430 Overview• Tools• Getting Started with IAR Workbench• eZ430-RF2500• Resources

Agenda

Page 3: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 3

Ultra-low Power + High-Performance

• Modern 16-bit RISC CPU• 1K to 128KB+ ISP Flash• 14- to 100-pin options• Intelligent peripherals

boost performance• Embedded emulation

• 0.1µA power down• 0.8µA standby mode• 250µA / 1MIPS• <1µs clock start-up• Zero-power BOR• <50nA pin leakage

Page 4: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 4

MSP430 vs. CompetitorsMSP430• Ultra-low power MCU• Less code space

needed• Real-time debugger• Embedded emulation• Highly integrated

Competitors• Low-power but

stripped down• Less integrated

Page 5: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 5

F/C41xFx42x0

Fx42xF44x

Perf

orm

ance

Integration

FutureDevelopmentSamplingProduction

Device5xx-Next Gen• 25 MIPS• 32-256 KB • USB-RF

F21x1

2xx-Catalog• 16 MIPS• 1-120KB• 500nA Stand By

F13x-F14x

1xx-Catalog• 8 MIPS• 1-60KB

Fx43x

F20xx

F12xxF/C11xx

MSP430 Roadmap

F543x

F = FlashC = Custom ROM

4xx-LCD • 8/16 MIPS• 4-120KB• LCD Driver

F15x-F16x

F5xx RF

F21x2

F471x7

F23x-F24x

F5xx

F22xx

F261xF241x

CG461x

FG461x

F23x0

F563xUSB

F47x4

Page 6: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 6

• MSP430F16x

• Complete Signal Chain on Chip• Coming Soon: MSP430F26x

2xx Upgrade to F16x

Most Common MSP430 in Schools…

Page 7: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 7

Ultra-low Power Activity Profile

• Extended Ultra-low Power standby mode• Minimum active duty cycle• Interrupt driven performance on-demand

Page 8: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 8

Why Ultra-low Power Is Important• Longer battery life• Smaller products • Simpler power supplies• Less EMI simplifies PCB• Permanent battery• Reduced liability

Page 9: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 9

Agenda• MSP430 Learning Platform• Tools• Getting Started with IAR Workbench• eZ430-RF2500• Resources

Page 10: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 10

IAR Embedded Workbench V3.41A• Kickstart Version – Free

4KB Limit on C code sizeUnlimited assembler code sizeAvailable from MSP430 web pageSupported by TI PIC

• Baseline Version ~$795 12KB Limit on C code sizeUnlimited assembler code sizeAvailable and supported by IAR

• Full Version ~$2695Unlimited code sizeAvailable and supported by IAR

• All versions support all available MSP430 devices

Page 11: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 11

Code Composer Essentials v2.0• Professional Version –

$250 University Price• Kickstart Version – FREE

8kB limit on C codeAvailable onlineSupported by TI PIC

• Supports all MSP430 devices including eZ430-F2013

• Based on the Eclipse open-source platform

• Free upgrade to V2.0 for existing V1.0 users

• Available Today!

Page 12: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 12

Embedded Emulation• Real-time in-system debug

No application resources usedFull speed execution H/W breakpoints Single steppingComplex triggeringTrace capability

• Easy to use tools• Spy Bi-Wire

2-wire debug interfaceNo pin function impact

JTAG

Page 13: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 13

USB Flash Emulation Tool (FET)• MSP430 FET: real-time debug and programming tool • Supports ALL MSP430 devices

4-wire JTAG2-wire Spy Bi-Wire

• Available with socketed target boardExample: MSP-FET430U14 = FET Interface + 14-pin target board

• Supported by all MSP430 IDEs• University Pricing: $75 with board

$49 interface alone

Page 14: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 14

eZ430-F2013 Development Tool• Complete development tool that fits in your pocket• Supports MSP430F20xx devices only

MSP430F20xx devices available in DIP

• Unrestricted programming and debugging• Fast, easy to use operation• Includes IAR Kickstart IDE• Supported by CCE V2• $20

Page 15: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 15

Agenda MSP430 Day 2007• MSP430 Learning Platform• Tools• Getting Started with IAR Workbench• eZ430-RF2500• Resources

Page 16: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 16

IAR Workbench• Startup screen

Click Create new project in current workspace

• Create new project

Page 17: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 17

IAR Workbench• Save Project• Add files to your project

Page 18: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 18

IAR Workbench• Right Click on Project Options

Page 19: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 19

IAR Workbench• Set the appropriate settings

Page 20: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 20

IAR Workbench• Right click on project Rebuilt All

This will compile your project

Page 21: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 21

IAR Workbench• Project Debug

This will automatically save your project and compile and download code through JTAG.

Page 22: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 22

IAR Workbench: Debug Mode• Click on Run

Page 23: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 23

Agenda MSP430 Day 2007• MSP430 Learning Platform• Tools• Getting Started with IAR Workbench• eZ430-RF2500• Resources

Page 24: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 24

eZ430-RF2500. Wireless Made Easy.

• Star network stack included• Includes 2 RF targets &

battery expansion board

• $49• Coming October ‘07

Page 25: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 25

eZ430-RF2500 Battery Board

Page 26: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 26

• MSP430 Learning Platform• Tools• Getting Started with IAR Workbench• eZ430-RF2500• Resources

Agenda

Page 27: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 27

www.ti.com/msp430

Page 28: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 28

Important Documents• Datasheets

Technical Documents for every device

• User GuideHow to use MSP430 guideDivided into families

– 1xx– 2xx– 4xx

• Code ExampleCode examples by family products.

• Application NotesSample applications on interfacing an MSP430Use it!

Page 29: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 29

Tools Link• www.ti.com/msp430• www.ti.com/ez430• www.sparkfun.com

Page 30: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 30

Obtaining Samples?• www.ti.com/msp430• Type “msp430fxxxx” in “Part Number”

Page 31: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 31

designmsp430.com• Website for 2006 MSP430

Design Contest• ~100 complete designs

available online to reviewand download

• Repository for student projects or research topics

• Project Submission will reopen shortly for MSP430 community development

• Eligible for ’07 Design Contest• Several student design projects submitted

Page 32: MSP430 Senior Design - University of Florida › 4924 › docs › MSP-430 › MSP-430_lecture.pdf · MSP430 Senior Design MSP430 Ultra-Low-Power MCUs William Goh University of Florida

© 2006 Texas Instruments Inc, Slide 32

Summary

I hear, I forget;I see, I remember;I do, I understand.

Confucius

• MSP430 – easy to use tools and intuitive architecture turns academic theory into real world practice