TI University Program Microcontroller Overview William Goh November 2009 Thinking MCU? Think TI Lowest Power High Performance Most Cortex M3’s MSP430 C2000 Stellaris M3 World’s lowest power MCU RTC modes in 100’s of nA Active power at 160uA/MHz High performance core + Analog MCU starting at <$2.00 The world’s largest Cortex M3 MCU portfolio Over 200 MCU’s Over 80 MCU’s Over 140 MCU’s 12.5MSPS A/D, High Resolution PWM, Internal Oscillator A/D’s, Motor Control Hardware, Precision Oscillator, RTC SPI, I2C, UART/LIN, and now with USB & RF Serial, CAN, LIN, EMIF CAN, I2S, Ethernet MAC & PHY, USB H/D/OTG, EPI Starter tools as low as $20.00 Full Experimenter & Developer kits only $149.00 Accelerated design with <$40.00 tools, plus complete reference design kits for multiple apps High performance integration: A/D, Opamps, LCD Control, DAC Complete Eval tools <$100.00 Full reference designs Complete software & driver libraries We offer the most breadth & depth in Microcontrollers. What is C2000? The 32-bit real-time microcontroller family Processing Performance • DSP performance • Best of both worlds • Embedded Flash • Up to 300MHz CPU • Math-optimized 32-bit core • On-chip analog • Control optimized • Analog Integration • Ease of use • Fixed and Floating Point • Powerful peripherals • Scalability • DSP performance within a Microcontroller architecture – 40-300MHz C28x CPU • Built-in DSP functions • Single Cycle 32x32-bit MAC – Control Law Accelerator – Floating-Point Unit – Embedded Flash • Fine-tuned for real-time control – – – – System Integration C2000 Optimized core Fast interrupts Flexible interrupt system Real-time debugging • Comprehensive Peripheral Set – – – – Best in class ADC performance Flexible high resolution PWMs Advanced Capture, Quadrature Encoder Interfaces CAN, LIN, SPI, I2C, SCI/UART, McBSP • Broad portfolio of configurations – – – – – 40-300 MHz Fixed and Floating-point devices 32-512KB of Flash From sub $2 to $20 Software compatibility across C2000 family C2000 Sample Applications Digital Motor Control Renewable Energy E-bike Power Tools Wind Power Inverters White Goods Solar Power Inverters Industrial Drives & Motion Control Lighting Digital Power DC/DC Converters C2000 LED Street Lighting Uninterruptable Power Supplies Auto HID Telecom / Server AC/DC Rectifiers Radar / Collision Avoidance Laser Ranging Power Line Communication Hybrid Electric Vehicles Medical Oxygen Concentrators LED TV Backlighting Optical Networking Electric Power Steering Automotive RFID Readers Precision Sensing & Control What is Stellaris? • Stellaris – Family of ARM Cortex-M3-based microcontrollers from Texas Instruments –The first Cortex-M3 silicon implementation available anywhere • Key advantages – The MCU version of the Cortex family of processor from ARM, share instruction sets – MCU applications starting with the Stellaris family have access to • Industry’s strongest ecosystem of silicon, tools, software, and support • “$1 to 1 GHz” instruction set compatible performance • A breadth of instruction-set compatible performance and cost that exists only in the ARM architectural community – Conceivable that you will NEVER HAVE TO UPGRADE architectures or change tools again! World’s Largest M3 Portfolio Easiest to Learn and Use • 160+ Devices from $1-$8 • Lead Developer of M3 Technology • 4th Generation of M3 Platform • Best peripherals in the industry • USB (PHY for Host, Device, OTG) • Ethernet, CAN, UART, SPI, I2S, I2C, EMIF • 28- to 108-pin BGA, SOIC, QFP, QFN • 32 ch DMA, battery backed hibernation • 50MHz single cycle Flash memory 8-256kB • Peripheral Driver Library and RTOS embedded in ROM with StellarisWare™ • World-class TI support and software • ARM ecosystem and development tools • Up and running in <10 minutes on tools <$50 • Graphics libraries, motor control methodologies, network protocol stacks all ready to use • Efficient compiler = No assembly required! 5 Stellaris® target applications Automation Transaction Control •Point-of-sale •Printers •Data acquisition •AutoID •Tag Scanner •Vehicle ID •Inventory RFID •Monitors Appliances •Ethernet bridges • White goods •Sensors • Home appliance •Machines controllers •Controllers • Small motor control •Sorters •Pumps •Analyzers •Compressors •Component motors •Variable frequency drives Portable Electronics Building Control •Lighting controls •LED drivers •Panel motor controller •HVAC •Pump inverter •Compressor motor •Building automation •Audio Medical •Connected Motor Control •Dental Drilling Machine •Robotic DNA Extraction •Connected General Host •Instrumentation cluster •Data Acquisition • Display • Small screen/ touch interface • Connectivity • Portable media players • Electronics accessories MSP430: Ultra-Low-Power + High Performance Integration • 14 to 113 pin devices • 1-256kB Flash/ROM • 10-/12-/16-bit ADC • 12-bit D/A, LCD Drivers, RTC, DMA • Comparators and Op Amps • Supply Voltage Supervisor & BOR • 16-bit and 8-bit timers; WDT • I2C, SPI, UART/LIN, IrDA • USB & RF Performance • 16-bit RISC CPU up to 25MHz • Industry leading code density • Flexible clock system • Single-cycle register operations • 16 GP 16-bit Registers • No accumulator bottleneck Low Power • • • • • • • • Industry’s Lowest Power Standby <1 μ A Includes RTC and BOR Active 160 μA/MIPS Fast wake-up <1 μs Internal voltage regulator 4 Programmable voltage levels <50 nA pin leakage Ease of Use • • • • • • • C friendly IDE and compiler One programmer for all devices Embedded emulation Trace, single-stepping, in-system debug Intelligent peripherals reduce overhead DTC, DMA, Autoscanning A/D Free & Low cost dev tools MSP430 Key Application Spaces Medical and Industrial Metering • Glucose and cholesterol meters, thermometer, EKG, heart rate monitor, pulsoximeters • Voltage, current, temperature, pressure, pH meters Utility Metering • Energy • Water • Gas • Automated Meter Reading (AMR) • Advanced Metering Infrastructure • Heat Cost Allocation Sensoring • Alarm system, smoke detector • Home control and automation • Wireless asset tracking • Wireless sensors • System supervisor Portable Consumer • Cell phone, digital camera, MP3 • Fitness monitors and sensors • Toothbrush, shaver • Remote control • Wireless keyboard and mouse • Battery charging Why Ultra-Low-Power Is Important • • • • • • • Longer battery life Smaller products Simpler power supplies Less EMI simplifies PCB Permanent battery Environmental Stewardship Reduced maintenance New MSP430 Technologies USB| RF | Energy Harvesting MSP430 Ultra-Low Power MCUs Enabling you with Full Speed USB Ultra-low power MCUs + USB for smarter connectivity • Embedded full-speed USB 2.0 (12 Mbps) • High flexibility with configurable 2K data buffers that can be used as RAM • Unused USB interface pins can function as high-current I/O (5v tolerant) Analog and peripheral integration reduces system cost • Multiple analog options with 10 or 12-bit ADC, DAC, comparator • Integrated 3.3V LDO for use with 5V USB bus power • Uses low-cost crystal for USB clock, with flexible, integrated PLL 44 New USB devices within next 12 months • Wide range of memory configurations and package options, 8k-128k flash • Diverse peripheral mix in the MSP430F55xx family • Pricing as low a $0.96 in volume MSP430 Ultra-Low Power MCUs CC430: Enabling You With RF CC430 Low Power RF MSP430 MCU Application and protocol processor Radio frequency Lowest Power Monolithic RF SoC The Best of Both Worlds Low Power RF Transceiver MSP430 MCU • High sensitivity • Low current consumption • Excellent blocking performance • Flexible data rate & modulation format • Backwards compatible • Market’s lowest power MCU • High analog performance • High level of integration • Ease of development • Sensor interface MSP430 Ultra-Low Power MCUs MSP430 Enables No-Power Apps • Energy harvesting is the process by which energy is captured and stored Body warn monitoring devices powered by body heat, movement Monitor environmental conditions on farm, winery, etc. • Can substitute batteries that are costly to maintain and can extend system uptime • Only possible with ultra-low power components Mesh networking for environmental monitoring (e.g. forest fire detection) Automotive monitoring (e.g. tire pressure gauges powered by vibration) • Solar, kinetic, thermal, RF, salinity gradients, pH difference and other ambient sources available MSP430 Ultra-Low Power MCUs Energy Harvesting Made Easy Ambient energy: light, heat, motion, RF, etc Energy Harvestor Energy Storage & Power Mgmt Sensor(s) Ultra Low Power Microcontroller Perpetually Powered Sensor Low Power Transciever Environment: temperature, status, position, etc Energy Harvesting Solutions: MSP430 Product Families 1xx | 2xx | 4xx | 5xx Gateway | Performance ADC DAC + - Gateway Performance Small footprint, lower memory sizes, cost effective devices High-performance analog, rich integration, cutting edge features 5xx • • • • • • 25 MIPS Flash: up to 256 KB 0.1 μA RAM retention 2.5 μA real-time clock 165 μA / MIPS active Fast Wake-up in <5 μs CC430 DAC DAC ADC ADC 2xx • • • • • • • 16 MIPS Flash: up to 120 KB 0.1 μA RAM retention 0.3 μA Standby mode 0.7 μA real-time clock 220 μA / MIPS active Fast Wake-up in <1 μs F550x F552x ADC ADC F22x2 F241x ADC 8/16 MIPS Flash: up to 120 KB 0.1 μA RAM retention 0.7 μA real-time clock 200 μA / MIPS active Fast Wake-Up in <6 μs F261x ADC F23x DAC ADC F24x1 ADC ADC F20xx ADC F21x1 F23x0 F24x ADC ADC 4xx • • • • • • F54xx ADC F22x4 ADC F21x2 F551x F44x F42x ADC ADC DAC F42x x41x F41x2 F43x + - ADC x41x ADC Fx42x + - ADC xG461x + - ADC ADC DAC FG47x + - DAC F47x DAC + - 1xx • • • • • • 8 MIPS Flash: up to 60 KB 0.1 μA RAM retention 0.7 μA real-time clock 200 μA / MIPS active Fast Wake-Up in <6 μs F13x ADC DAC F15x DAC ADC F12x C13x1 F14x1 F11x2 F12x2 F14x ADC ADC ADC x11x1 ADC F16x1 DAC ADC Getting Started: MSP430 Tools & Software MSP430 Ultra-Low Power MCUs Embedded Emulation • Real-time, in-system debug – – – – – – No application resources used Full speed execution H/W breakpoints Single stepping Complex triggering Trace capability • Powerful, easy to use tools • Spy Bi-Wire – 2-wire debug interface – No pin function impact • Only 1 tool required for all devices JTAG MSP430 Ultra-Low Power MCUs Easy To Use, Innovative Tools Flash Emulation Tools • Compatible with all devices • Target boards available • $99 ($149 w/ target board) • Target boards available w/o FET • Free IDEs included MSP430 Experimenter Boards • Fully features prototyping system • Available for FG4618 & F5438 • Starting at $99 eZ430 Tools • Complete development system in USB stick • Available for wireless and energy harvesting • Starting at $20 MSP430 Ultra-Low Power MCUs eZ430-Chronos: CC430 Dev Tool • CC430-based wireless development tool in a watch • 915/868/433 MHz versions available • Custom LCD driven directly by CC430 • Features: – – – – 3-axis accelerometer Altimeter Temperature sensor Buzzer USB RF access point Updated eZ430 emulator for programming MSP430 Ultra-Low Power MCUs CCE is now Code Composer Studio v4 • Code Composer Studio v4: A single development platform for all TI processors • CCE users will feel at home • Enhancements since CCE: – – – – – Speed Code size improvements Auto-updating License manager Support for all TI MCUs • Only $495 for MCU Edition • FREE 16KB-limited edition http://tiexpressdsp.com/wiki/index.php?title=Category:Code_Composer_Studio_v4 Resources to Reduce Learning Curve • • • • • • • • 1,000+ Code Examples Application Notes Online Training Yahoo Forums Connexions designmsp430.com Design ideas Teaching ROM – Code Wizard Connexions – cnx.org/lenses/TexasInstruments/MSP430 • • • Open source publishing system for providing free coursework and education material online Low cost book printing Available Labs – Various DSP Labs & DSP Theory – General MSP430 Lab Content – eZ430 Specific Labs • New Lens has its own URL – Organizes TI content so that users can find any TI device related content – Content generated and updated by Academic community • Tools donation campaign to encourage module creation Thank You