Transcription of MSP430FR4133 LaunchPad™ Development Kit …
1 1 SLAU595B October2014 RevisedJanuary2017 SubmitDocumentationFeedbackCopyright 2014 2017,TexasInstrumentsIncorporatedMSP430F R4133 launchpad DevelopmentKit (MSP EXP430FR4133)User's GuideSLAU595B October2014 RevisedJanuary2017 MSP430FR4133 launchpad DevelopmentKit(MSP EXP430FR4133)The MSP-EXP430FR4133 launchpad DevelopmentKit is an easy-to-useevaluationmodule(EVM)forthe MSP430FR4133microcontroller(seeFigure1). It containseverythingneededto startdevelopingonthe MSP430 ultra-low-power(ULP)FRAM-basedmicrocontr oller(MCU)platform,includingon-boardemul ationfor programming,debugging,and boardfeatureson-boardbuttonsand LEDsfor quickintegrationof a simpleuserinterfaceand a liquidcrystaldisplay(LCD)that showcasesthe integrateddriverwith October2014 RevisedJanuary2017 SubmitDocumentationFeedbackCopyright 2014 2017,TexasInstrumentsIncorporatedMSP430F R4133 launchpad DevelopmentKit (MSP EXP430FR4133) of Project>ImportFunctionto the Foundthe TI (1 of 6).
2 2516 Schematics(2 of 6)..2617 Schematics(3 of 6)..2718 Schematics(4 of 6)..2819 Schematics(5 of 6)..2920 Schematics(6 of 6)..30 List of MinimumRequirementsfor of SourceFilesand October2014 RevisedJanuary2017 SubmitDocumentationFeedbackCopyright 2014 2017,TexasInstrumentsIncorporatedMSP430F R4133 launchpad DevelopmentKit (MSP EXP430FR4133)TrademarksLaunchPad,MSP430, BoosterPack,CodeComposerStudio,EnergyTra ce,E2E are trademarksof EmbeddedWorkbenchis a registeredtrademarkof IAR MSP-EXP430FR4133 launchpad DevelopmentKit is an easy-to-useEvaluationModule(EVM)forthe MSP430FR4133microcontroller(seeFigure1). It containseverythingneededto startdevelopingonthe MSP430 ultra-low-power(ULP)FRAM-basedmicrocontr oller(MCU)platform,includingon-boardemul ationfor programming,debugging,and boardfeatureson-boardbuttonsand LEDsfor quickintegrationof a simpleuserinterfaceand a liquidcrystaldisplay(LCD)that showcasesthe integrateddriverwith MSP430FR4133devicefeaturesembeddedFRAM(f erroelectricrandomaccessmemory),a nonvolatilememoryknownfor its ultra-lowpower,high endurance,and simplifiedby the 20-pinBoosterPack Plug-inModuleheaders,whichsupporta widerangeof can quicklyadd featureslike wirelessconnectivity,graphicaldisplays,e nvironmentalsensing,and BoosterPackor chooseamongmanyalreadyavailablefromTI and also available,includingTI's Eclipse-basedCodeComposerStudio (CCSTUDIO) and IAR EmbeddedWorkbench IAR-KICKSTART.
3 Bothof theseintegrateddevelopmentenvironments(I DEs)supportEnergyTrace technologywhenpairedwith launchpad ,the supportedBoosterPacks,andavailableresour cescan be foundat TI's Features MSP430ultra-low-powerFRAM technologybasedMSP430FR413316-bitMCU 20-pinLaunchPadstandardthat leveragesthe BoosterPackecosystem eZ-FET,an open-sourceonboarddebuggerthat featuresEnergyTracetechnology On-boardsegmentedLCD Two buttonsand two LEDsfor userinteraction BackchannelUART throughUSBto 's Contents 1 x MSP-EXP430FR4133 LaunchPadDevelopmentKit 1 x micro-USBcable 1 x :Out-of-BoxExperienceAn easyway to get familiarwith the EVMis by usingits demonstratessomekey featuresfroma October2014 RevisedJanuary2017 SubmitDocumentationFeedbackCopyright 2014 2017,TexasInstrumentsIncorporatedMSP430F R4133 launchpad DevelopmentKit (MSP EXP430FR4133) the ComputerConnectthe LaunchPadusingthe includedUSBcableto a properoperation,driversare is recommendedto get driversby installingan IDEsuchas TI's CCSor IAR also availableat Out-of-BoxDemoWhenconnectedto the computer,the LaunchPadpowersup and displaysa greetingmessageon hold the S1 and S2 buttonssimultaneouslyto selecta new moredetailedexplanationof eachmodecan be foundin modeprovidesa supportssplit time,wherethe displayfreezeswhilethe stopwatchcontinuesrunningin the :S1: StarttimeS2: ResettimeTimerRunning:S1: StoptimeS2.
4 Splittime (lap time) modeprovidesa on-chiptemperaturesensor,thetemperaturei s displayedon the : PausecurrenttemperatureS2: Toggletemperaturebetween F and :LookingInto the ProvidedCodeAfterthe EVMfeatureshavebeenexplored,the fun can 's time to openan integrateddevelopmentenvironmentand starteditingthe for moreinformationon IDEsand whereto out-of-boxsourcecodeand morecodeexamplesare providedfor Codeis licensedunderBSD,and TI encouragesreuseandmodificationsto fit describesall of the functionsin detailand describesthe projectstructureto help familiarizeyouwith the onboardeZ-FETemulatordebuggingand downloadingnew codeis USBconnectionbetweenthe EVMand a PC throughthe providedUSBcableis all that is needed.{eZ-FET on-board emulatorEnables debugging/programming aswell as communication back to thePC. The eZ-FET can also providepower to the target EnergyTrace TechnologyTMReal-time power consumption readings andstate updates from the MSP430FR4133 MCU, including CPU and peripheral stateare viewable through the EnergyTrace GUIJ umpers to isolate emulatorfrom target MCU (J101)- Back-channel UART to PC(RTS, CTS, RXD, TXD)- Spy-Bi -Wire d ebug (SBWTDIO/SBWTCK)- Power (5V, 3V3, and GND)20-pin BoosterPackplug-in module connector(J1 and J2){Button/ SwitchS2 User LEDsLED1, LED2 Button/ SwitchS1 Segmented LCD Display- 6 alphanumeric characters- 6 symbols for various applications- Ultra-lo w power displayMSP430FR4133 MicrocontrollerMSP1 Reset{ October2014 RevisedJanuary2017 SubmitDocumentationFeedbackCopyright 2014 2017,TexasInstrumentsIncorporatedMSP430F R4133 launchpad DevelopmentKit (MSP EXP430FR4133)}}}
5 2 HardwareFigure2 showsan overviewof the MSP-EXP430FR4133 OverviewTarget , GreenCrystal4 MHzUART/SBW to TargetUser Interface2 Buttons and 2 LEDs20-pin LaunchPadstandard headersPower to TargetResetbuttonSegmented October2014 RevisedJanuary2017 SubmitDocumentationFeedbackCopyright 2014 2017,TexasInstrumentsIncorporatedMSP430F R4133 launchpad DevelopmentKit (MSP EXP430FR4133) showsthe MSP430FR4133is the next devicein TI's new a cuttingedgememorytechnology,combiningthe best featuresof flashand RAMinto one : Up to 16-MHzsystemclockand 8-MHzFRAM access 16 KBof nonvolatileFRAM Industry's lowest-powerLCDcontroller IR modulationlogic Two timerblocksand up to threeserialinterfaces(SPI,UART,or I2C) Analog:10-channel10-bitdifferentialADC Digital:RTC, + Veref+ UCA0 October2014 RevisedJanuary2017 SubmitDocumentationFeedbackCopyright 2014 2017,TexasInstrumentsIncorporatedMSP430F R4133 launchpad DevelopmentKit (MSP EXP430FR4133)Figure4.
6 October2014 RevisedJanuary2017 SubmitDocumentationFeedbackCopyright 2014 2017,TexasInstrumentsIncorporatedMSP430F R4133 launchpad DevelopmentKit (MSP EXP430FR4133) TechnologyTo keepdevelopmenteasyand cost effective,TI's LaunchPadDevelopmentKits integratean onboardemulator,whicheliminatesthe needfor MSP-EXP430FR4133has the eZ-FET emulator(seeFigure5), whichis a simpleand low-costdebuggerthat supportsall eZ-FETE mulatorThe MSP-EXP430FR4133 LaunchPadfeaturesEnergyTracetechnologybu t doesnot havesupportforEnergyTrace++ EnergyTracefunctionalityvariesacrossthe MSPportfolio(seeTable1).Table1. EnergyTraceTechnologyFeatureEnergyTrace TechnologyEnergyTrace++ TechnologyCurrentMonitoring CPUS tate Peripheraland SystemState DevicesSupportedAll MSP430 MCUsMSP430FR59xxandMSP430FR69xxMCUsDevel opmentToolRequiredMSP-FETor eZ-FETMSP-FETor eZ-FETThe eZ-FETalso providesa "backchannel" UART-over-USBconnectionwith the host,whichcan be veryusefulduringdebuggingand for easycommunicationwith a PC.
7 The providedUART supportshardwareflow control(RTSand CTS),althoughby defaultthesesignalsare not connectedto the dottedline throughJ101shownin Figure5 dividesthe eZ-FETemulatorfromthe crossthis line can be disconnectedby jumperson J101,the the isolationjumperblockare in eZ-FEThardwarecan be foundin the schematicsin Section6 and in the accompanyingMSP-EXP430FR4133 HardwareDesignFiles. The softwareand moreinformationaboutthe debuggercan befoundon the eZ-FETlite October2014 RevisedJanuary2017 SubmitDocumentationFeedbackCopyright 2014 2017,TexasInstrumentsIncorporatedMSP430F R4133 launchpad DevelopmentKit (MSP EXP430FR4133) :IsolationJumperBlockThe isolationjumperblockat jumperJ101allowsthe userto connector disconnectsignalsthat crossfromthe eZ-FETdomaininto the includeseZ-FETSpy-Bi-Wiresignals,applica tionUART signals,and 5-V power(seeTable2 and Figure6).Reasonsto opentheseconnections: To removeany and all influencefromthe eZ-FETemulatorfor high accuracytargetpowermeasurements To control3-V and 5-V powerflow betweenthe eZ-FETand targetdomains To exposethe targetMCUpins for otheruse thanonboarddebuggingand applicationUART communication To exposethe programmingand UART interfaceof the eZ-FETso that it can be usedfor devicesotherthanthe IsolationBlockConnectionsJumperDescripti onGNDG round5V5-V , derivedfromVBUSby an LDOin the eZ-FETdomainRTS>>BackchannelUART:Ready-T o-Send,for hardwareflow targetcan use this to indicatewhetheritis readyto receivedatafromthe host PC.
8 The arrowsindicatethe directionof the <<BackchannelUART:Clear-To-Send,for hardwareflow host PC (throughthe emulator)usesthisto indicatewhetherit is readyto arrowsindicatethe directionof the <<BackchannelUART:The targetFR4133receivesdatathroughthis arrowsindicatethe directionof the >>BackchannelUART:The targetFR4133sendsdatathroughthis arrowsindicatethe directionofthe pin also functionsas the RSTsignal(activelow).SBWTSTSpy-Bi- pin also functionsas the TST Emulator MCUI solation Jumper BlockSpy-Bi-Wire (SBW) EmulationApplication Power5V PowerTarget MSP430 MCUeZ-FETMSP430 TargetUSB Connectorin outLDOB oosterPack HeaderBoosterPack October2014 RevisedJanuary2017 SubmitDocumentationFeedbackCopyright 2014 2017,TexasInstrumentsIncorporatedMSP430F R4133 launchpad DevelopmentKit (MSP EXP430FR4133)Figure6. (or "Backchannel") UARTThe backchannelUART allowscommunicationwith the USBhost that is not part of the targetapplication' is usefulduringdevelopmentand also providesa communicationchannelto thePC host can be usedto creategraphicaluserinterfaces(GUIs)and otherprogramson the PCthat communicatewith the pathwayof the backchannelUARTis shownin Figure6.
9 The backchannelUARTis the USCI limitations,this UART channelis sharedwith the UARTon the 20-pinBoosterPackconnector(eUSCI_A0).Thi s UART channelis also sharedwith the red LEDon isa lot of sharing,but all 64 pins of the deviceare usedand this was doneout of the host side,a virtualCOMport for the applicationbackchannelUARTis generatedwhentheLaunchPadenumerateson the can use any PC applicationthat interfaceswith COMports,includingterminalapplicationsli ke Hyperterminalor Docklight,to openthis port and communicatewith needto identifythe COMport for the WindowsPCs,DeviceManagercan assist(seeFigure7).Figure7. ApplicationBackchannelUARTin October2014 RevisedJanuary2017 SubmitDocumentationFeedbackCopyright 2014 2017,TexasInstrumentsIncorporatedMSP430F R4133 launchpad DevelopmentKit (MSP EXP430FR4133)The backchannelUARTis the "MSPA pplicationUART1" this case,Figure7 showsCOM13,butthis port can vary fromone host PC to the identifythe correctCOMport,configureit inyourhost applicationaccordingto its can thenopenthe port and begincommunicationto it fromthe the targetMSP430FR4133side,the backchannelis connectedto the eZ-FEThas a configurablebaudrate.
10 Therefore,it is importantthat the PC applicationconfiguresthe baudrate tobe the sameas whatis configuredon the eZ-FETalso supportshardwareflow control,if control(CTSand RTShandshaking)allowsthe targetMSP430FR4133and the emulatorto tell eachotherto wait low baudratesand with simpletargetapplications,flow controlmay not be higherbaudratesand moreinterruptsto servicehavea higherlikelihoodthat the will notbe able to readthe eUSCI_A0 RXBUF registerin time,beforethe next byte this happens,theeUSCI_A0 UCA0 STATW registerreportsan (LCD)The MSP430FR4133 LaunchPadfeaturesan on-boardLCD(seeFigure8). This LCDis drivenby theinternalLCDdriveron the October2014 RevisedJanuary2017 SubmitDocumentationFeedbackCopyright 2014 2017,TexasInstrumentsIncorporatedMSP430F R4133 launchpad DevelopmentKit (MSP EXP430FR4133)Thereare manyavailableLCDsegments,includingsix full alpha-numericnumbersand lettersin additionto severalsymbolsat the top for variousmodesor showsthe mappingof LCDFH-1138 PSegmentMappingPinCOM3 COM2 COM1 COM01A1EA1FA1GA1M2A1AA1BA1CA1D3A1 QNEGA1NA1DP4A1HA1JA1KA1P5A2EA2FA2GA2M6A2 AA2BA2CA2D7A2QA2 COLA2NA2DP8A2HA2JA2KA2P9A3RA3FA3GA3M10A3 AA3BA3CA3D11A3 QANTA3NA3DP12A3HA3JA3KA3P13A4RA4FA4GA4M1 4A4AA4BA4CA4D15A4QA4 COLA4NA4DP16A4HA4JA4KA4P17A5EA5FA5GA5M18 A5AA5BA5CA5D19A5 QDEGA5NA5DP20A5HA5JA5KA5P21 COM3---22-COM2--23--COM1-24---COM025---- 26----27----28----29----30----31----32 TMRHRTREC!
