background image

www.ti.com

Software Examples

The "Run App" selection has four modes:

1. Title Mode (Warning Page)

2. Deep Sleep -LPM3.5 Mode

3. Display Mode

4. Low Battery Indicator Mode

When in Title mode or Display mode, press the right button (S2) to put the device into LPM3.5 (Deep
Sleep Mode). Also in these two modes, press the left button (S1) at any time to exit the app and return to
the main menu.

When in Deep Sleep mode, the device remains in LPM3.5, and only the RTC is active. The left button
(S1) is deactivated while in this mode, and the right button (S2) can be used to wake the device from
LPM3.5 and send the device into Display mode. Also, in this mode the RTC wakes up the device
periodically to allow the ADC to sample the supply voltage before returning to LPM3.5. These ADC
samples of the supply voltage are logged into FRAM and can be transmitted back to a PC in the "Transmit
Data" mode.

The Display mode shows the stopwatch display and also the charge consumed while in LPM3.5. The
stopwatch is started when the device enters LPM3.5 and stopped on exit. Hence the total time spent in
LPM3.5 is displayed in HH:MM:SS format. The charge indicator is a reflection of the most recent ADC
sample of supply voltage. If the device is left inactive at the "Display Mode" screen for more than ten
seconds, the app times out, and control reverts to the main menu.

Low Battery mode is entered conditionally following an ADC measurement of the supply voltage. When
V

CC

< 2.2 V, the device displays a "Low Battery" warning screen. The screen recommends that the device

be plugged into the PC through USB for charging. In this mode, the left button (S1) is deactivated, and the
right button (S2) is used to check if USB has been plugged in or not. If the device has not been plugged
into USB and the right button (S2) is pushed, the device remains in Low Battery mode. If the device has
been plugged into USB and the right button (S2) is pushed, the device enters Deep Sleep mode again.

When running this application, the ADC measurements are logged in FRAM while the device is running
from the super cap indicating that the ADC sampling and FRAM write have a very low-power footprint.
These logged values can then be sent to the PC and the data processed to analyze the reduction of
charge over time. The transfer of data can be done in the UART transmit mode.

The basic operation of the UART transmit mode is outlined below.

1. The eUSCI-UART and DMA modules are set up to transfer the data from FRAM.

2. "Sending Data – Please Wait" screen is displayed while the operation is in progress.

3. On completion "Data Send Complete" screen is displayed.

4. The data can be viewed using any hyperterminal application on the PC.

3.4.6

Active Power Application

The active power of the MSP430FR5969 device is directly dependent on the code and data cache hit ratio
and the clock speed of the CPU. The Active Power application shows the impact of both these factors on
overall system power.

To measure the power consumption of the MSP430FR5969 for the different frequencies and cache hit
ratios, the following steps should be followed:

1. Remove the "Measure Current" jumper from the LaunchPad

2. Use an ammeter set to the "mA" range and connect the leads of the ammeter to the nodes of the

"Measure Current" jumper

3. Navigate the main menu to the "Active Mode" app

4. Choose a frequency and cache hit ratio from the subsequent menus

5. Press the right button (S2) to enter the cache hit code

6. Tune the ammeter range to obtain the most accurate current measurement values

7. Prior to exiting the cache hit code, ensure that ammeter is in "mA" range, then press right button (S2)

to exit cache hit code

31

SLAU535B – February 2014 – Revised July 2015

MSP430FR5969 LaunchPad™ Development Kit (MSP

EXP430FR5969)

Submit Documentation Feedback

Copyright © 2014–2015, Texas Instruments Incorporated

Summary of Contents for MSP-EXP430FR5969

Page 1: ...tures buttons and LEDs for quick integration of a simple user interface as well as a super capacitor super cap that enables standalone applications without an external power supply Figure 1 MSP EXP430...

Page 2: ...e bat 23 17 Directing the Project Import Function to the Demo Project 24 18 When CCS Has Found the Project 25 19 Live Temperature Mode 26 20 FRAM Log Mode 27 21 FRAM Unified Memory With Dynamic Partit...

Page 3: ...ed in your development Free software development tools are also available TI s Eclipse based Code Composer Studio IDE CCS and IAR Embedded Workbench IDE IAR and the community driven Energia open sourc...

Page 4: ...ture and input voltage values After reconnecting to the GUI these values can be uploaded and graphed in the GUI A more detailed explanation of each mode can be found in Section 3 1 5 Next Steps Lookin...

Page 5: ...ws an overview of the LaunchPad hardware Figure 2 EVM Overview 5 SLAU535B February 2014 Revised July 2015 MSP430FR5969 LaunchPad Development Kit MSP EXP430FR5969 Submit Documentation Feedback Copyrigh...

