Texas Instruments MSP-EXP430FR5969 사용자 설명서

다운로드
페이지 45
Software Examples
3.4.2
Navigation and Main Menu
Upon powering up the demo, the title screens appear on the LCD, and are followed by the main selection
menu. The main menu displays all the applications available in the demo. The application options in the
menu are highlighted by using the left capacitive touch slider.
NOTE:
Only the left capacitive touch slider is activated for navigation.
After an application is selected, the right button (S2) is used to enter the application. To change the
application or exit, use the left button (S1) and then navigate the main menu to switch to a different
application.
3.4.3
Clock Application
NOTE:
This application relies on the operation of the 32.768-kHz clock crystal that is pre-populated
on the LaunchPad.
To enter this application, highlight the "Clock" option on the main menu and then push the right button
(S2).
Immediately upon entering the Clock app, the user is expected to set the date and time details before the
clock starts running. This needs to be done every time the application is entered, because the clock
values are not maintained when running any of the other applications. To set the time and data
parameters use the following steps:
1. When the app starts, the parameter being modified begins to blink.
2. The left capacitive touch slider can be used to increment or decrement the blinking parameter by
placing a finger on the top or bottom portion, respectively, of the slider.
3. The value of the blinking parameter can be locked by placing a finger in the middle of the left
capacitive touch slider.
4. The parameter that is being modified can be changed with the right button (S2).
5. Repeat steps 2 to 4 until all parameters have been set, after which the clock resets the seconds and
begins to track the time from the set time and date.
When the clock begins to run, note that an option 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 second to update the RTC values. However if the display is
updated every second, the average power is much higher than just the LPM3 power due to time and
energy required to modify the LCD through SPI. If the SecON option is turned off, the device continues to
provide a one second wakeup to update the RTC values but the display is updated only once a minute to
save power. In this configuration the device power will be similar to power in LPM3 (refer device data
sheet for exact values).
When attempting to measure power using the Current jumper J9, ensure that the meter is in place before
the board is powered up. Removing this jumper while the application is running results in a power cycle of
the device (because the connection to V
CC
is broken), and the clock parameters must be re-entered.
3.4.4
FRAM Speed Application
To enter the FRAM Speed app, the "FRAM Speed" option on the main menu must be highlighted and the
right button (S2) then pushed. In this application, the FRAM write speed (in kilobytes per second), the total
data written to FRAM (in kilobytes), and the FRAM endurance (in percentage) is tracked and displayed on
the LCD. No user interaction is required.
The application uses Direct Memory Access (DMA) to transfer data to a 1KB block of FRAM. The starting
address of this block is defined and can be modified within the FRAMSpeedApp.h file. Note that changing
this location can cause an overlap with other application code. This is not advised, because code may be
overwritten while running the application. Hence special care needs to be taken to evaluate the size of the
code to ensure that it is not over-written while measuring the FRAM write speed.
31
SLAU535A – February 2014 – Revised June 2014
MSP-EXP430FR5969 LaunchPad™ Development Kit User's Guide
Copyright © 2014, Texas Instruments Incorporated