MicroP lab 7 2021

.docx

School

University of Arkansas *

*We aren’t endorsed by this school

Course

L004

Subject

Electrical Engineering

Date

Jan 9, 2024

Type

docx

Pages

2

Uploaded by harrisonmd16

Report
Micro-processor Systems Design Lab 7 Fall 2021 Purpose: The purpose of this lab is to familiarize you with writing code using the A/D functions. Equipment: 1) Computer with CCS installed. 2) Multi-meter 3) Oscilloscope. 4) MSP-EXP430F5529LP LaunchPad 5) UofA Daughter Board Data Sheets: 1) User guide for MSP-EXP430F5529LP LaunchPad 2) Data sheet for EXP430F5529 3) MSP 430 Assembly Language Reference Guide 4) Schematics for UofA Daughter board Instructions: As you perform this lab save all your data for the report you will be writing in the next few weeks. You will need to have a printout of all scope wave forms. Start CCS and load the project created from the lab last week. Save the project to “ yourinitials_ Lab6.asm” and store it somewhere you can get to it. Write the necessary subroutine to set up the Analog to Digital converter such that a conversion is performed on AN0, AN1, AN2 and the Temperature sensor. Save the results of the ADC to RAM in variables named AccX, AccY, AccZ, and Temperature. Make sure the values of the analog input from the accelerometer correspond to the approached RAM variables. 1) Record the raw data from the A/D converter for the X sensor and place it on line 1 of the display. Display the Z sensor in “g” on the fourth line. Use the number format “x.x g”. Make sure use positive and negative numbers. 2) Record the raw data from the A/D converter for the Y sensor and place it on line 2 of the display. Display the Z sensor in “g” on the fourth
line. Use the number format “x.x g”. Make sure use positive and negative numbers. 3) Record the raw data from the A/D converter for the Z sensor and place it on line 3 of the display. Display the Z sensor in “g” on the fourth line. Use the number format “x.x g”. Make sure use positive and negative numbers. 4) Display the Z sensor in “g” on the fourth line. Use the number format “x.x g”. Make sure use positive and negative numbers. Put all of your screen shots, scope wave forms, data and code into the appendix of your next report.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help