1 / 19

Advanced Computers and Communications (ACC)

Advanced Computers and Communications (ACC). Student Assistants: Airs Lin Aleksander Milshteyn Gabriel Nunez Evan Tsai. Faculty Advisors: Dr. Charles Liu Dr. Helen Boussalis. Handshaking Protocol. Handshaking Protocol. Flow of data: PC (Application)  USB Output  FPGA Input

norris
Download Presentation

Advanced Computers and Communications (ACC)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Advanced Computers and Communications (ACC) Student Assistants: Airs Lin AleksanderMilshteyn Gabriel Nunez Evan Tsai Faculty Advisors: Dr. Charles Liu Dr. Helen Boussalis NASA Grant URC NCC NNX08BA44A

  2. Handshaking Protocol NASA Grant URC NCC NNX08BA44A

  3. Handshaking Protocol • Flow of data: PC (Application)  USB Output  FPGA Input PC (Application)  USB Input  FPGA Output Begin End NASA Grant URC NCC NNX08BA44A

  4. Simple Parallel I/O • Processor writes data into output port • Processor reads data from input port • No latching of data • No indication that data has changed

  5. Strobe Synchronization Strobe – additional control signal accompanies the data Notifies the microcontroller when new data is ready at the input port Notifies external devices when new data is ready at an output port A latch asserts interrupt The microcontroller must read data before next input strobe occurs Problem: Data can be sent by input device without receiver being ready

  6. Handshaking Synchronization • A second control line is used • Form of acknowledgement or busy signal • Solves the problem of data being sent before the receiving end is ready • Potential race condition exist: Microcontroller is testing its Busy bit, prior to the Output Device asserting busy. • It forces Microcontroller to send another chunk of data to Output Device, since the busy signal has not reached it on time. Race Condition!

  7. Full Handshaking(Solving Race Condition) Uses both edges of the strobe and busy signals The Request for Data signal is held high when it is ready to accept new data from Input Device The Data Available signal is held high when Input Device is ready to send new data Based on two above conditions – Data Transfer occurs and Busy is asserted When the data recipient (Microcontroller) acknowledges receipt of data, the Request signal is lowered Input Device “learns” that data has been received, removes the data, and waits for the next data request

  8. EZ-USB Basic Block Diagram

  9. Custom Handshaking Interface (Ports Mode) NASA Grant URC NCC NNX08BA44A

  10. WriteToFPGA Mode NASA Grant URC NCC NNX08BA44A

  11. ReadFromFPGA Mode NASA Grant URC NCC NNX08BA44A

  12. Windows Application NASA Grant URC NCC NNX08BA44A

  13. Loop Test NASA Grant URC NCC NNX08BA44A

  14. Handshaking Block-DiagramFPGA Side NASA Grant URC NCC NNX08BA44A

  15. Handshaking WR Mode (Encoding) NASA Grant URC NCC NNX08BA44A

  16. Handshaking WR Mode (Encoding) NASA Grant URC NCC NNX08BA44A

  17. Handshaking RD Mode (Encoding) NASA Grant URC NCC NNX08BA44A

  18. Handshaking RD Mode (Encoding) NASA Grant URC NCC NNX08BA44A

  19. 1.https://www.youtube.com/watch?v=b1NyAS7qjpU - Handshaking Protocol - Project Steps (2013) 2.https://www.youtube.com/watch?v=fvHS-Rn9Syk - Compiling and Debugging of Cypress FX2 Board & Encoding/Decoding Application NASA Grant URC NCC NNX08BA44A

More Related