Digtal Signal

• Please create a new assignment folder in your working directory for each assignment, and a new problem folder in the assignment folder for each problem.

• Please backup your files in your own USB drive or your own network drive at the end of each class because the workbench computers may be reimaged without prior notice.

Problem 1. Blink LEDs with Timer0.

• Follow the Getting Started document “[url removed, login to view]” to create a new CCS project for the MSP432 LaunchPad. You may name the new CCS project as Lab2_1.

• Delete the “main.c” file if you have generated that file automatically when you were creating your new CCS project.

• Copy the source code file “Lab2_1_main.c” into your project folder.

• Build, load, and run your project on the LaunchPad.

• Observe the LED blinking pattern on LaunchPad. Explain the code line-by-line. The references

that you will need to read are listed on the page titled References in the lecture notes. You will need to develop a habit of keeping those references handy and look up information frequently from those files. What you need to explain in your report include what the code in that line does, where the function is defined, what is the definition of the function, what are the input parameters, why the parameters are given the values as in the source code.

• Stop debugging so your CCS returns back to the CCS Edit perspective.

Problem 2. Blink LEDs with SysTick timer.

• Follow “[url removed, login to view]” to create a new CCS project with the name of Lab2_2.

• Delete “main.c” if you have generated the file automatically.

• Copy the source code “Lab2_2_main.c” into your project folder.

• Build, load, and run your project on LaunchPad.

• Explain the code line-by-line in your report.

Problem 3. Square wave signal generation with SysTick timer.

• Follow “[url removed, login to view]” to create a new CCS project with the name of Lab2_3.

• Delete “main.c” file and then copy the source code “Lab2_2_main.c” into your project folder.

• Make the following changes in the “Lab2_2_main.c” file:

o Set DCO_FREQ to 48MHz

o In addition to using P1.0 as an output, configure P3.7 as output pin. Then, toggle output on

pin P3.7 at the same rate as P1.0.


• Make sure to turn off the power of (or disconnect) the LaunchPad. Then, connect wires to each of the header pins of P3.7 and GND on your LaunchPad. Next, connect an oscilloscope to the wires to measure the output signal between P3.7 and GND pins.

• Compile, load, and run your new program on LaunchPad.

• Change the value of SYSTICK_FREQ in the source code according to the table below, then

measure the signal frequency from oscilloscope to fill in the table below:

• Explain the results in the table above. What is the smallest signal frequency that you can generate correctly using the SysTick timer when MCLK clock frequency is set to 48MHz? Why?

Assignment Deliverables:

• Compile your report with pictures, plots, and the codes that you have written or modified.

• Explain in detail what you have done, why you have done in that way, and what you have learnt.

Follow the report format outlined in the Introduction lecture notes.

• Printout of your source code should be attached to your lab report printout as appendix. If your

source code goes beyond two pages, please only print the part of the source code where you have

newly written or modified.

• You also need to email your source codes to TA for grading.

Skills: Electrical Engineering

See more: marketing turn over rate, digtal signal processing, power point translation rate, copy header website, vba copy header, datagridview copy column header, turn power point video clip, copy datagridview header datagridview, turn pages header bar, mt4 copy signal, free mt4 signal copy, professional header power point, copy column header clipboard datagridview, turn power point avi file, turn power point presentation video

About the Employer:
( 0 reviews ) denton, United States

Project ID: #15196047

3 freelancers are bidding on average $27 for this job

$20 USD in 1 day
(1 Review)

I'm Saeed Hasani & study electrical engineering. I study at Shahroud UT.‎ also I know C, Java language, and MicroController. ‎I hope we have good cooperation. Relevant Skills and Experience C, microelectronic, microco More

$35 USD in 1 day
(0 Reviews)

I'll complete your assignment within a day, and explain the code line by line (lab2_1, 2_2 and 2_3) so you could understand the core concept. Also will simulate the sample output you'll get. Relevant Skills and Experi More

$25 USD in 1 day
(0 Reviews)