c 2013iTexasiInstrumentsiIncorporated.iTheiplatformibar,iMSP430,iandiCodeiComposeriStudioiareitrademarksiofiTexasiInstruments.i Alliotheritrademarksiareitheipropertyiofitheirirespectiveiowners. Disclaimer:iiwww.ti.com/lit/sszz027 TIbResourcebExplorer TM CodebComposerbStudiobbbbbIDE tiOcomTccs SoftwarebTools .bWirelessbConnectivity .bEnvironmentalbSensing .bPowerbSources IARbEmbeddedbWorkbench R tiOcomTmspiar LaunchPadbisbsupportedbbybprofessionalbIDEsbthatbprovideb industrial.
"RcloserRlookRatRyourRnewR NaunchPadRGevelopmentRVit OutEofEboxRGemo xCbConnectingbtobthebcomputer HonnectRtheRNaunchPadRusingRtheRincludedRUS?RcableRtoRaRcomputerxR"RgreenRpowerRNQGRshouldR illuminatexR&orRproperRoperationzRdriversRareRneededxRZtRisRrecommendedRtoRgetRdriversRbyRinstallingRanRZGQR suchRasRTZbsRHHSRorRZ"RRQW@O,xRGriversRareRalsoRavailableRatRtixcomIJSPdriversx Featuredbmicrocontroller:bJSP@O,&R/q+q ThisbLaunchPadbisbgreatbforCCC ER?atteryEoperatedRNHGRapplicationsRenabledRbyRtheRultraElo
IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest issue. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and complete.
User's Guide SLAU627A – May 2015 – Revised July 2015 MSP430FR6989 LaunchPad™ Development Kit (MSP‑EXP430FR6989) The MSP-EXP430FR6989 LaunchPad™ Development Kit is an easy-to-use evaluation module (EVM) for the MSP40FR6989 microcontroller (MCU). It contains everything needed to start developing on the ultralow-power MSP430FRx FRAM microcontroller platform, including on-board emulation for programming, debugging, and energy measurements. Figure 1.
www.ti.com 1 2 3 4 5 6 Contents Getting Started ............................................................................................................... 3 Hardware...................................................................................................................... 5 Software Examples ........................................................................................................ 18 Resources ...................................................................................
Getting Started www.ti.com 1 Getting Started 1.1 Introduction The MSP-EXP430FR6989 LaunchPad Development Kit is an easy-to-use Evaluation Module (EVM) for the MSP40FR6989 microcontroller (MCU). It contains everything needed to start developing on the ultralow-power MSP430FRx FRAM microcontroller platform, including on-board emulation for programming, debugging and energy measurements.
Getting Started 1.4 www.ti.com First Steps: Out-of-Box Experience An easy way to get familiar with the EVM is by using its preprogrammed out-of-box code. This code demonstrates some key features from a user level. 1.4.1 Connecting to the Computer Connect the LaunchPad using the included USB cable to a computer. A green power LED should illuminate. For proper operation, drivers are needed. TI recommends installing these driver by installing an IDE such as TI's CCS or IAR EW430.
Hardware www.ti.com 2 Hardware Figure 2 shows an overview of the MSP-EXP430FR6989 hardware. Figure 2.
Hardware 2.1 www.ti.com Block Diagram Figure 3 shows the block diagram. Micro‐B USB LED Red or Green ESD Protection Crystal 4 MHz Debug MCU EnergyTrace UART or SBW to Target Power to Target 3.3‐V LDO Reset Button Segmented LCD Crystal 32.768 kHz User Interface Two Buttons and Two LEDs Target Device MSP430FR6989 40‐pin LaunchPad Standard Headers Interface to ESI Figure 3. MSP-EXP430FR6989 Block Diagram 2.2 2.2.
Hardware ESIDVSS ESICI ESICOM AVCC1 AVSS3 PJ.7/HFXOUT PJ.6/HFXIN AVSS1 PJ.4/LFXIN PJ.5/LFXOUT AVSS2 P5.4/UCA1SIMO/UCA1TXD/S12 P5.5/UCA1SOMI/UCA1RXD/S11 P5.6/UCA1CLK/S10 P5.7/UCA1STE/TB0CLK/S9 P4.4/UCB1STE/TA1CLK/S8 P4.5/UCB1CLK/TA1.0/S7 P4.6/UCB1SIMO/UCB1SDA/TA1.1/S6 P4.7/UCB1SOMI/UCB1SCL/TA1.2/S5 P10.0/SMCLK/S4 P4.0/UCB1SIMO/UCB1SDA/MCLK/S3 P4.1/UCB1SOMI/UCB1SCL/ACLK/S2 DVSS3 P4.2/UCA0SIMO/UCA0TXD/UCB1CLK DVCC3 www.ti.com 9 67 P9.0/ESICH0/ESITEST0/A8/C8 P6.3/COM0 10 66 P1.
Hardware 2.2.2 www.ti.com eZ-FET Onboard Emulator With EnergyTrace™ Technology To keep development easy and cost effective, TI's LaunchPad Development Kits integrate an onboard emulator, which eliminates the need for expensive programmers. The MSP-EXP430FR6989 has the eZFET emulator (see Figure 5), which is a simple and low-cost debugger that supports all MSP430 device derivatives. Figure 5. eZ-FET Emulator The MSP-EXP430FR6989 LaunchPad features full EnergyTrace++ technology.
Hardware www.ti.com 2.2.3 Emulator Connection: Isolation Jumper Block The isolation jumper block at jumper J101 connects or disconnects signals that cross from the eZ-FET domain into the MSP430FR6989 target domain. This includes eZ-FET Spy-Bi-Wire signals, application UART signals, and 3.3-V and 5-V power (see Table 2 and Figure 6).
Hardware www.ti.com USB Connector eZ-FET USB in eZ-FET Emulator MCU out LDO EnergyTrace Target MSP430 MCU BoosterPack Header Spy-Bi-Wire (SBW) Emulation Application UART 3.3V Power 5V Power BoosterPack Header MSP430 Target Isolation Jumper Block Figure 6. eZ-FET Isolation Jumper Block Diagram 2.2.4 Application (or "Backchannel") UART The backchannel UART allows communication with the USB host that is not part of the target application's main functionality.
Hardware www.ti.com Figure 7. Application Backchannel UART in Device Manager The backchannel UART is the "MSP Application UART1" port. In this case, Figure 7 shows COM13, but this port can vary from one host PC to the next. After you identify the correct COM port, configure it in your host application according to its documentation. You can then open the port and begin communication to it from the host. On the target MSP430FR6989 side, the backchannel is connected to the eUSCI_A1 module.
Hardware www.ti.com Table 3.
Hardware www.ti.com Port Pin FR6989 Pin LCD Pin COM3 COM2 COM1 COM0 S40 LCDM20 P10.2 S39 16 A4H A4J A4K A4P P5.0 S38 15 A4Q A4COL A4N A4DP LCDM19 P5.1 S37 14 A4A A4B A4C A4D P5.2 S36 13 A4R A4F A4G A4M LCDM18 P5.3 S35 34 B5 B3 B1 [] P3.0 S34 LCDM17 P3.1 S33 P3.2 S32 LCDM16 P6.7 S31 20 A5H A5J A5K A5P P7.5 S30 19 A5Q DEG A5N A5DP LCDM15 P7.6 S29 18 A5A A5B A5C A5D P10.1 S28 17 A5E A5F A5G A5M LCDM14 P7.
Hardware 2.3 www.ti.com Power The board was designed to accommodate various powering methods, including through the on-board eZFET as well as external or BoosterPack power. Figure 9. MSP-EXP430FR6989 Power Block Diagram 2.3.1 eZ-FET USB Power The most common power-supply scenario is from USB through the eZ-FET debugger. This provides 5-V power from the USB and also regulates this power rail to 3.3 V for eZ-FET operation and 3.3 V to the target side of the LaunchPad.
Hardware www.ti.com 2.4 Measure MSP430 Current Draw To measure the current draw of the MSP430FR6989 using a multi-meter, use the 3V3 jumper on the jumper isolation block. The current measured includes the target device and any current drawn through the BoosterPack headers. To measure ultra-low power, follow these steps: 1. Remove the 3V3 jumper in the isolation block, and attach an ammeter across this jumper. 2.
Hardware • • www.ti.com CTS (if hardware flow control is to be used) RTS (if hardware flow control is to be used) This wiring can be done either with jumper wires or by designing the board with a connector that plugs into the isolation jumper block. 2.7 BoosterPack Pinout The LaunchPad adheres to the 40-pin LaunchPad pinout standard. A standard was created to aid compatibility between LaunchPad and BoosterPack tools across the TI ecosystem.
Hardware www.ti.com Figure 10.
Hardware 2.8 2.8.1 www.ti.com Design Files Hardware Schematics can be found in Section 6. All design files including schematics, layout, bill of materials (BOM), Gerber files, and documentation are available in the MSP-EXP430FR6989 Hardware Design Files. 2.8.2 Software All design files including TI-TXT object-code firmware images, software example projects, and documentation are available in the MSP-EXP430FR6989 Software Examples. 2.9 Hardware Change log Table 5.
Software Examples www.ti.com 3.1.1 Source File Structure The project is split into multiple files. This makes it easier to navigate and reuse parts of it for other projects (see Table 8). Table 8. Source File and Folders Name 3.1.2 Description main.c The out-of-box demo main function, initializations, shared ISRs, and other functions hal_LCD.c Hardware abstraction layer for LCD StopWatchMode.c Main function file for stopwatch mode TempSensorMode.
Software Examples 3.2 www.ti.com Blink LED Example This very simple software example shows how to software toggle a GPIO to blink an LED on the LaunchPad. 3.2.1 Source File Structure The project is split into multiple files. This makes it easier to navigate and reuse parts of it for other projects (see Table 9). Table 9. Source File and Folders Name Description main.c The Blink LED main function Library: Driverlib Device driver library (http://www.ti.
Resources www.ti.com Figure 11. TI Resource Explorer Cloud 4.1.1.2 Code Composer Studio Cloud Code Composer Studio Cloud is a web-based IDE that allows code edit, compile and download to devices right from your web browser. It also integrates seamlessly with TI Resource Explorer Cloud with the ability to import projects directly on the cloud (see Figure 12). Go check out Code Composer Studio Cloud now at http://dev.ti.com.
Resources www.ti.com Figure 12. CCS Cloud 4.1.2 Code Composer Studio Code Composer Studio Desktop is a professional integrated development environment that supports TI's Microcontroller and Embedded Processors portfolio. Code Composer Studio comprises a suite of tools used to develop and debug embedded applications. It includes an optimizing C/C++ compiler, source code editor, project build environment, debugger, profiler, and many other features.
Resources www.ti.com Figure 13. Directing the Project>Import Function to the Demo Project Selecting the \CCS subdirectory also works. The CCS-specific files are located there. When you click OK, CCS should recognize the project and allow you to import it. The indication that CCS has found it is that the project appears in the box shown in Figure 14, and it has a checkmark to the left of it.
Resources www.ti.com Figure 14. When CCS Has Found the Project Sometimes CCS finds the project but does not show a checkmark; this might mean that your workspace already has a project by that name. You can resolve this by renaming or deleting that project. (Even if you do not see it in the CCS workspace, be sure to check the workspace directory on the file system.) 4.1.
Resources www.ti.com 4.1.4 Energia Energia is a simple, open-source, and community-driven code editor that is based on the Wiring and Arduino framework. Energia provides unmatched ease of use through very high level APIs that can be used across hardware platforms. Energia is a light-weight IDE that does not have the full feature set of CCS or IAR. However, Energia is great for anyone who wants to get started very quickly or who does not have significant coding experience.
Resources www.ti.com Figure 15. Using TI Resource Explorer to Browse MSP-EXP430FR6989 in MSPWare Inside TI Resource Explorer, these examples and many more can be found, and easily imported into CCS with one click. 4.4 FRAM Utilities The TI FRAM Utilities is a collection of embedded software utilities that leverage the ultra-low-power and virtually unlimited write endurance of FRAM.
Resources www.ti.com 4.5 4.5.1 MSP430FR6989 Device Documentation At some point, you will probably want more information about the MSP430FR6989 device. For every MSP device, the documentation is organized as shown in Table 10. Table 10. How MSP Device Documentation is Organized Document 4.5.
FAQs 5 www.ti.com FAQs Q: I can't get the backchannel UART to connect. What's wrong? A: • • • Check the following: Do the baud rate in the host terminal application and the eUSCI settings match? Are the appropriate jumpers in place on the isolation jumper block? Probe on RXD and send data from the host. If you don't see data, it might be a problem on the host side. • Probe on TXD while sending data from the MSP. If you don't see data, it might be a configuration problem with the eUSCI module.
Schematics www.ti.com 6 Schematics 1 A B C D 2 3 66 65 64 63 2 3 4 5 P1.0/TA0.1/DMAE0/RTCCLK/A0/C0/VREF-/VEREFP1.1/TA0.2/TA1CLK/COUT/A1/C1/VREF+/VEREF+ P1.2/TA1.1/TA0CLK/COUT/A2/C2 P1.3/TA1.2/ESITEST4/A3/C3 P1.4/UCB0CLK/UCA0STE/TA1.0/S1 P1.5/UCB0STE/UCA0CLK/TA0.0/S0 P1.6/UCB0SIMO/UCB0SDA/TA0.1 P1.7/UCB0SOMI/UCB0SCL/TA0.2 51 50 49 48 14 15 16 17 P2.0/UCA0SIMO/UCA0TXD/TB0.6/TB0CLK P2.1/UCA0SOMI/UCA0RXD/TB0.5/DMAE0 P2.2/UCA0CLK/TB0.4/RTCCLK P2.3/UCA0STE/TB0OUTH P2.4/TB0.3/COM4/S43 P2.5/TB0.
Schematics www.ti.com 1 2 3 4 5 6 A A 1 2 3 4 5 6 7 8 9 10 21 22 23 24 25 26 27 28 29 30 40 39 38 37 36 35 34 33 32 31 20 19 18 17 16 15 14 13 12 11 B B 1 3 5 7 9 11 13 15 C 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 C 2 4 6 8 10 12 14 16 D D 1 2 3 4 5 6 Figure 17.
Schematics www.ti.com 1 2 3 4 5 6 A 1 2 A 1 2 3 1 2 1 2 3 B B C C 1 2 1 2 1 2 D D 1 2 3 4 5 6 Figure 18.
Schematics www.ti.com 1 2 3 4 5 6 A A TP 16 15 14 13 12 11 10 9 1 2 3 4 5 6 7 8 B V+ 2 B NO1 3 IN1 5 NO2 7 IN2 8 COM2 4 C 6 C COM1 GND 1 D D 1 2 3 4 5 6 Figure 19.
Schematics www.ti.com 2 3 4 5 6 2 1 3 1 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 A TP A 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 B 1 3 5 7 9 11 13 15 17 19 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 2 4 6 8 10 12 14 16 18 20 B C 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 C D D 1 2 3 4 5 6 Figure 20.
Schematics www.ti.com 1 A S 2 3 4 5 6 A S1*6 5 4 3 2 1 1 2 3 IO1 VCC 6 IO2 IO4 5 GND IO3 4 B B 6 EN OUT 3 GND IN 2 1 C C 1 1 1 1 1 1 1 1 D D 1 1 2 3 4 5 6 Figure 21.
Revision History www.ti.com Revision History Changes from May 9, 2015 to July 20, 2015 .................................................................................................................... Page • Throughout the document, changed the link destinations for the MSP-EXP430FR6989 Hardware Design Files and the MSP‑EXP430FR6989 Software Examples ............................................................................................
STANDARD TERMS AND CONDITIONS FOR EVALUATION MODULES 1. Delivery: TI delivers TI evaluation boards, kits, or modules, including demonstration software, components, and/or documentation which may be provided together or separately (collectively, an “EVM” or “EVMs”) to the User (“User”) in accordance with the terms and conditions set forth herein. Acceptance of the EVM is expressly subject to the following terms and conditions. 1.
FCC Interference Statement for Class B EVM devices NOTE: This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications.
【無線電波を送信する製品の開発キットをお使いになる際の注意事項】 開発キットの中には技術基準適合証明を受けて いないものがあります。 技術適合証明を受けていないもののご使用に際しては、電波法遵守のため、以下のいずれかの 措置を取っていただく必要がありますのでご注意ください。 1. 2. 3. 電波法施行規則第6条第1項第1号に基づく平成18年3月28日総務省告示第173号で定められた電波暗室等の試験設備でご使用 いただく。 実験局の免許を取得後ご使用いただく。 技術基準適合証明を取得後ご使用いただく。 なお、本製品は、上記の「ご使用にあたっての注意」を譲渡先、移転先に通知しない限り、譲渡、移転できないものとします。 上記を遵守頂けない場合は、電波法の罰則が適用される可能性があることをご留意ください。 日本テキサス・イ ンスツルメンツ株式会社 東京都新宿区西新宿6丁目24番1号 西新宿三井ビル 3.3.3 Notice for EVMs for Power Line Communication: Please see http://www.tij.co.
SPACER 6. Disclaimers: 6.1 EXCEPT AS SET FORTH ABOVE, EVMS AND ANY WRITTEN DESIGN MATERIALS PROVIDED WITH THE EVM (AND THE DESIGN OF THE EVM ITSELF) ARE PROVIDED "AS IS" AND "WITH ALL FAULTS." TI DISCLAIMS ALL OTHER WARRANTIES, EXPRESS OR IMPLIED, REGARDING SUCH ITEMS, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADE SECRETS OR OTHER INTELLECTUAL PROPERTY RIGHTS. 6.
IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest issue. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and complete.