Digital Signal and System Design
$10-30 USD
Paid on delivery
Important:
• 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. UART serial communication with interrupt.
• Follow “[url removed, login to view]” to create a new CCS project with the name “Lab3_1”.
• Delete “main.c” if you have generated the file automatically.
• Copy the source code “Lab3_1_main.c” into your project folder.
• Make sure your LaunchPad is properly connected to PC.
• Launch the Windows 10 Device Manager – Ports (COM & LPT). Look for the line showing “XDS
110 Class Application/User UART”. For example, in my computer it is COM4. It might be a
different number in your case. Write down your Application UART port number: COM______.
• Lauch the software PuTTY. Enter the following as shown in the image, Connection type: Serial,
Serial line: COM4 (which should be your COM port number), Speed: 9600. Click the Open button.
1
• In CCS, build, load, and run your project on LaunchPad.
• Bring up the PuTTY window that you just opened, then type on the keyboard. While you are typing,
you should see the letters you typed in the Putty window have been received by the LaunchPad and
printed in the Console window in CCS as shown in the two pictures below.
2
• Explain the code line-by-line in your report.
• Once the UART communication is working as described in this problem, you can simply use the
following line in your code to display any messages on the PuTTY terminal window to help you
with the debugging of your code:
uart0_transmitStr(“You can have any text that you want to display on the terminal!”);
Problem 2. UART serial communication with polling.
• Create a new CCS project with the sample code “Lab3_2_main.c”
• This code uses polling method to receive from UART. Compile and run the code on LaunchPad.
• Study the source code and explain the source code line-by-line.
• Make the following changes in the source code, then compile and run the program again:
o Configure DCO frequency to be 12MHz.
o Configure UART0 baud-rate to be 115200. (You will also have to change the baud-rate in
PuTTY in order to communicate with LaunchPad.)
• Explain your source code line-by-line in the report.
Problem 3. Glitch filtering for user button S1.
• Create a new CCS project with the sample code “Lab3_3_main.c”.
• This sample code implements a software glitch filtering for user button S1.
• Compile and run the program. Study the source code.
• The user button S2 is connected to P1.4, which has glitch filtering capability built-in. In order to
enable glitch filter, you will need to call the following function when configuring the GPIO port:
void SysCtl_enableGlitchFilter(void);
• Modify the source code to implement the following features:
o Click button S1 to double the LED blinking frequency.
o Click button S2 to decrease the LED blinking frequency by half.
3
o Define a minimum (2-4 Hz) and a maximum (24 Hz) blinking frequencies to prevent the
blinking frequency from being increased or decreased indefinitely by user.
• Explain your source code line-by-line in the report.
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.
Project ID: #15211134
About the project
6 freelancers are bidding on average $86 for this job
..........................................................................................................................................................
Hi, Zeeshan here. I would love the opportunity to solve your assignment. I have read your assignment and have the ability to solve it with perfection. Relevant Skills and Experience I have successfully completed my BS More