Page 6: ...latform FRAM is a cutting edge memory technology combining the best features of flash and RAM into one nonvolatile memory More information on FRAM can be found at www ti com fram Device features inclu...

Page 7: ...TB0 4 COUT 29 P3 6 TB0 5 30 P3 7 TB0 6 31 P1 6 TB0 3 UCB0SIMO UCB0SDA TA0 0 32 P1 7 TB0 4 UCB0SOMI UCB0SCL TA1 0 33 P4 4 TB0 5 34 P4 5 35 P4 6 36 DVSS 37 DVCC 38 P2 7 39 P2 3 TA0 0 UCA1STE A6 C10 40 4...

Page 8: ...en out or if an input should be pulled or driven to a high or low level 4 Begin target FR5969 execution 5 Measure the current Keep in mind that if the current levels are fluctuating it may be difficul...

Page 9: ...ct interfacing to a PC for easy programming debugging and evaluation The eZ FET uses Spy Bi Wire SBW two wire protocol to interface with the MSP430 devices These pins are the SBW RST and SBW TST pins...

Page 10: ...he MSP Application UART1 port In this case Figure 6 shows COM13 but this varies from one host PC to the next After you identify the correct COM port configure it in your host application according to...

Page 11: ...the application energy profile as well as CPU and peripheral states By default EnergyTrace technology is disabled in CCS To enable EnergyTrace click Window Preferences Code Composer Studio Advanced T...

Page 12: ...r separate tabs Profile States Power and Energy Table 1 EnergyTrace Debug Windows EnergyTrace Description Debug Window Profile Displays a compressed view of captured data and allows comparison with pr...

Page 13: ...ofile to project directory When saving an EnergyTrace profile the default filename will start with MSP430_D followed by a timestamp When saving an EnergyTrace profile the default filename will start w...

Page 14: ...olation Block Connections Jumper Description GND Ground V 3 3 V rail derived from VBUS by an LDO in the eZ FET domain Backchannel UART Ready To Send for hardware flow control The target can use this t...

Page 15: ...do this disconnect every jumper in the isolation jumper block This is necessary because the emulator cannot connect to more than one target at a time over the Spy Bi Wire SBW connection Next make sure...

Page 16: ...osterPack Power Domain Legend Hardware www ti com 2 4 Power The board is designed to support five different power scenarios The board can be powered by the eZ FET or JTAG debugger external power Boost...

Page 17: ...3 3 V ensure that a jumper is connected across the J13 V terminal The eZ FET is a debugger so J10 must be set to debugger for power to reach the target MSP430FR5969 device For the power configuration...

Page 18: ...me use cases it might be required to power the board from a BoosterPack When powered from a BoosterPack the BoosterPack voltage should be across J4 Pin 1 Vcc and J5 Pin 20 GND This complies with the B...

Page 19: ...per cap to power the LaunchPad first change the J2 jumper to select Use and then set a jumper on J11 to charge the super cap After waiting for it to charge any external power can be removed from the s...

Page 20: ...oosterPack Plug in Module Headers The BoosterPack headers allow for a variety of applications to be created by plugging BoosterPacks onto the LaunchPad BoosterPacks cover a wide range of possible appl...

Page 21: ...oftware More information about compatibility can be found at http www ti com launchpad Figure 15 shows the 20 pin pinout of the FR5969 LaunchPad Note that software s configuration of the pin functions...

Page 22: ...b to display graphics primitives and images 3 1 MSP430 Software Driver Library Graphics Library and Capacitive Touch Library The examples are built upon three MSP430 libraries available from TI shown...

Page 23: ...0Flasher tool is also shipped to interface with the eZ FET Emulator To quickly program a demo onto the LaunchPad simply navigate into the corresponding demo project s directory and double click the Pr...

Page 24: ...igure 17 Directing the Project Import Function to the Demo Project Selecting the CCS or CCS_Code_Size_Limited folder also works The CCS specific files are located there When you click OK CCS should re...

Page 25: ...stall MSP430Ware which contains driverlib grlib capacitive touch library and the TI Resource Explorer These are already included in a CCS installation unless the user selected otherwise 3 3 Out of Box...

Page 26: ...3 to wait for UART commands from the PC GUI The GUI that is included in the MSP EXP430FR5969 Software Examples download is required to connect to the serial port that the LaunchPad s UART communicatio...

Page 27: ...ting the FRAM Log Mode 3 3 4 FRAM Log Mode To enter the FRAM Log Mode click the Start button under FRAM Log Mode in the GUI s Application Controls panel The PC GUI immediately sends the current system...

Page 28: ...HARP96 BoosterPack and has a very limited use without it The full demo source code cannot be built with the free version of CCS or IAR IAR KickStart because of the code size limit To bypass this limit...

