HOME SYLLABUS HOMEWORK LABS LINKS NOTES
|
The goal of this assignment is to gain more experience programming MSP430 functionality in C-language, and practice using the integrated debugger in the CCS IDE.
5Volts - Level ShifterIn order to make the LCD work with the MSP420, you must shift (increase) the voltage from 3.3 to 5.0 volts with a level shifter. Documentation for this is here. Figure 2 (page 10) is the approach for the Level-Shifter. Or....buy a cheap LCD that works at 3.3V!
Four-State LCD DisplayConnect the LCD to Port 1 for Databus inputs (DB0-DB7) & to Port 2 for Control Signals (RS/RW/EN). Write a C-program that uses the MSP430 to send messages to the LCD display. The LCD should go through 4 different states: Hello, Name 1, Name 2, Blank-stage. Once the program reaches the "blank-stage", it should jump back up to the first state and run forever. See below for details of each State. The delay for the LCD can be either by: Owned designed Delay-function or can use WDTimer ISR capabilities, or other means. For details of LCD control, pin-out & other things, see the note slides. The LCD's Datasheet pdf-file State 1 (Mandatory):
State 2 (Mandatory):
State 3 (Mandatory):
State 4 (Optional):
State 5 (Optional):
State 6..or 4 (Mandatory):
LCD / MSP430 Circuit
Submission:1 - Have the lab checked out by Matt, Clint or Damian by showing your code, flashing your code to the board, and display working circuit. 2 - Print your final code with the following header: /*************************************************** 3 - Make sure you have a well commented code
Copyright © 2011 by Keith Vertanen. |
Montana Tech --
College of Letters, Science &
Professional Studies -- Computer Science
Department
All Rights Reserved and Copyright
© 2013 by Damian Valles