help

profiledwcfn3
ilab6_cover_sheet_4.docx

----- Delete FROM this line …

After reading these directions, please delete them:

1 – Go over ALL the recordings for iLab6

2 – Use the start-up code that has been provided to you. Remember that the code will not compile as-is … You have to add a delay() function call. A delay of a few milliseconds will suffice

3 – Along with this document, please submit a .ZIP file containing the directory structure with all the project and source code files (in other words EVERYTHING that I need in order to run and download your design project). Name the file iLab6_YourLastName.zip, and upload it dropBox, along with this document

4 – Once you are sure your Lab Report is complete, remove these lines, save and upload your document to the dropBox (if possible, try to submit this document as a PDF file).

5 – Make sure your iLab is formatted properly, and looks pleasant on the eye

6 – Please read this - The code that prints the character to the LCD must be in main(), not in the ISR. Also, your code must make sure that a key is printed only once – In other words, the key has to released and then pressed again for the same character to appear on the LCD. The easiest way to proceed about this is to have the ISR raise a flag. Function main() monitors the flag. If the flag is raised the character is printed, and the flag is cleared.

7 - For iLab6A, is there a way, through the debugger, to modify the variable that you are sending to the SCI module? Or, is there a way to modify the contents of the appropriate SCI register? What would this register be?

TO this line -----------

Laboratory Report Cover Sheet DeVry University College of Engineering and Information Sciences

Course Number: ECET 340

Professor:

Laboratory Number: 6

Laboratory Title: Asynchronous Serial Communications in C

Submittal Date: Click here to enter a date.

Objectives (1pts):

Results (2pts):

Conclusions (2pts):

Student Name: _______________

Observations/Measurements:

I. 1, iLab6A (Scope Capture) – Include a scope capture of the signal on PS1 (CMOS level) (1pts)

I. 2, iLab6A (Scope Capture Interpretation) – Paste the same picture. Label the diagram identifying Idle, Start, data bits LSB (D0) through MSB (D7) (1pts)

I. 3, iLab6A (Scope Capture Interpretation) – Paste the same picture. Label a single bit and determine the bit time (1pts)

I. 4, iLab6A (Scope Capture Interpretation) – Paste the same picture. Label the total transmission from the start bit to the stop bit, and indicate the total time (1pts)

I. 5, iLab6B (Scope Capture CMOS Voltage Level) – Include a scope capture on the signal on PS1 (make sure to identify the pk-pk voltage) (1pts)

I. 6, iLab6B (Scope Capture RS-232 Voltage Level) – Include a scope capture on the signal on Pin 2 on the DB9 connector (make sure to identify the pk-pk voltage) (1pts)

I. 7, iLab6C (Design Project) – Paste all the code in the file that holds your main() function (do not paste any other code) (19pts)

I. 8, iLab6C (LCD Picture) – Include a picture of the LCD displaying the various key presses (1pts)

Questions:

1. What commands are utilized for the configuration of the asynchronous serial communications transmitter? How does each affect the operation of the transmitter? (1pt)

2. What is being used to configure the setup and control of the asynchronous serial communications receiver? (1pt)

3. Describe a technique that can be used to configure the software to manage both the transmitter and receiver? (1pt)

4. Discuss challenges experienced in working on the lab project. (1pt)

Course Number: ECET-340 Laboratory Number: 5 Page 1 of 4