



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




April 6, 2008
In this exercise you will demonstrate bi-directional communicate between the PSoC UART and the PC Hyperterminal program.
For this lab exercise, you will investigate character (byte) and stream (array of bytes) data transfers using full-duplex serial communications. You will us the high level API to receive commands on the PSoC from text entered on the PC Hyper Terminal.
B. Settings:
C. Input Translation and ASCII Setup:
Performance Assessment
Attach a hardcopy of the main.c program that you modified to the report for this assignment.
Generate a control flow diagram and a collaboration diagram for your program that includes all functionality.
Include a copy of the capture oscilloscope (not logic analyzer) waveform when the characters ‘E’ and ‘C’ from the string “ECE341 Lab #9\r” that is sent to the PC from the PSoC processor. The oscilloscope should be connected to PSoC pin Port 2 pin 7.
Justify the trace captured in part 3 by identifying each bit in the trace as “Start”, “Stop”, “Parity”, or “D0” through “D7”
Explain the value that you used for “VC3 Divide” to generate the 38200 BAUD serial communications. What is the accuracy of the serial clock rate for 38.4K baud communications?