ti university program microcontroller overview william goh november 2009
TRANSCRIPT
TI University ProgramMicrocontroller Overview
William Goh
November 2009
Thinking MCU? Think TIThinking MCU? Think TILowest Power Most Cortex M3’sHigh Performance
MSP430
World’s lowest power MCURTC modes in 100’s of nA Active power at 160uA/MHz
Over 200 MCU’sOver 200 MCU’s
High performance integration: A/D, Opamps, LCD Control, DAC
SPI, I2C, UART/LIN, and now with USB & RF
Starter tools as low as $20.00Full Experimenter & Developer
kits only $149.00
C2000
High performance core + Analog MCU starting at <$2.00
Over 80 MCU’sOver 80 MCU’s
12.5MSPS A/D, High Resolution PWM, Internal Oscillator
Serial, CAN, LIN, EMIF
Accelerated design with <$40.00 tools, plus complete reference design kits for multiple apps
Stellaris M3
The world’s largest Cortex M3 MCU portfolio
Over 140 MCU’sOver 140 MCU’s
A/D’s, Motor Control Hardware, Precision Oscillator, RTC
CAN, I2S, Ethernet MAC & PHY, USB H/D/OTG, EPI
Complete Eval tools <$100.00 Full reference designs
Complete software & driver libraries
We offer the most breadth & depth in Microcontrollers.We offer the most breadth & depth in Microcontrollers.
What is C2000?
• 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– 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
The 32-bit real-time microcontroller familyThe 32-bit real-time microcontroller family
System IntegrationC2000Processing
Performance• Embedded Flash
• On-chip analog
• Ease of use
• Scalability
• Embedded Flash
• On-chip analog
• Ease of use
• Scalability
• DSP performance
• Up to 300MHz CPU
• Control optimized
• Fixed and Floating Point
• DSP performance
• Up to 300MHz CPU
• Control optimized
• Fixed and Floating Point
• Best of both worlds
• Math-optimized 32-bit core
• Analog Integration
• Powerful peripherals
• Best of both worlds
• Math-optimized 32-bit core
• Analog Integration
• Powerful peripherals
C2000 Sample Applications
Solar Power Inverters
Wind Power Inverters
Telecom / Server AC/DC Rectifiers
Uninterruptable Power Supplies
Electric Power Steering
Radar / Collision Avoidance
LED TV Backlighting
LED Street Lighting
E-bike
Hybrid Electric Vehicles
Auto HID
Power Line Communication
Laser Ranging
RFID Readers
Medical Oxygen Concentrators
DC/DC Converters
Optical Networking
C2000
Renewable Energy
Digital Power
Digital Motor Control
Automotive Precision Sensing & Control
White Goods Industrial Drives & Motion Control
Lighting
Power Tools
What is Stellaris?
5
• 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• 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
Easiest to Learn and Use• 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!
Stellaris® target applications
Building Control•Lighting controls•LED drivers•Panel motor controller
•HVAC•Pump inverter•Compressor motor
•Building automation•Audio
•Lighting controls•LED drivers•Panel motor controller
•HVAC•Pump inverter•Compressor motor
•Building automation•Audio
Transaction Control•Point-of-sale
•Printers•Data acquisition
•AutoID•Tag Scanner•Vehicle ID•Inventory RFID
•Point-of-sale•Printers•Data acquisition
•AutoID•Tag Scanner•Vehicle ID•Inventory RFID
•Connected Motor Control•Dental Drilling Machine•Robotic DNA Extraction
•Connected General Host•Instrumentation cluster
•Data Acquisition
Medical
Appliances• White goods
• Home appliance controllers
• Small motor control•Pumps•Compressors•Variable frequency drives
• White goods• Home appliance controllers
• Small motor control•Pumps•Compressors•Variable frequency drives
Portable Electronics• Display
• Small screen/ touch interface
• Connectivity• Portable media players• Electronics accessories
• Display• Small screen/ touch interface
• Connectivity• Portable media players• Electronics accessories
Automation
•Machines•Controllers•Sorters•Analyzers•Component motors
•Machines•Controllers•Sorters•Analyzers•Component motors
•Monitors•Ethernet bridges•Sensors
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
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
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
MSP430 Key Application Spaces
• Glucose and cholesterol meters, thermometer, EKG, heart rate monitor, pulsoximeters
• Voltage, current, temperature,pressure, pH meters
• Energy• Water• Gas• Automated Meter Reading (AMR)• Advanced Metering Infrastructure• Heat Cost Allocation
• Cell phone, digital camera, MP3• Fitness monitors and sensors• Toothbrush, shaver• Remote control• Wireless keyboard and mouse• Battery charging
• Alarm system, smoke detector• Home control and automation• Wireless asset tracking• Wireless sensors• System supervisor
Medical and Industrial Metering
Sensoring
Utility Metering Portable Consumer
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
Analog and peripheral integration reduces system cost
44 New USB devices within next 12 months
• 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)
• 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
• 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
MSP430MCU
Application and protocol
processor
Lowest Power MonolithicRF SoC
Low Power RF
Radio frequency
The Best of Both WorldsThe Best of Both Worlds
MSP430 MCU
• Market’s lowest power MCU• High analog performance• High level of integration• Ease of development• Sensor interface
Low Power RF Transceiver
• High sensitivity• Low current consumption• Excellent blocking performance• Flexible data rate & modulation format• Backwards compatible
MSP430 Ultra-Low Power MCUs
MSP430 Enables No-Power Apps
• Energy harvesting is the process by which energy is captured and stored
• Can substitute batteries that are costly to maintain and can extend system uptime
• Only possible with ultra-low power components
• Solar, kinetic, thermal, RF, salinity gradients, pH difference and other ambient sources available
Body warn monitoring
devices powered by body heat,
movement
Monitor environmental conditions on farm, winery,
etc.
Mesh networking for environmental
monitoring (e.g. forest fire detection)
Automotive monitoring (e.g.
tire pressure gauges powered
by vibration)
MSP430 Ultra-Low Power MCUs
Energy Harvesting Made Easy
Energy Harvesting Solutions:
Ambient energy: light, heat, motion, RF, etcAmbient energy: light, heat, motion, RF, etc
Environment: temperature, status, position, etcEnvironment: temperature, status, position, etc
EnergyHarvestor
EnergyHarvestor
Energy Storage & Power Mgmt
Energy Storage & Power Mgmt
Ultra Low Power Microcontroller
Ultra Low Power Microcontroller
Low Power TranscieverLow Power TranscieverSensor(s)Sensor(s)
Perpetually Powered Sensor
Perpetually Powered Sensor
MSP430 Product Families
1xx | 2xx | 4xx | 5xx
Gateway | Performance
• 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
• 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
• 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
Gateway Performance
• 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
Small footprint, lower memory sizes, cost effective devices
High-performance analog, rich integration, cutting edge features+
-DACADCUSB
RFCom
parat
or
LCDADC10
, 12
Op-Am
p
E-met
er
Flow M
eter
DAC12
SD16
ADC
DAC
ADC
F20xxF20xxADC
F21x1F21x1ADC
F23x0F23x0
F241xF241xADC
F261xF261xADCDAC
F24x1F24x1
F22x2F22x2ADC
F22x4F22x4ADC
F24xF24xADC
ADC
DAC
Fx42xFx42x+- ADC
F43xF43xADC+
-
+-
FG47xFG47x+- DAC
F47xF47xDAC
F44xF44xADC
xG461xxG461x+- DAC
ADC
DACF12xF12x
F12x2F12x2ADC
F13xF13xADC
C13x1C13x1
F14xF14xADC
F14x1F14x1
F15xF15xADCDAC
F16x1F16x1ADCDAC
CC430CC430ADCDAC
F550xF550xADC
5xx
2xx
4xx
1xx
F11x2F11x2ADC
x11x1x11x1
F552xF552xADC
x41xx41x x41xx41x
F42xF42xADC
F42xF42xADC
F551xF551x F54xxF54xxADC
F21x2F21x2 F23xF23xADC
F41x2F41x2ADC
Getting Started:MSP430 Tools & Software
MSP430 Ultra-Low Power MCUs
• 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
Embedded Emulation
JTAG
MSP430 Ultra-Low Power MCUs
Easy To Use, Innovative Tools
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
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 Ultra-Low Power MCUs
• 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
eZ430-Chronos: CC430 Dev Tool
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