MSP430 Ultra-Low-Power MCUs
William Goh
University of Florida
Agenda
• MSP430 Overview
• Tools
• Getting Started with IAR Workbench
• eZ430-RF2500
• Resources
© 2006 Texas Instruments Inc, Slide 2
Ultra-low Power + High-Performance
• 0.1µA power down
• 0.8µA standby mode
• 250µA / 1MIPS
• <1µs clock start-up
• Zero-power BOR
• <50nA pin leakage
• Modern 16-bit RISC CPU
• 1K to 128KB+ ISP Flash
• 14- to 100-pin options
• Intelligent peripherals boost performance
• Embedded emulation
© 2006 Texas Instruments Inc, Slide 3
MSP430 vs. Microchip PIC
MSP430
• Ultra-low power MCU
• Less code space needed
• Real-time debugger
• Embedded emulation
• Highly integrated
Microchip PIC
• Low-power but stripped down
• Less integrated
© 2006 Texas Instruments Inc, Slide 4
MSP430 Roadmap
Device
Production
Sampling
Development
Future
F20xx
1xx-Catalog
• 8 MIPS
• 1-60KB
5xx-Next Gen
• 25 MIPS
• 32-256 KB
• USB-RF
F21x1
F22xx
F23x0
F23x-F24x
F261x
F241x
F21x2
F/C11xx
F12xx
F15x-F16x
F13x-F14x
Fx42x0
Fx42x
F44x
F/C41x
F5xx
F563x
USB
F543x
F5xx RF
2xx-Catalog
• 16 MIPS
• 1-120KB
• 500nA Stand By
F471x7
Fx43x
F47x4
CG461x
FG461x
4xx-LCD
• 8/16 MIPS
• 4-120KB
• LCD Driver
F = Flash
C = Custom ROM
Integration
© 2006 Texas Instruments Inc, Slide 5
Most Common MSP430 in Schools…
• MSP430F16x
8Mhz
Basic
Clock
FLASH
8-60KB
RAM
512-10KB
POR
BOR
SVS Comp_A Port1/2 with IRQ
Port3/4
Port5/6
RISC
CPU
16-bit
MAB
MDB
MPY
MPYS
MAC
MACS
Watch dog
15-bit
Timer_A3
16-bit
Timer_B7
16-bit
ADC12
200ksps
Vref
Temp
DAC12_0
DAC12_1
USART0
UART/SPI
I2C
USART1
UART/SPI
• Complete Signal Chain on Chip
• Coming Soon: MSP430F26x
2xx Upgrade to F16x
© 2006 Texas Instruments Inc, Slide 6
Ultra-low Power Activity Profile
• Extended Ultra-low Power standby mode
• Minimum active duty cycle
• Interrupt driven performance on-demand
© 2006 Texas Instruments Inc, Slide 7
Why Ultra-low Power Is Important
• Longer battery life
• Smaller products
• Simpler power supplies
• Less EMI simplifies PCB
• Permanent battery
• Reduced liability
© 2006 Texas Instruments Inc, Slide 8
Agenda
• MSP430 Learning Platform
• Tools
• Getting Started with IAR Workbench
• eZ430-RF2500
• Resources
© 2006 Texas Instruments Inc, Slide 9
IAR Embedded Workbench V3.41A
• Kickstart Version – Free
4KB Limit on C code size
Unlimited assembler code size
Available from MSP430 web page
Supported by TI PIC
• Baseline Version ~$795
12KB Limit on C code size
Unlimited assembler code size
Available and supported by IAR
• Full Version ~$2695
Unlimited code size
Available and supported by IAR
• All versions support all available MSP430 devices
© 2006 Texas Instruments Inc, Slide 10
Code Composer Essentials v2.0
• Professional Version –
$250 University Price
• Kickstart Version – FREE
8kB limit on C code
Available online
Supported 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!
© 2006 Texas Instruments Inc, Slide 11
Embedded Emulation
• Real-time in-system debug
No application resources used
Full speed execution
H/W breakpoints
Single stepping
Complex triggering
Trace capability
• Easy to use tools
• Spy Bi-Wire
2-wire debug interface
No pin function impact
VCC
MSP430
VSS
JTAG
© 2006 Texas Instruments Inc, Slide 12
USB Flash Emulation Tool (FET)
• MSP430 FET: real-time debug and programming tool
• Supports ALL MSP430 devices
4-wire JTAG
2-wire Spy Bi-Wire
• Available with socketed target board
Example: MSP-FET430U14 = FET Interface + 14-pin target board
• Supported by all MSP430 IDEs
• University Pricing: $75 with board
$49 interface alone
© 2006 Texas Instruments Inc, Slide 13
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
© 2006 Texas Instruments Inc, Slide 14
Agenda MSP430 Day 2007
• MSP430 Learning Platform
• Tools
• Getting Started with IAR Workbench
• eZ430-RF2500
• Resources
© 2006 Texas Instruments Inc, Slide 15
IAR Workbench
• Startup screen
Click Create new project in current workspace
• Create new project
© 2006 Texas Instruments Inc, Slide 16
IAR Workbench
• Save Project
• Add files to your project
© 2006 Texas Instruments Inc, Slide 17
IAR Workbench
• Right Click on Project Options
© 2006 Texas Instruments Inc, Slide 18
IAR Workbench
• Set the appropriate settings
© 2006 Texas Instruments Inc, Slide 19
IAR Workbench
• Right click on project Rebuilt All
This will compile your project
© 2006 Texas Instruments Inc, Slide 20
IAR Workbench
• Project Debug
This will automatically save your project and compile and download code through JTAG.
© 2006 Texas Instruments Inc, Slide 21
IAR Workbench: Debug Mode
• Click on Run
© 2006 Texas Instruments Inc, Slide 22
Agenda MSP430 Day 2007
• MSP430 Learning Platform
• Tools
• Getting Started with IAR Workbench
• eZ430-RF2500
• Resources
© 2006 Texas Instruments Inc, Slide 23
eZ430-RF2500. Wireless Made Easy.
• Star network stack included
• Includes 2 RF targets & battery expansion board
• $49
• Coming October ‘07
© 2006 Texas Instruments Inc, Slide 24
eZ430-RF2500 Battery Board
© 2006 Texas Instruments Inc, Slide 25
Agenda
• MSP430 Learning Platform
• Tools
• Getting Started with IAR Workbench
• eZ430-RF2500
• Resources
© 2006 Texas Instruments Inc, Slide 26
www.ti.com/msp430
© 2006 Texas Instruments Inc, Slide 27
Important Documents
• Datasheets
Technical Documents for every device
• User Guide
How to use MSP430 guide
Divided into families
– 1xx
– 2xx
– 4xx
• Code Example
Code examples by family products.
• Application Notes
Sample applications on interfacing an MSP430
Use it!
© 2006 Texas Instruments Inc, Slide 28
Tools Link
• www.ti.com/msp430
• www.ti.com/ez430
• www.sparkfun.com
© 2006 Texas Instruments Inc, Slide 29
Obtaining Samples?
• www.ti.com/msp430
• Type “msp430fxxxx” in “Part Number”
© 2006 Texas Instruments Inc, Slide 30
designmsp430.com
• Website for 2006 MSP430
Design Contest
• ~100 complete designs available online to review and 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
© 2006 Texas Instruments Inc, Slide 31
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
© 2006 Texas Instruments Inc, Slide 32