digtal signal 4


• 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.


• 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.


• 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.


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.

Beceriler: Elektrik Mühendisliği

Daha fazlasını görün: digital signal example, digital signals are represented by two different, digital signal definition, define digital signal, advantages of digital signal, why would you use a signal conditioner module?, can an analog signal be changed into a digital signal?, digital signal vs analog signal, want to find a tutor or professional to help my grandson 4 years to prepare him for pre k, digtal signal processing, ple such l want we fashion designer 4 7 line, iam electronics and communication engineer fresger i want to work in dubai which course useful for me to get job and how the eas, i want a story of scientis are important story, 4 important way of writing a good article, i want to redesign my school website i have details in my website budget is 20 usd i want to complete within 2 or 4 hours first

İşveren Hakkında:
( 0 değerlendirme ) denton, United States

Proje NO: #15211126

6 freelancer bu iş için ortalamada 164$ teklif veriyor

in 3 gün içinde155$ USD
(5 Değerlendirme)

A proposal has not yet been provided

in 2 gün içinde200$ USD
(17 Değerlendirme)
in 3 gün içinde30$ USD
(35 Değerlendirme)

Hello, how are you? I have read the details provided, but please contact me so that we can discuss more on the project. I don't outsource like most people do ensuring quality work on time Relevant Skills and Experien Daha fazlası

in 3 gün içinde147$ USD
(4 Değerlendirme)

I can do the complete assignment and provide you with the report as well. Relevant Skills and Experience I am an electronic engineer with more than 10 years of experience. I have worked on several microcontroller base Daha fazlası

in 5 gün içinde200$ USD
(2 Değerlendirme)

A proposal has not yet been provided

in 14 gün içinde250$ USD
(0 Değerlendirme)