HOME  |  NEWS  |  BLOGS  |  MESSAGES  |  FEATURES  |  VIDEOS  |  WEBINARS  |  INDUSTRIES  |  FOCUS ON FUNDAMENTALS
  |  REGISTER  |  LOGIN  |  HELP
Comment
Christian Légaré
User Rank
Blogger
Re: Nov 28 - Day 3: Understanding the USB Protocol
Christian Légaré   11/28/2012 2:45:30 PM
NO RATINGS
When an application sends N bytes how does the peer know when the entire application packet has been received?

Good question!

As you saw from the packets, there are not "length of transfer" So, USB uses what is called a Zero Length Packet «)ZLP). If a packet received is smaller than the Maximium packet size for the transfer  mode at a certain speed, than it knows that is was the last packet. Otherwise, the transmitter has to send a ZLP to signel the end of the transfer.

 



Partner Zone
Latest Analysis
A team from MIT's Computer Science and Artificial Intelligence Lab (CSAIL) has developed a breakthrough new multi-material 3D printer.
The trend to automation development software emphasizing configurable objects, versus structured programming, takes a step forward.
Everyone working in MEMS is chasing the ever-elusive golden wafer. But there is a moral to this story, and help is on the way.
Despite pervasive emphasis on “faster, sooner, better,” companies that have multiple design cycles a year only update their approved vendor lists on an annual basis. Maybe it's time to rethink this.
Taking energy from renewable sources, recycling existing energy, and using components that don’t need much energy at all are becoming critical industrial and consumer design criteria.
More:Blogs|News
Design News Webinar Series
8/13/2015 11:00 a.m. California / 2:00 p.m. New York
6/25/2015 11:00 a.m. California / 2:00 p.m. New York
6/24/2015 11:00 a.m. California / 2:00 p.m. New York
6/11/2015 11:00 a.m. California / 2:00 p.m. New York
Quick Poll
The Continuing Education Center offers engineers an entirely new way to get the education they need to formulate next-generation solutions.
Aug 31 - Sep4, Embedded System Design Techniques™ - Writing Portable and Robust Firmware in C
SEMESTERS: 1  |  2  |  3  |  4  |  5  |  6 |  7


Focus on Fundamentals consists of 45-minute on-line classes that cover a host of technologies. You learn without leaving the comfort of your desk. All classes are taught by subject-matter experts and all are archived. So if you can't attend live, attend at your convenience.
Learn More   |   Login   |   Archived Classes
Twitter Feed
Design News Twitter Feed
Like Us on Facebook

Sponsored Content

Technology Marketplace

Copyright © 2015 UBM Canon, A UBM company, All rights reserved. Privacy Policy | Terms of Service