EasyManuals Logo

Texas Instruments MSP430 Student Guide

Texas Instruments MSP430
398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #178 background imageLoading...
Page #178 background image
Lab 4a Program the MSP430 Clocks
Note: Before you run the code to the first breakpoint, you may see an error in the Expressions
window similar to “Error: identifier not found”. This happens when the variable in the
expression is out-of-scope. For example, this can happen if you defined the variable as a
local, but you were currently executing code in another function. Then again, it will also
happen if you delete a variable that you had previously added to the Expression watch
window.
17. Run the code to the first breakpoint and write down the Express values:
myACLK/1024: ____________________________________________________________
mySMCLK/1024: ___________________________________________________________
myMCLK/1024: ____________________________________________________________
Are these the values that you expected? ________________________________________
(Look back at Worksheet question #9, if you need a reminder.)
18. Run to the next breakpoint at the end of the initClocks() function.
Check on the values again:
myACLK/1024: ____________________________________________________________
mySMCLK/1024: ___________________________________________________________
myMCLK/1024: ____________________________________________________________
Are these the values we were asked to implement? ________________________________
(Look back at Worksheet questions 10-12.)
19. Let the program run from the breakpoint and watch the blinking LED.
4 - 52 MSP430 Workshop - MSP430 Clocks & Initialization

Table of Contents

Other manuals for Texas Instruments MSP430

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments MSP430 and is the answer not in the manual?

Texas Instruments MSP430 Specifications

General IconGeneral
BrandTexas Instruments
ModelMSP430
CategoryMicrocontrollers
LanguageEnglish

Related product manuals