+ All Categories
Home > Documents > vi xu ly msp 430

vi xu ly msp 430

Date post: 04-Jun-2018
Category:
Upload: anh-dang-the
View: 222 times
Download: 0 times
Share this document with a friend

of 13

Transcript
  • 8/13/2019 vi xu ly msp 430

    1/13

    8/5/2013

    1

    MLab Embedded Solutionswww.mlab.com.vn

    MLab - Embedded Solutionsa ch: S 19 ng 204, L Thanh Ngh, Hai B Trng, H Ni

    1

    MLab Embedded Solutionswww.mlab.com.vn

    MSP430 cn bn

    2

  • 8/13/2019 vi xu ly msp 430

    2/13

    8/5/2013

    2

    3

    Ni dung

    1. Gii thiu vMSP4302. Gii thiu v phn mmCCS v Grace3. Cngvo ra (GPIO)

    Lab 1: Nhpnhy LED4. Moduletoclock

    Lab 2: Thay i tn sclockca h thng

    4

    Gii thiu v MSP430

    Lch s pht trin c im ni bt Cutrc bn trong Cc ng dngtiu biu Cng c pht trin phn cngv phn mm nh hng ltrnh nghin cu

  • 8/13/2019 vi xu ly msp 430

    3/13

    8/5/2013

    3

    5

    Gii thiu v MSP430 (tip)

    Lch s pht trin Hng sn xut: Texas Instruments (www.ti.com) Ngy sinh: 14/02/1994 Ngy k nimhng nm: 30/4 Khi iml 1 chip MCUc thng thit kcho mt ng dng okh Gastichu u Nhn c rt nhiu gii thng quc tdo cchip hikhoa hc, tpch khoa hctrao tng

    6

    Gii thiu v MSP430 (tip)

    c im ni bt Cng suttiu th nng lngsiu thp Tch hp nhiu ngoivi tnh nngcao

    Rt a dng v chng loichip, ph hp vi sla chncho hu htcc loi ng dng Thigian tip cnv pht trin ng dng rt ngn

  • 8/13/2019 vi xu ly msp 430

    4/13

    8/5/2013

    4

    7

    Gii thiu v MSP430 (tip)

    Cutrc bn trong ADC10/12/16/24-bit DAC12-bit Op Amp, LCD driver RF transceiver AES128 Capacitive touch IO USB2.0, Real Time Clock B nh FRAM

    8

    Gii thiu v MSP430 (tip)

    ng dngtiu biuUtility Metering

    Electricity MetersGas MetersFlow MetersSmart Meters

    Wireless ApplicationsRemote SensorsCommunicationControllersRFID

    Consumer Electronics

    Portable ElectronicsRemote ControlsPersonal CarePC peripherals

    Energy Harvesting

    Renewable EnergyBattery-less devicesSolar, thermal,vibration, etc

    Portable Medical

    Blood Glucose MetersThermometersHeart-Rate MonitorsImplantable Devices

    Sensors & SecuritySmoke DetectorMotion DetectorVibration DetectorSmart Sensors

    Personal Health &Fitness

    Sports WatchesPedometersCalorimetersDive watches

    Thousands of applications areenabled by MSP430 MCUs

    Differentiation is possible with MSP430 MCUsUltra-Low Power performance, high analog &

    digital peripheral integration, and easy-to-use toolchain.

  • 8/13/2019 vi xu ly msp 430

    5/13

    8/5/2013

    5

    9

    Gii thiu v MSP430 (tip)

    F4xxMetering/

    Medical

    F2xxF1xx F5xxUSB

    F6xxUSB+LCD

    FR57xxEmb. FRAM

    FR59xxWolverine

    G2xx3CapSenseI/O & USCI

    CC430MCU+RF

    SoC

    Ultra-Low Power Ultra-Low Energy

    8MHz1-60kB FlashUp to 10kB RAMUp to 48 GPIOADC10/12Comp, DAC12, Timers,DMA, MPY. USART

    16MHz1-120kB FlashUp to 8kB RAMUp to 64 GPIOADC10/12SD16, Comp, DAC12,Timers, DMA, MPY,OpAmp, USCI, USI

    8/16MHz4-120kB FlashUp to 8kB RAMUp to 80 GPIOADC10/12SD16, Comp,DAC12, Timers, DMA,MPY, OpAmp, USCI,USART, ESP430, ScanIF

    25MHz8-256kB FlashUp to 18kB RAMUp to 87 GPIOADC10, Comp,DAC12, PMM, Timers,DMA, MPY, USCI, USB,5V I/O, Hi-res PWM

    25MHz8-256kB FlashUp to 18kB RAMUp to 74 GPIOADC10/12, SD24,Comp, Timers, DAC12,PMM, DMA, MPY,USCI, USB, LCD

    24MHz4-16kB FRAMUp to 1kB RAMUp to 33 GPIOADC10, Comp, Timers,DMA, MPY, USCI,FRAM, MPU

    16MHz32-64kB FRAMUp to 1kB RAMUp to 40 GPIOADC12, Comp, Timers,CRC16, AES256,CapTouch I/O, DMA,MPY, USCI, FRAM,MPUComing soon

    Value Line

    16MHz0.5-16kB FlashUp to 512 B RAMUp to 24 GPIOADC10, Comp, Timers,USCI, CapTouch I/O

    20MHz8-32kB FlashUp to 4kB RAMUp to 44 GPIOADC12, PMM, Comp,MPY, DMA, USCI, emb.RF, LCD

    L092Native 0.9V

    4MHzUp to 2kB RAM orROMUp to 11 GPIOAnalog Pool (ADC8,DAC8, Comp, SVS),Timers, Native 0.9Voperation

    Emb. RF Low VoltageUltra-Low Power -High integration - Easy-to-use tools MSP430

    ti.com/msp430

    UtilityMeters

    Wireless &Automotive

    PortableMedical

    ConsumerElectronics

    Health &Fitness

    Sensors &Security

    10

    Gii thiu v MSP430 (tip)

    Cc dngpackages

  • 8/13/2019 vi xu ly msp 430

    6/13

    8/5/2013

    6

    11

    Gii thiu v MSP430 (tip)

    Complete development k it for $9.99 MSP-EXP430G2 LaunchPad provides all of

    the HW and SW needed to get started! Supports MSP430G2xx Value Line MCUs Fea tu re s:

    On-board emulation 20-pin DIP socket On-board LEDs & switches Includes 2 MCUs

    MSP430G2553 MSP430G2452

    LaunchPad & BoosterPack Ecosystem Experimenters Boards

    eZ430 Starter Kits Target Boards & Emulation Tools

    Growing Ecosystem of BoosterPacks Many plugin modules are available, with more coming soon! Featuring Capacitive Touch, Wireless & other technologies!

    Features onboard emulation and unique form factors. Embedded Emulation means smaller form factors,

    allowing the kit to be the same size as a USB stick, andonly require 2 pins for programming/debugging.

    eZ430-Chronos- Based on CC430- Sub-1GHz RF- Integrated sensors- Reprogrammable- $49

    eZ430-F2013- Based on MSP430F2013

    - Detachable target board- On-board switch & LED

    - $20

    eZ430-RF2500

    - Based on MSP430F2274- Plus CC2500 2.4GHz RF- On-board switch & LED

    -$49

    See them all @ti.com/ez430

    Blast off @ti.com/launchpad

    Highly int egrated development k its for evaluating MSP430 devicesExperimenters Bpards featire selected MSp430 device s and additional hardwarecomponents for easy system evaluation and prototyping!

    Perfect for learning a new architecture or testing the capabilities of a device family.

    FRAM Experimenters Board- Based on MSP430FR5739- Featuring unique FRAMmemory- On-board emulation- On-board sensors- $49

    F5529 USB Experimenters Board- Based on MSP430F5529- Complete USB development kit- On-board emulation- SD card reader, captouch & more!- $149

    See them all @ti.com/msp430tools

    CC430 Experimenters Boar d- Based on CC430 MCU+RF SoC

    - Includes a Base Board & DaughterBoard

    - On-board emulation- Complete RF development kit

    - $149

    One tool to rul e them all. MSP430 Flash Emulatio n ToolThe MSP-FET430UIF can program & debug all MSP430 devices when paired with theappropriate target board. Target boards are available for all MSP430 devices, and feature aZIF target socket for interfacing with various pinouts and package types.

    Production programmers, such as the MSP-GANG are also available. These kits enable

    quicker time to market and can program 8 targets at once!

    MSP-FET430UIF MSP-TS430xyz

    MSP-FET430Uxyz

    12

    Gii thiu v MSP430 (tip)

    Windows & Linux support- Featuring MSP430Ware- Grace- ULP Adv iso r - More

    Continued collaboration with IAR- Integrating MSP430Ware content into IAR- Up-to-date device support

    Increased support for MSPGCC- Free, Open Source & community-supported- Up-to-date device support- Coming soon code examples, projects &

    other resources

    MSP430 IDEs MSP430Ware A collection of MSP430 resourcesEverything you need to become an MSP430 expert delivered in anintuitive & sleek GUI.

    Find documentation & software resources quickly & easily: Featuring Brand New Driver Library C Code Examples Grace templates Datasheets User Guides HW Design Files

    Now available!!! Integrated into CCSv5.2 and later

    Software Tools for Ultra-Low Power (ULP)

    ULP Advisor TM- Checks your code against a ULP Checklist- Currently 15 ULP Rules, with a growing backlog of new rules- Highlights areas of improvement and points to helpful

    resources such as code examples, doc umentation & more- Integrated into CCSv5.1 and later

    EnergyTrace TM- During debug, EnergyTrace

    reports back current status of theCPU, peripherals & timers.

    - Allows developers to correlatepower-relevant information to theMCU program code

    - Coming Soon

    Other MSP430 Software ToolsGrace TM Code Generation Tool for enabling &configuring GPIO and peripherals. Integratedinto CCSv5

    Other software packages include: Capacitive touch library Energy Library (AFE2xx) USB Developers Package RF software resources

    See the complete portfolio of MSP430 Software Tools @

    ti.com/msp430software

    RTOS

  • 8/13/2019 vi xu ly msp 430

    7/13

    8/5/2013

    7

    13

    Gii thiu v MSP430 (tip)

    Ti liuv cng ng

    Trang web chnh: www.ti.com/msp430

    BlogsTI Blog:www.ti.com/430blogCommunity Blog: www.43oh.com

    E2E Forums:

    http://e2e.ti.comhttp://diendanti.com

    14

    Gii thiu v MSP430 (tip)

    nh hng ltrnh hc tp, nghin cu Cn bn: MSP430 Value line Nng cao: MSP430F5xxx

    Theo chuyn , ng dng: Thit k phm bm kiu cm ng indung Thit kgiao din ha Lu tr d liutrn th nh SD Gim st,iu khin bng mngwifi Gim st,iu khin bng mngRF Nhng h iuhnh thigian thc(RTOS)

  • 8/13/2019 vi xu ly msp 430

    8/13

    8/5/2013

    8

    15

    Gii thiu MSP430 LaunchPad

    Embedded Emulation

    6-pin eZ430Connector

    Part and Socket

    Crystal Pads

    Power Connector

    Reset ButtonLEDs and JumpersP1.0 & P1.6

    P1.3 Button

    ChipPinouts

    USB EmulatorConnection

    16kB Flash 512B RAM 2 Timer_A3s 8 Ch. Comp_A+ 8 Ch. ADC10 USCI

    16

    Gii thiu v CCS

    CCS =CodeComposerStudio (www.ti.com/ccs) Hng pht trin: Texas Instruments L IDE (Integrated Development Environment)

    cho tt ccc dng chip vixl, viiu khinvDSPcaTI C phin bn gii hndunglngcode (16hoc32KB) v phin bn gii hn thigian s dng(90days)

  • 8/13/2019 vi xu ly msp 430

    9/13

    8/5/2013

    9

    17

    Gii thiu v Grace

    L cng c phn mm dnggiao din ha, cho php ngidng cuhnh cc ngoivicaMSP430mtcch rt ddng v nhanhchng (www.ti.com/grace) Hon ton min ph ctch hp sntrong CCSv5.x

    C bn chy c lp c th s dng viccIDE khc nhIAR

    18

    Bi thc hnh s 1 (GPIO)

    C s l thuyt(ti liuMSP430x2xxFamily Users Guide , chng8 Digital I/O )

    Thanh ghi P1DIR:nh hng cachn cng

    (0 = vo, 1 = ra)

    Thanh ghi P1OUT:cha mclogicca ura(1 =ara inp cao, 0 =ara inp thp)

  • 8/13/2019 vi xu ly msp 430

    10/13

    8/5/2013

    10

    19

    Bi thc hnh s 1 (GPIO)

    Lab 1: Nhpnhy mttrong cc LEDni vicc tn hiuP1.0& P1.6(1 = sng, 0 =tt)

    Thanh ghi P1DIR = Thanh ghi P1OUT = To tr bng phn mm, c th s dnghm c

    sn caIDE __delay_cycles(schu k)

    20

    Bi thc hnh s 1 (GPIO)

    Lab 1: Nhy LED1 hocLED2

    Thay i schu k

  • 8/13/2019 vi xu ly msp 430

    11/13

    8/5/2013

    11

    21

    Bi thc hnh s 2 (Clock)

    Cn phn bitcc khi nim: Clock sourcev clock signal

    Clock source l nguncung cpdao ng uvo cho moduletoxung nhp Clock signal l xung nhp c tora ura

    22

    Bi thc hnh s 2 (Clock)

    C s l thuyt(ti liuMSP430x2xxFamily UsersGuide,chngBasicClock Module )

  • 8/13/2019 vi xu ly msp 430

    12/13

    8/5/2013

    12

    23

    Bi thc hnh s 2 (Clock)

    Clock sources: Thchanh (Crystal) Daongngoi (External clock) Daong ni: DCO (tn scao), VLO (tn s thp)Clock signals: MCLK: dng cho CPU v h thng SMCLK: dng cho cc ngoivi ACLK: dng cho cc ngoivi

    MSP430 cn chnh sn mt s tn sdaong ni ph bin nh1MHz, 8MHz, 12MHz,16MHz

    24

    Bi thc hnh s 2 (Clock)

    Lab 2: Thay iclockca bithchnh s1

    8MHz 16MHz

  • 8/13/2019 vi xu ly msp 430

    13/13

    8/5/2013

    MLab Embedded Solutionswww.mlab.com.vn

    Thank you !!!

    25


Recommended