Page 29: ...ption to turn on or off the seconds display is provided using the left button S1 This is useful when attempting to measure power The device spends most of the time in standby LPM3 waking up every one...

Page 30: ...ck E 1015 write cycles This is a minimum specification for FRAM endurance found in the device data sheet Table 9 FRAM Endurance Calculation for 1KB Block of FRAM Variable Derived From Value E FRAM end...

Page 31: ...ins in Low Battery mode If the device has been plugged into USB and the right button S2 is pushed the device enters Deep Sleep mode again When running this application the ADC measurements are logged...

Page 32: ...paddles along the side of the screen When the user misses the ball it will be held in place for a few cycles before starting to move again to give the user a chance to regroup following losing a life...

Page 33: ...ge If the Sharp display was a color display with 16 bits or color per pixel common in color displays this buffer would be significantly larger 2 When selecting a microcontroller for an application wit...

Page 34: ...and all parametric sheet Microcontroller data sheet SLAS704 information for this device 4 3 Download CCS IAR or MSPGCC Although the files can be viewed with any text editor more can be done with the p...

Page 35: ...ple code examples that demonstrate how to use the MSP430 s entire set of peripherals ADC12 Timer_A Timer_B and so on These do not use driverlib rather they access the MSP430 registers directly Every M...

Page 36: ...e a problem on the host side Probe on TXD while sending data from the MSP430 If you don t see data it might be a configuration problem on the USCI_A0 module Consider the use of the hardware flow contr...

Page 37: ...P2 0 TB0 6 25 P2 1 TB0 0 26 P2 2 TB0 2 27 P3 4 TB0 3 SMCLK 28 P3 5 TB0 4 COUT 29 P3 6 TB0 5 30 P3 7 TB0 6 31 P1 6 TB0 3 32 P1 7 TB0 4 33 P4 4 TB0 5 34 P4 5 35 P4 6 36 DVSS 37 DVCC 38 P2 7 39 P2 3 TA0...

Page 38: ...3 J2 Place Jumper 1 2 3 J8 dnp R2 10 R7 10 S3 C1 1n R1 47k 1 2 3 J1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 J13 C7 0 1F EEC S0HD104H J11 Place Jumper 1 2 3 4 5 6 J21 dnp J7 VCC JTAG VCC TD...

Page 39: ...38 1 1 TP110 TP 038 1 1 TP114 TP 038 1 1 TP113 TP 038 1 IO1 2 IO2 3 GND 4 IO3 5 IO4 6 VCC IC102 TPD4E004DRY R123 33k C108 100n C105 100n 1 IN 2 GND 3 OUT 4 NC 5 NC 6 EN IC101 TLV70036DSE 1 2 3 4 5 6 7...

Page 40: ...1SOMI PM_UCB1SCL 44 P4 3 PM_UCB1CLK PM_UCA1STE 45 P4 4 PM_UCA1TXD PM_UCA1SIMO 46 P4 5 PM_UCA1RXD PM_UCA1SOMI 47 P4 6 PM_NONE 48 P4 7 PM_NONE 49 VSSU 50 PU 0 DP 51 PUR 52 PU 1 DM 53 VBUS 54 VUSB 55 V18...

Page 41: ...C 16 DVCC 17 PWPD MSP102 MSP430G2452RSA R116 4k7 R117 4k7 R127 3k3 R126 2k2 R128 6k8 C115 33p R112 220k R113 220k C116 33p R114 220k R115 220k C106 4 7u 1 NO1 2 V 3 IN1 4 COM2 5 NO2 6 GND 7 IN2 8 COM1...

Page 42: ...430FR5969 Software Examples and the MSP EXP430FR5969 Hardware Design Files 1 Changed arrangement of subsections in Section 2 5 NOTE Page numbers for previous revisions may differ from page numbers in...

Page 43: ...set forth above or credit User s account for such EVM TI s liability under this warranty shall be limited to EVMs that are returned during the warranty period to the address designated by TI and that...

Page 44: ...the antenna types listed in the user guide with the maximum permissible gain and required antenna impedance for each antenna type indicated Antenna types not included in this list having a gain great...

Page 45: ...t the EVM user guide prior to connecting any load to the EVM output If there is uncertainty as to the load specification please contact a TI field representative During normal operation even with the...

Page 46: ...OST OF REMOVAL OR REINSTALLATION ANCILLARY COSTS TO THE PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES RETESTING OUTSIDE COMPUTER TIME LABOR COSTS LOSS OF GOODWILL LOSS OF PROFITS LOSS OF SAVINGS LOSS OF...

Page 47: ...e resources are subject to change without notice TI grants you permission to use these resources only for development of an application that uses the TI products described in the resource Other reprod...

Reviews: