ti mcu techday april 182012

Upload: manh-nguyen

Post on 05-Apr-2018

223 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/2/2019 TI MCU Techday April 182012

    1/24

    TI MCU TECH-DAY

    April 19, 2012

  • 8/2/2019 TI MCU Techday April 182012

    2/24

    All about TI products

  • 8/2/2019 TI MCU Techday April 182012

    3/24

    Temperature

    Pressure

    Position

    Speed

    Flow

    Humidity

    Sound

    Light

    Identification

    The RealWorld

    AmplifierData

    Converter

    PowerManagement

    Logic

    EmbeddedProcessing

    Amplifier DataConverter Interface

    Low Power RF

    What can we do with TI sockets?The whole system!!!!!!!!

  • 8/2/2019 TI MCU Techday April 182012

    4/24

    MPUs Microprocessors

    What can we do with TI embedded processors??What ever!!!

    Code Composer Studio IDE

    MSP430

    IndustrysLowest Power

    MCU,

    PrecisionAnalog, Up to25MHz

    16-bit ultra-low-power

    MCUs

    Digital Signal Processors (DSPs)Microcontrollers (MCUs)

    TI Embedded Processors

    ARM-Based Processors

    4

    32-bitreal-time

    MCUs

    C2000

    Delfino

    PiccoloConcerto

    40 MHz to300 MHzFixed/floating point

    StellarisARMCortex-M3

    AdvancedConnectivity

    Up to80 MHz

    32-bit ARM

    MCUs32-bit ARM

    MPUs

    DSPDSP+ARM

    UltraLow power

    DSPs

    Multi-coreDSPs

    C6000

    C6000+ARM

    300 MHz to >1Ghz

    + AcceleratorFloating/fixed point

    C5000

    Up to 300 MHz+ Accelerator

    C6000

    24,000

    MMACS

    DaVinciVideo processors

    SitaraARMCortex-A8

    & ARM9

    Value line to

    500 MHzPerf. Line to 1GHz

    32-bit ARM

    SafetyMCUs

    HerculesARMCortex-M3

    Cortex-R4F

    TransportationIndustrial

    & Medical Safety

    80MHz to 220MHz

  • 8/2/2019 TI MCU Techday April 182012

    5/24

    MSP430 MCU Intro

  • 8/2/2019 TI MCU Techday April 182012

    6/24

    6

    What is MSP?The 16-bit Ultra-Low Power MCU family

    Slashing power with MSP430 MCUs with FRAM Cuts the industrys lowest active power consumption in half for

    wireless sensors, data logging, energy harvesting and more! FRAM is 100x faster than flash microcontrollers when writing to

    memory

  • 8/2/2019 TI MCU Techday April 182012

    7/24

    What are suitable apps?

    Thousands of applications are

    enabled by MSP430 MCUsDifferentiation is possible with MSP430 MCUsUltra-Low Power performance, high analog &digital peripheral integration, and easy-to-use

    tool chain.

  • 8/2/2019 TI MCU Techday April 182012

    8/24

    How to start pick a MSP430 device

    Go to: http://www.ti.com/lsds/ti/microcontroller/16-bit_msp430/product_search.page

    Pick a device with your required specs

  • 8/2/2019 TI MCU Techday April 182012

    9/24

    How to start - Compiler

    Download:http://processors.wiki.ti.com/index.php/Download_CCS

    Tutor:

    http://www.diendanti.com/showthread.php?113-IDE-Coding-v%E1%BB%9Bi-Code-Composer-Studio-5-%28CCS-5%29-S%E1%BB%AD-d%E1%BB%A5ng-cho-

    MSP430

    Download:http://processors.wiki.ti.com/index.php/IAR_Embedded_Workbench_for_TI_MSP430

    Tutor: http://www.diendanti.com/showthread.php?114-IDE-H%C6%B0%E1%BB%9Bng-d%E1%BA%ABn-s%E1%BB%AD-d%E1%BB%A5ng-IAR-Embedded-Workbench-cho-MSP430

    8KB Limit onMSP430Xdevices16KB Limit oneZ430 devices

    16KB Limit on

    Msp430 devices

  • 8/2/2019 TI MCU Techday April 182012

    10/24

    How to start Download & debug

    SupportsALL MSP430 deviceswhen paired with appropriateTarget Board

    4-wire JTAG

    2-wire Spy Bi-Wire Part number: MSP-FET430UIF

    Price: $99

    Where: https://estore.ti.com/MSP-FET430UIF-MSP430-USB-Debugging-Interface-P616.aspx

  • 8/2/2019 TI MCU Techday April 182012

    11/24

    How to start Download & debug

    $4.30& for a limited time onlyFREE SHIPPING!

    Only use with 2-wire Spy Bi-Wiredevices (table 2-1, page 17):http://www.ti.com/lit/ug/slau157t/slau157t.pdf

    Part number: MSP-EXP430G2

    Price: $4.3 Where: https://estore.ti.com/MSP-EXP430G2-

    MSP430-LaunchPad-Value-Line-Development-kit-P2031.aspx

  • 8/2/2019 TI MCU Techday April 182012

    12/24

    How to start Elprotronic flash programmer

    http://www.elprotronic.com

  • 8/2/2019 TI MCU Techday April 182012

    13/24

    How to power up the MSP430?

    LM317 (1.5A linear regulator) 1.5V to 2.5V dropout voltage

    Good for larger Vin to Vout ratios, 12V to 5V output

    TPS72501 (1A LDO)

    170mV dropout voltage Good for 3.3V to 3.0V output

    Battery powering:

    DeviceVIN(V)

    IOUT(mA)

    VOUT(V)

    IQ(uA)

    VDO(mV)

    TPS780 2.2 5.5 150 1.5 4.2 0.5 130

    TPS781 2.2 - 5.5 150 1.5 4.2 1 130

  • 8/2/2019 TI MCU Techday April 182012

    14/24

    What if I get stuck?

    TI Vietnam forum: http://www.diendanti.com/forum.php

    Collection of projects on launchpad:http://e2e.ti.com/group/msp430launch...t/default.aspx

    Sample code for msp430http://www.ti.com/mcu/docs/mcusplash...ntId=128826#CE

    MSP430 Wiki: http://ti.com/430wiki

    MSP430 overview:http://focus.ti.com/mcu/docs/mcugett...2&toolTypeId=1

    Application Notes & User Guides:

    http://focus.ti.com/mcu/docs/mcuprod...ype=mostrecent

  • 8/2/2019 TI MCU Techday April 182012

    15/24

    Stellaris ARM Cortex-M Intro

  • 8/2/2019 TI MCU Techday April 182012

    16/24

    What is Stellaris?TIs 32-bit ARMCortex-M based MCU family for HMI, motion control, smart grid, and connectivity

    16

    Announcing StellarisARMCortex-M4F (MCUs) New Blizzard MCUs deliver best-class power consumption for

    industrial automation, motion control, health & fitness

    Also includes leading analog integration & floating point technology

  • 8/2/2019 TI MCU Techday April 182012

    17/24

    What are suitable apps?

    Touch Interface

    Home Automation

    Automated Motor Control

    White goods

    Data Acquisition

    ExerciseEquipment

    AdvancedRemotes

    HVACPump inverter

    Compressor motor

    Serial-to-EthernetBridge

    Point of Sale Graphics Displays

    Home Automation

    Medical Connectivity

    Security Monitoring

    NetworkedAccess Control

    Electricity andFlow metering

    BiometricScanning

    Connectivity Automation

    Security

    LED Signage

    Human Machine Interface

    Energy

  • 8/2/2019 TI MCU Techday April 182012

    18/24

    How to start pick a Stellaris ARM cortex-M3device

    Go to:

    http://www.ti.com/lsds/ti/microcontroller/arm_stellaris/product_search.page

    Pick a device with your required specs

    Notes:

    LM3S1nnn non-CAN, non-Ethernet LM3S2nnn CAN

    LM3S3nnn USB

    LM3S5nnn CAN + USB

    LM3S6nnn Ethernet

    LM3S8nnn Ethernet + CAN LM3S9nnn Ethernet + CAN + USB

  • 8/2/2019 TI MCU Techday April 182012

    19/24

    Eval Kit License30-day fullfunction.

    Upgradeable.

    32KB address-limited.

    Upgradeable.

    32KB address-limited.

    Upgradeable.

    90-day fullfunction.

    Upgradeable.

    Full functional;locked to board.

    Upgradeable.

    JTAG DebuggerStellaris ICDI(on Stellaris

    EVK)

    J-Link, ~299USD

    U-Link, ~199USD

    Red Probe, 150USD

    Stellaris ICDIXDS510 /XDS560

    How to start Development tools

    Remember: In addition to its original use as an evaluation kit, eachStellaris evaluation kit has the built-in capability for use as asimple USB-to-20-pin JTAG debugger.

    Suggestion: EK-LM3S1968 ($59)

  • 8/2/2019 TI MCU Techday April 182012

    20/24

    How to start - LM Flash Programmer + Bootloader

    http://www.ti.com/tool/lmflashprogrammer

  • 8/2/2019 TI MCU Techday April 182012

    21/24

    How to Power up the MCU?

    DeviceTLV1117LV TLV1117

    Vin (V) 2 - 5.5 (6V max) 2.7 - 15

    Iout (A) 1 0.8

    Vout (V) 1.2-3.3 (fixed only) 1.25-13.7 (fixed and adjustable)

    Iq (mA) 0.1 10

    Min Iout forStability

    0 1.7 5mA

    Vdo (mV) 58 @100mA / 570 @ 1A ** 1100 @100mA / 1200 @800mA

    ** TLV1117LV True LDO Vdo scaling with Iout

  • 8/2/2019 TI MCU Techday April 182012

    22/24

    How to fast code? - StellarisWare

    22

    All programming can be in C/C++, even interrupt service routines & startup code

    Includes code and royalty-free libraries for applications support

    Graphics

    Library

    USB

    LibraryIEC 60730

    LibraryOpen Source

    RTOS

    Open Source

    Stacks Utilities:

    Checksum

    Security

    Code

    Examples

    Third-

    Party

    ExamplesPeripheral Driver Library

    Boot Loader and In-System Programming Support

    StellarisWare Software

    Over 700APIs forperipheral initializationand control functions

    Providesin-fieldprogrammability

    Over 250APIsfor graphicaldisplay support

    Over 175APIs for USBdevice, USB host, orUSB On-The-Go(OTG) applications

    Over 150APIs providingoptimized commonly usedfunctions such as CRCchecking and AES tables

    Provides support forIEC 60730 Class Bsafety requirements

    Over 525 apps providingan extensive array ofsource code samples

    Provides opensource Ethernetand RTOS options

    Provides anextensive arrayof source codesamples

  • 8/2/2019 TI MCU Techday April 182012

    23/24

    What if I get stuck?

    TI Vietnam forum: http://www.diendanti.com/forum.php

    StellarisWare (full): http://www.ti.com/tool/sw-lm3s

    All development packages:http://www.ti.com/mcu/docs/mcuorphantoolsw.tsp?sectionId=632&orphantabId=8

    IAR for ARM: (32K limited):http://supp.iar.com/Download/SW/?item=EWARM-KS32

    CCS (32K limited):http://processors.wiki.ti.com/index.php/Download_CCS

  • 8/2/2019 TI MCU Techday April 182012

    24/24

    Thanks!