SLAU318G July 2010 – March 2016
The LaunchPad development kit includes a pre-programmed MSP430G2553 device already installed in the target socket. When LaunchPad development kit is connected via USB, the demo starts with an LED toggle sequence. The onboard emulation generates the supply voltage and all the signals necessary to start.
Press button P1.3 to switch the application to a temperature measurement mode. A reference temperature is taken at the beginning of this mode, and the LEDs of the LaunchPad development kit signal a rise or fall in temperature by varying the brightness of the on-board red or green LED, respectively. The reference temperature can also be recalibrated with another button press on P1.3. The collected temperature data is also communicated via back-channel UART through the USB emulation circuitry back to the PC. The internal temperature sensor data from the MSP430G2553 device is sent to the PC to be displayed on the GUI. The pre-loaded demo application and the GUI are found in the Software Examples zip folder. The GUI is opened with LaunchPad_Temp_GUI.exe. This GUI is made with Processing (http://processing.org) with the source available for customization. The serial communication port on the PC must be configured with 2400 bps, one stop bit, and no flow control to display the values correctly.
The demo application uses the on-chip peripherals of the MSP430G2553 device such as the 10-bit ADC, which samples the internal temperature sensor, and 16-bit timers, which drive the PWM to vary brightness of the LEDs and enable software UART for communication with the PC. The MSP430G2553 offers a USCI interface that is capable of communicating through UART at up to 2 MBaud, but to be aligned with all the other MSP430G2xx devices, the demo uses the Timer UART implementation, which can be used on all the other devices. This way the demo can be used with any other MSP430G2xx device with an integrated ADC, without any change in the program.
The provided applications can be a great starting point for various custom applications and give a good overview of the various applications of the MSP430G2xx Value Line devices.