English
Language : 

SLAS191A Datasheet, PDF (18/86 Pages) Texas Instruments – Starter Kit Evaluation Kit Manual
1.2.9 Starting the STK Demo Program
In the HyperTerminal program, type a d to start the demo program. If the HyperTerminal program has been
closed, double click on the Sensor Demo icon to start the demo program.
LUXMETER Demo Program:
The STK Monitor includes a demo program that shows a metering application. The application hardware
consists of the light sensor, a trigger button, and a voltage reference for the analog-to-digital converter.
When the program starts, the screen displays demo and the measured light values are shown on the LCD
display (measured in irradiance). The values are updated every 5 seconds. The A on the left side of the
LCD indicates that the shown value is less than one second old. Any keystroke interrupts the demo program
and switches back to the Monitor/HyperTerminal program. If the STK is disconnected with the demo running,
the program will run until a mounted battery is discharged. To correctly exit the program push the <ESC>
key.
Trigger Button
Voltage Reference
Light Sensor
Figure 1–9. LUXMETER Demo Program
1.2.10 Executing a Program with the STK
To execute a program, write a test program or use the gs_stk1.asm file, which is located in the
C:\ADT430\STK\EXAMPLES directory. Figure 1–11 is the Getting Started demo program.
NOTE: Programming Hint
During development, a program should reside in the free RAM area (240h-3FFh for the
MSP430x320, and 272h–50Ch for the MSP430x330) making program modification during
debug phase possible. Any code written to the device’s EPROM area on the STK cannot be
erased. The stack pointer for the MSP430x33x device resides at 005DEh.
1–12